Spaces:
Sleeping
Sleeping
Fix: Resolve 0-entity extraction error by adding NVIDIA LLM integration and robust error handling
feca495 | # ============================================================ | |
| # 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 | |