Files
langchaingo/embeddings/doc.go
Eli Bendersky 357a3b5d3b embeddings: add example of proper usage, and tweak doc.go accordingly (#393)
* embeddings: add example of proper usage, and tweak doc.go accordingly

For #379

* Appease lint and add comment
2023-12-04 22:38:29 -08:00

15 lines
417 B
Go

/*
Package embeddings contains helpers for creating vector embeddings from text
using different providers.
The main components of this package are:
- [Embedder] interface: a common interface for creating vector embeddings
from texts, with optional batching.
- [NewEmbedder] creates implementations of [Embedder] from provider LLM
(or Chat) clients.
See the package example below.
*/
package embeddings