-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.01 KB
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
# Environment configuration example
# Copy this file to .env for local development or env.test for testing
# Database configuration
DATABASE_URL=postgresql://<username>:<pass>@localhost:5432/<chatbot_db_name>
# AWS configuration
AWS_REGION=us-east-1
AWS_PROFILE_NAME=default
# Uncomment and set this to use role-based authentication (recommended for production)
# AWS_ROLE_ARN=arn:aws:iam::123456789012:role/your-role-name
# Bedrock configuration
BEDROCK_MODEL_ID=anthropic.claude-v2
BEDROCK_KNOWLEDGE_BASE_ID=your_knowledge_base_id
# Logging
LOGGING_LEVEL=INFO
LOGGING_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s [in %(pathname)s:%(lineno)d]"
LOGGING_LOCATION=backend_logs.log
LOG_TO_FILE=true
# API configuration
API_URL=http://localhost:8000
# Testing flag (set to true for test environments)
TESTING=false
# LangSmith configuration (for LLM observability)
LANGCHAIN_API_KEY=your_langchain_api_key
LANGCHAIN_TRACING_V2=true
LANGCHAIN_PROJECT=your_project_name
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com