Refactor: Move backend files to backend/ directory and split .gitignore
This commit is contained in:
56
backend/.env.example
Normal file
56
backend/.env.example
Normal file
@@ -0,0 +1,56 @@
|
||||
# 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
|
||||
|
||||
# Security & JWT Configuration
|
||||
SECRET_KEY=change-me-in-production
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user