Configuration for Ollama embedding provider

interface OllamaEmbeddingProviderConfig {
    model: string;
    baseUrl?: string;
    dimensions?: number;
}

Properties

model: string

The embedding model to use. Popular options: "nomic-embed-text", "mxbai-embed-large", "all-minilm"

baseUrl?: string

Base URL for Ollama API. Default: "http://localhost:11434"

dimensions?: number

Embedding dimensions for the model. If not provided, will be detected from first embedding call.