-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy path.env.example
More file actions
55 lines (46 loc) · 1.96 KB
/
Copy path.env.example
File metadata and controls
55 lines (46 loc) · 1.96 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
# Environment Configuration Template
# Copy this file to .env and fill in your actual values
# =============================================================================
# LLM Provider Configuration
# =============================================================================
# The system supports automatic provider detection based on available API keys.
# Simply comment out the provider you don't want to use.
# Azure OpenAI Configuration (Option 1)
AZURE_OPENAI_API_KEY=your-azure-openai-api-key-here
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_API_VERSION=2024-02-15-preview
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4
# Google Gemini Configuration (Option 2)
# Comment out to disable Gemini and use only Azure OpenAI
GOOGLE_API_KEY=your_google_api_key_here
GEMINI_MODEL=gemini-pro
# =============================================================================
# Provider Selection Logic
# =============================================================================
# - If only AZURE_OPENAI_API_KEY is uncommented → Uses Azure OpenAI
# - If only GOOGLE_API_KEY is uncommented → Uses Google Gemini
# - If both are uncommented → Uses Azure OpenAI (prioritized)
# - No code changes needed, just comment/uncomment API keys above!
# Example Usage Scenarios:
#
# Scenario 1: Azure OpenAI Only
# AZURE_OPENAI_API_KEY=your-key
# # GOOGLE_API_KEY=your-key # commented out
#
# Scenario 2: Gemini Only
# # AZURE_OPENAI_API_KEY=your-key # commented out
# GOOGLE_API_KEY=your-key
#
# Scenario 3: Both Available (Azure prioritized)
# AZURE_OPENAI_API_KEY=your-key
# GOOGLE_API_KEY=your-key
# =============================================================================
# Application Configuration
# =============================================================================
# Database Configuration (optional)
DATABASE_URL=sqlite:///./test.db
# API Configuration
BACKEND_URL=http://localhost:8000
FRONTEND_URL=http://localhost:3000
DEBUG=true
LOG_LEVEL=INFO