Files
ea-chatbot-lg/.env.example

52 lines
1.3 KiB
Plaintext

# API Keys
OPENAI_API_KEY=your_openai_api_key_here
GOOGLE_API_KEY=your_google_api_key_here
# App Configuration
DATA_DIR=data
DATA_STATE=new_jersey
LOG_LEVEL=INFO
DEV_MODE=false
# Voter Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=blockdata
DB_USER=user
DB_PSWD=password
DB_TABLE=rd_gc_voters_nj
# Application/History Database Configuration
HISTORY_DB_URL=postgresql://user:password@localhost:5433/ea_history
# OIDC Configuration (Authentik/SSO)
OIDC_CLIENT_ID=your_client_id
OIDC_CLIENT_SECRET=your_client_secret
OIDC_SERVER_METADATA_URL=https://your-authentik.example.com/application/o/ea-chatbot/.well-known/openid-configuration
OIDC_REDIRECT_URI=http://localhost:8501
# Node Configuration Overrides (Optional)
# Format: <NODE_NAME>_LLM__<PARAMETER>
# Possible parameters: PROVIDER, MODEL, TEMPERATURE, MAX_TOKENS
# Query Analyzer
# QUERY_ANALYZER_LLM__PROVIDER=openai
# QUERY_ANALYZER_LLM__MODEL=gpt-5-mini
# QUERY_ANALYZER_LLM__TEMPERATURE=0.0
# Planner
# PLANNER_LLM__PROVIDER=openai
# PLANNER_LLM__MODEL=gpt-5-mini
# Coder
# CODER_LLM__PROVIDER=openai
# CODER_LLM__MODEL=gpt-5-mini
# Summarizer
# SUMMARIZER_LLM__PROVIDER=openai
# SUMMARIZER_LLM__MODEL=gpt-5-mini
# Researcher
# RESEARCHER_LLM__PROVIDER=google
# RESEARCHER_LLM__MODEL=gemini-2.0-flash