Spaces:
Running
Running
# Neo4j Credentials | |
NEO4J_URI="neo4j+s://4985272f.databases.neo4j.io" | |
NEO4J_USERNAME="neo4j" | |
NEO4J_PASSWORD="xxx" # Replace with your actual password | |
# API Keys | |
OPENAI_API_KEY="sk-xxx" # Replace if using OpenAI models | |
GEMINI_API_KEY="xxx" # Replace with your actual key | |
LANGSMITH_API_KEY="lsv2_pt_xxx" # Replace with your actual key (optional but recommended for tracing) | |
LANGCHAIN_PROJECT="KIG_Refactored" # Optional: For LangSmith tracing | |
# LLM Configuration | |
MAIN_LLM_MODEL="gemini-2.0-flash" # Or another preferred model | |
EVAL_LLM_MODEL="gemini-2.0-flash" | |
SUMMARIZE_LLM_MODEL="gemini-2.0-flash" | |
# Planner Configuration | |
PLAN_METHOD="generation" # or "modification" | |
USE_DETAILED_QUERY="false" # or "true" | |
# Graph Operations Configuration | |
CYPHER_GEN_METHOD="guided" # or "auto" | |
VALIDATE_CYPHER="false" # or "true" | |
EVAL_METHOD="binary" # or "score" | |
EVAL_THRESHOLD="0.7" | |
MAX_DOCS="10" | |
# Processing Configuration | |
# Define processing steps as a JSON string or handle differently if complex needed | |
PROCESS_STEPS='["summarize"]' # Example: Just summarize | |
COMPRESSION_METHOD="llm_lingua" # if used | |
COMPRESS_RATE="0.5" # if used | |
# Add other parameters as needed |