-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
64 lines (51 loc) · 1.73 KB
/
Copy path.env.example
File metadata and controls
64 lines (51 loc) · 1.73 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
60
61
62
63
64
# =============================================
# Cognee Configuration (inherited by CortexBrain)
# =============================================
# See Cognee docs: https://docs.cognee.ai/
# LLM Provider — Cognee uses litellm under the hood
LLM_API_KEY=AIz
LLM_MODEL=gemini/gemini-2.0-flash
LLM_PROVIDER=gemini
# Graph Database — Neo4j (Cognee's graph store, also our M_s)
GRAPH_DATABASE_PROVIDER=neo4j
GRAPH_DATABASE_URL=bolt://localhost:7687
GRAPH_DATABASE_NAME=neo4j
GRAPH_DATABASE_USERNAME=neo4j
GRAPH_DATABASE_PASSWORD=cortexbrain_dev
# Vector Database — Qdrant (Cognee's vector store, also our M_r)
VECTOR_DB_PROVIDER=qdrant
VECTOR_DB_URL=http://localhost:6333
# Relational Database — Cognee's internal metadata
DB_PROVIDER=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=cortexbrain
DB_PASSWORD=cortexbrain_dev
DB_NAME=cognee_db
# =============================================
# CortexBrain-Specific Configuration
# =============================================
# M_a (Active Memory) — Redis
REDIS_URL=redis://localhost:6379/0
# M_meta (Meta Memory) — PostgreSQL (separate from Cognee's DB)
POSTGRES_URL=postgresql+asyncpg://cortexbrain:cortexbrain_dev@localhost:5432/cortexbrain
# --- Activation Engine ---
ACTIVATION_THRESHOLD=30
DAMPENING_FACTOR=0.5
MAX_CONTEXT_TOKENS=2000
# --- Decay Engine ---
DECAY_RATE=10
DECAY_INTERVAL_SECONDS=30
# --- Confidence Thresholds ---
CONFIDENCE_HIGH=0.8
CONFIDENCE_MEDIUM=0.5
# --- Salience Weights ---
SALIENCE_WEIGHT_ACCESS_FREQ=0.4
SALIENCE_WEIGHT_RECENCY=0.3
SALIENCE_WEIGHT_CORRECTION_COUNT=0.2
SALIENCE_WEIGHT_EDGE_COUNT=0.1
# --- API ---
API_RATE_LIMIT_PER_MINUTE=100
# --- Celery (Background Jobs) ---
CELERY_BROKER_URL=redis://localhost:6379/1
CELERY_RESULT_BACKEND=redis://localhost:6379/2