-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
55 lines (45 loc) · 1.72 KB
/
.env.example
File metadata and controls
55 lines (45 loc) · 1.72 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
53
54
55
# mem0-mcp-selfhosted environment variables
# Copy to .env and fill in values. Never commit .env with real secrets.
# --- LLM Provider ---
# MEM0_LLM_PROVIDER=anthropic # anthropic | ollama
# MEM0_LLM_MODEL=claude-opus-4-6 # Model name (default depends on provider)
# MEM0_LLM_MAX_TOKENS=16384
# MEM0_LLM_URL=http://localhost:11434 # Ollama base URL (only for ollama provider)
# --- Anthropic Auth (pick one) ---
# MEM0_ANTHROPIC_TOKEN= # OAuth/OAT token (highest priority)
# ANTHROPIC_API_KEY= # Standard API key (fallback)
# --- Embedder ---
# MEM0_EMBED_PROVIDER=ollama
# MEM0_EMBED_MODEL=bge-m3
# MEM0_EMBED_URL=http://localhost:11434
# MEM0_EMBED_DIMS=1024
# --- Vector Store (Qdrant) ---
# MEM0_QDRANT_URL=http://localhost:6333
# MEM0_COLLECTION=mem0_mcp_selfhosted
# MEM0_QDRANT_API_KEY=
# MEM0_QDRANT_ON_DISK=false
# --- Graph Store (Neo4j) ---
# MEM0_ENABLE_GRAPH=false
# MEM0_NEO4J_URL=bolt://127.0.0.1:7687
# MEM0_NEO4J_USER=neo4j
# MEM0_NEO4J_PASSWORD=mem0graph
# MEM0_NEO4J_DATABASE=
# MEM0_NEO4J_BASE_LABEL=
# MEM0_GRAPH_THRESHOLD=0.7
# --- Graph LLM ---
# MEM0_GRAPH_LLM_PROVIDER=anthropic # anthropic | ollama | gemini | gemini_split
# MEM0_GRAPH_LLM_MODEL= # Defaults to MEM0_LLM_MODEL
# MEM0_GRAPH_LLM_URL= # Defaults to MEM0_LLM_URL (ollama only)
# --- Gemini (for graph LLM) ---
# GOOGLE_API_KEY=
# --- Split-model Graph LLM (gemini_split) ---
# MEM0_GRAPH_CONTRADICTION_LLM_PROVIDER=anthropic
# MEM0_GRAPH_CONTRADICTION_LLM_MODEL=
# --- Server ---
# MEM0_HOST=0.0.0.0
# MEM0_PORT=8081
# MEM0_TRANSPORT=stdio # stdio | sse | streamable-http
# MEM0_LOG_LEVEL=INFO
# --- Memory Defaults ---
# MEM0_USER_ID=default
# MEM0_HISTORY_DB_PATH=