Skip to content
masterclass Buddy

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.

Subscribe
  • Embeddings
  • Ollama
  • embed_query
  • embed_documents
  • aembed_query
  • aembed_documents

Source: OllamaEmbeddings | langchain_ollama. Checked 2026-11-03.