Skip to content
1 min read · 79 words

Interface: OllamaEmbeddingsRuntimeOptions ​

Defined in: src/batteries/embeddings/ollama/types.ts:28

Runtime options for Ollama's /api/embed endpoint. These map directly to the options field in the Ollama request body.

Properties ​

PropertyTypeDescriptionDefined in
num_ctx?numberContext size override for the embedding model.src/batteries/embeddings/ollama/types.ts:30
num_thread?numberNumber of threads to use for inference.src/batteries/embeddings/ollama/types.ts:32