-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 730 Bytes
/
.env.example
File metadata and controls
26 lines (21 loc) · 730 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
# xMemory Framework environment variables
# Database
XMEMORY_DB_URL=postgresql://user:password@localhost:5432/xmemory
# LLM for fact extraction (retain)
XMEMORY_LLM_PROVIDER=openai
XMEMORY_LLM_MODEL=gpt-4o-mini
XMEMORY_LLM_API_KEY=sk-your-api-key
XMEMORY_LLM_BASE_URL=https://api.openai.com/v1
# Embedding model
XMEMORY_EMBED_PROVIDER=openai
XMEMORY_EMBED_MODEL=text-embedding-3-small
XMEMORY_EMBED_DIMENSIONS=384
# Reranker (optional, improves recall quality)
XMEMORY_RERANKER_PROVIDER=local
XMEMORY_RERANKER_MODEL=cross-encoder/ms-marco-MiniLM-L-6-v2
# Memory settings
XMEMORY_CONFIDENCE_THRESHOLD=0.3
XMEMORY_DEDUP_THRESHOLD=0.92
XMEMORY_ARCHIVE_DAYS=30
XMEMORY_MAX_COMPLETION_TOKENS=16000
XMEMORY_EXTRACTION_MODE=concise