Overview
Ollama allows you to run embedding models locally on your machine with no API costs.Quick Start
CLI Usage
Setup
- Install Ollama: https://ollama.ai
- Pull an embedding model:
Available Models
Dimensions are auto-detected. As of PR #4802 PraisonAI resolves Ollama model dimensions automatically —
nomic-embed-text → 768, all-minilm → 384, mxbai-embed-large → 1024. Provider prefixes and version tags (ollama/nomic-embed-text:v1.5) are stripped before lookup, so they size the same as the bare tag. Vector stores built through PraisonAI size their indexes to match the model.Custom API Base
Batch Embeddings
Using Ollama embeddings for memory / knowledge
Point agent memory or knowledge at a local Ollama embedder with the sameembedder block used across PraisonAI:

