-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 2.2 KB
/
Copy path.env.example
File metadata and controls
62 lines (52 loc) · 2.2 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
# =============================================================================
# AdaGraphRAG environment configuration template.
# Copy this file to ".env" and fill in real values. Never commit the real ".env".
# =============================================================================
# --- Application environment ---
# One of: "development", "testing", "production"
ADAGRAPHRAG_ENV=development
# Only needed for non-editable/production installs (e.g., inside the Docker
# image) where the installed package's file location is decoupled from the
# repository root. Leave unset for local development -- the config loader
# finds the project root automatically by walking up from this file.
# ADAGRAPHRAG_PROJECT_ROOT=/app
# --- LLM Provider ---
# One of: "openai", "gemini", "huggingface"
LLM_PROVIDER=openai
OPENAI_API_KEY=sk-your-openai-key-here
OPENAI_MODEL_NAME=gpt-4o-mini
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
# Used only when LLM_PROVIDER=gemini. Free tier, no credit card:
# get a key at https://aistudio.google.com/apikey
#
# IMPORTANT: use a "flash-lite" model here, not the newest preview "flash"
# model. Google's newest preview-tier Gemini models (e.g. gemini-3.6-flash)
# ship with very restrictive free-tier caps (as low as 20 requests/day),
# which a graph-construction pipeline like this one burns through indexing
# even a handful of short documents. Flash-Lite tiers get a much more
# generous free daily quota. Verify current limits for your key at
# https://aistudio.google.com/apikey -> "Rate limits" before changing this.
GEMINI_API_KEY=your-gemini-key-here
GEMINI_MODEL_NAME=gemini-3.5-flash-lite
GEMINI_EMBEDDING_MODEL=gemini-embedding-001
# Used only when LLM_PROVIDER=huggingface
HF_MODEL_NAME=meta-llama/Meta-Llama-3-8B-Instruct
HF_DEVICE=cuda
# --- Vector Store (Qdrant) ---
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_COLLECTION_NAME=adagraphrag_chunks
QDRANT_API_KEY=
# --- Graph Store (Neo4j) ---
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=please-change-me
NEO4J_DATABASE=neo4j
# --- Experiment tracking (MLflow) ---
MLFLOW_TRACKING_URI=./experiments/run_logs/mlflow
# --- API server ---
API_HOST=0.0.0.0
API_PORT=8000
# --- Logging ---
LOG_LEVEL=INFO
LOG_FORMAT=json