bluememo

Embedder

Turns text into vectors for the vector and trigger lanes.

type Embedder interface {
	EmbedQuery(ctx context.Context, text string) ([]float32, error)
	EmbedDocuments(ctx context.Context, texts []string) ([][]float32, error)
}

Every stored vector records EmbeddingModel. Vectors from another model never rank; Reembed moves memories and trigger phrases onto the current model in batches, and until it runs those memories answer through the text lane.