Spaces:
Sleeping
Sleeping
File size: 2,021 Bytes
3786a3f db4d559 3786a3f db4d559 3786a3f db4d559 3786a3f db4d559 3786a3f db4d559 3786a3f db4d559 feca495 3786a3f db4d559 3786a3f db4d559 | 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 | # ============================================================
# Django Core Configuration
# ============================================================
SECRET_KEY=replace-with-a-real-50-char-random-key
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1,backend
# ============================================================
# Main Database (SQLite or PostgreSQL)
# ============================================================
DB_ENGINE=sqlite
# For PostgreSQL, set DB_ENGINE=postgres and fill below:
# DB_NAME=graphrag
# DB_USER=postgres
# DB_PASSWORD=your-password
# DB_HOST=localhost
# DB_PORT=5432
# ============================================================
# Neo4j Graph Database
# ============================================================
# Local Docker: bolt://localhost:7687
# Neo4j Aura: bolt://xxx.databases.neo4j.io
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
# ============================================================
# Vector Database (ChromaDB)
# ============================================================
# Mode: local (folder on disk) or cloud (Chroma Cloud)
CHROMADB_MODE=local
CHROMADB_DIR=chroma_db
# For Chroma Cloud, set CHROMADB_MODE=cloud and fill below:
# CHROMADB_HOST=api.chroma.com
# CHROMADB_PORT=8000
# ============================================================
# LLM Providers (at least one required)
# ============================================================
NVIDIA_API_KEY=your_nvidia_nim_api_key_here
NVIDIA_MODEL=meta/llama-3.1-70b-instruct
GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama-3.3-70b-versatile
GOOGLE_API_KEY=your_gemini_api_key_here
GOOGLE_MODEL=gemini-2.0-flash
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-4o-mini
# ============================================================
# LangSmith Observability & Tracing (Optional)
# ============================================================
LANGCHAIN_TRACING_V2=false
LANGCHAIN_API_KEY=your_langsmith_api_key_here
LANGCHAIN_PROJECT=graphrag-knowledge-ai
|