Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Embedder ¶
type Embedder struct {
// contains filtered or unexported fields
}
Embedder batches text → []float32 vectors using an LLM provider.
func New ¶
New creates a new Embedder. If provider is nil (LLM disabled via provider=none), New returns nil. Callers must check for nil before use.
func (*Embedder) EmbedTexts ¶
EmbedTexts embeds a slice of texts using concurrent batches.
Click to show internal directories.
Click to hide internal directories.