Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangchainEmbedderAdapter ¶
LangchainEmbedderAdapter adapts our base embedder to the older langchaingo-compatible method set expected by Embedius indexer. It intentionally does not import the langchaingo package; Go's structural typing ensures compatibility at the call site.
func (LangchainEmbedderAdapter) EmbedDocuments ¶
func (a LangchainEmbedderAdapter) EmbedDocuments(ctx context.Context, texts []string) ([][]float32, error)
EmbedDocuments embeds multiple texts; returns only vectors.
func (LangchainEmbedderAdapter) EmbedQuery ¶
EmbedQuery embeds a single query string; returns a single vector.
Click to show internal directories.
Click to hide internal directories.