Integrations · Class
OllamaEmbeddings
OllamaEmbeddings uses an Ollama model to turn text into numeric vectors. It supports single texts, lists of documents, and asynchronous calls.
Last updated
- Since
- v1.0
Syntax
OllamaEmbeddings(model: str, dimensions: int | None = None, validate_model_on_init: bool = False, ...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
EmbeddingsOllamaembed_queryembed_documentsaembed_queryaembed_documents