-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathenv.ollama
More file actions
26 lines (22 loc) · 829 Bytes
/
Copy pathenv.ollama
File metadata and controls
26 lines (22 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Ollama Configuration Example
# Copy to project root as .env to use: cp docs/examples/env.ollama .env
# LLM API (Ollama - OpenAI-compatible chat endpoint)
MIMIR_LLM_API=http://ollama:11434
MIMIR_LLM_API_PATH=/v1/chat/completions
MIMIR_LLM_API_MODELS_PATH=/v1/models
MIMIR_LLM_API_KEY=dummy-key
# Embeddings API (Ollama - Native API format)
MIMIR_EMBEDDINGS_API=http://ollama:11434
MIMIR_EMBEDDINGS_API_PATH=/api/embeddings
MIMIR_EMBEDDINGS_API_MODELS_PATH=/api/tags
MIMIR_EMBEDDINGS_API_KEY=dummy-key
# Provider Configuration
MIMIR_DEFAULT_PROVIDER=ollama
MIMIR_DEFAULT_MODEL=qwen2.5-coder:14b
# Embeddings Configuration
MIMIR_EMBEDDINGS_ENABLED=true
MIMIR_EMBEDDINGS_PROVIDER=ollama
MIMIR_EMBEDDINGS_MODEL=mxbai-embed-large
MIMIR_EMBEDDINGS_DIMENSIONS=1024
MIMIR_EMBEDDINGS_CHUNK_SIZE=768
MIMIR_EMBEDDINGS_CHUNK_OVERLAP=10