This repository was archived by the owner on Jun 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.env.example
More file actions
59 lines (52 loc) · 2.12 KB
/
.env.example
File metadata and controls
59 lines (52 loc) · 2.12 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
56
57
58
59
# Google Gemini
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_MODEL=gemini-2.5-flash
# Groq (optional — ultra-low-latency LPU inference)
# GROQ_API_KEY=your_groq_api_key_here
# GROQ_MODEL=llama-3.3-70b-versatile
# LLM Settings
TEMPERATURE=0.3
FALLBACK_ORDER='["gemini"]'
# =============================================================================
# Vector Store Configuration (Pinecone)
# =============================================================================
PINECONE_API_KEY=your_pinecone_api_key_here
PINECONE_INDEX_NAME=xmem-longmem-10
PINECONE_NAMESPACE=default
PINECONE_DIMENSION=384
PINECONE_METRIC=cosine
PINECONE_CLOUD=aws
PINECONE_REGION=us-east-1
# EMBEDDING_MODEL=all-MiniLM-L6-v2
EMBEDDING_MODEL=gemini-embedding-001
# =============================================================================
# Database Configuration
# =============================================================================
# MongoDB (for sessions and user profiles)
MONGODB_URI=mongodb+srv://your_user:your_password@cluster.mongodb.net/
MONGODB_DATABASE=xmem
# Neo4j (for graph-based temporal/relational memory)
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password_here
# =============================================================================
# API Configuration
# =============================================================================
API_HOST=0.0.0.0
API_PORT=8000
CORS_ORIGINS='["http://localhost:3000", "http://localhost:5173"]'
RATE_LIMIT=60
# =============================================================================
# Authentication
# =============================================================================
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your-google_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/callback
JWT_SECRET_KEY=your_jwt_secret_key_here
JWT_ALGORITHM=HS256
JWT_EXPIRATION_DAYS=7
FRONTEND_URL=http://localhost:5173
# Dedicated Fernet key for encrypted v2 scanner credentials.
# Generate with:
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
XMEM_SECRET_ENCRYPTION_KEY=your_fernet_key_here