-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
88 lines (73 loc) · 2.25 KB
/
.env.example
File metadata and controls
88 lines (73 loc) · 2.25 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# override this to your own model config toml
LITELLM_CONFIG_PATH=./credentials/model.config.example.toml
# Azure OpenAI Configuration (Legacy)
AZURE_OPENAI_MODEL=your_model_name_here # e.g., o3-mini-deep-research
AZURE_OPENAI_ENDPOINT=https://your-resource-name.cognitiveservices.azure.com/
AZURE_OPENAI_API_KEY=your_api_key_here
AZURE_OPENAI_API_VERSION=2024-12-01-preview
# Primary Model Configuration
MODEL_NAME=your_model_name # e.g., gpt-4o-2
MODEL_ENDPOINT=https://your-model-endpoint.openai.azure.com
MODEL_API_KEY=your_model_api_key
MODEL_API_VERSION=2025-01-01-preview
# Hugging Face Token
HF_TOKEN=your_huggingface_token
# AWS SES Configuration
AWS_REGION=your_aws_region # e.g., ap-south-1
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
SENDER_EMAIL=your_sender_email@domain.com
# External Services
JINA_API_KEY="YOUR_JINA_API_KEY" # Leave blank if not using deep research
BRAVE_SEARCH_API_KEY=""
RAPIDAPI_KEY=""
# LLM Routing Configuration
# GPT-4o-mini Instance 1
GPT4O_1_NAME=
GPT4O_1_ENDPOINT=
GPT4O_1_API_KEY=
GPT4O_1_API_VERSION=
GPT4O_1_WEIGHT=
# O3 Mini (Reasoning Model)
O3_MINI_NAME=
O3_MINI_ENDPOINT=
O3_MINI_API_KEY=
O3_MINI_API_VERSION=
O3_MINI_WEIGHT=
# GPT-4.1 Instance 2
GPT41_MINI_NAME=
GPT41_MINI_ENDPOINT=
GPT41_API_KEY=
GPT41_API_VERSION=
GPT41_WEIGHT=
# Supabase Configuration
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
WHITELIST_SIGNUP_URL=your_whitelist_signup_url # e.g., https://yourdomain.com/
FRONTEND_URL=https://mxtoai.com/
# Server Configuration
PORT=8000
HOST=0.0.0.0
LOG_LEVEL=INFO
IS_PROD=false
X_API_KEY=your_api_key
# Optional: Google Search API Keys (choose one or both)
# Get from https://serpapi.com/
SERPAPI_API_KEY="" # Replace with your SerpApi key if using
# Get from https://serper.dev/
SERPER_API_KEY="" # Replace with your Serper key if using
# Optional: Sentry for error tracking
# SENTRY_DSN="YOUR_SENTRY_DSN"
# RabbitMQ Configuration (Broker)
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_VHOST=/
RABBITMQ_HEARTBEAT=60 # Default heartbeat interval in seconds
# Redis Configuration (Results Backend)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=