-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (43 loc) · 1.78 KB
/
.env.example
File metadata and controls
52 lines (43 loc) · 1.78 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# MemoryOS Environment Configuration
# Copy to .env and customise
# =============================================================================
# Server
# =============================================================================
HOST=127.0.0.1
PORT=8765
DEBUG=false
# =============================================================================
# Storage
# =============================================================================
DATA_DIR=~/.memoryos
# Uncomment to use PostgreSQL instead of SQLite:
# DB_URL=postgresql+asyncpg://user:password@localhost:5432/memoryos
# =============================================================================
# Embeddings (local by default — no API key needed)
# =============================================================================
EMBEDDING_PROVIDER=local
EMBEDDING_MODEL=all-MiniLM-L6-v2
# =============================================================================
# Summarization LLM (priority: ollama -> groq -> openai)
# =============================================================================
SUMMARIZER_PROVIDER=ollama
# Ollama (local, recommended)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3
# Groq (cloud fallback, fast + generous free tier)
GROQ_API_KEY=
GROQ_MODEL=llama3-70b-8192
# OpenAI (optional)
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
# =============================================================================
# Features
# =============================================================================
AUTO_SUMMARIZE=true
AUTO_SUMMARIZE_THRESHOLD=500
IMPORTANCE_SCORING=true
DATA_RETENTION_DAYS=0 # 0 = keep forever
# =============================================================================
# Dashboard
# =============================================================================
DASHBOARD_PORT=3000