Skip to content

Embeddings

Embedding models convert text into vector representations for similarity search and RAG.

Available Providers

Name Description
ollama Locally-hosted models via Ollama (Llama, Mistral, etc.)

Ollama Embeddings

forage.myAgent.agent.embeddings.kind=ollama
forage.myAgent.agent.embeddings.model.name=nomic-embed-text
forage.myAgent.agent.embeddings.base.url=http://localhost:11434
Property Description Type Default Required
forage.ollama.embedding.model.base.url The base URL of the Ollama server string http://localhost:11434
forage.ollama.embedding.model.name The Ollama model to use string llama3
forage.ollama.embedding.model.timeout Used for the HttpClientBuilder that will be used to communicate with Ollama Duration
forage.ollama.embedding.model.max.retries Used for the HttpClientBuilder that will be used to communicate with Ollama int

Advanced

Property Description Type Default Required
forage.ollama.embedding.model.log.requests Enable request logging boolean
forage.ollama.embedding.model.log.responses Enable response logging boolean