-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (47 loc) · 1.88 KB
/
Copy path.env.example
File metadata and controls
56 lines (47 loc) · 1.88 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
# Kotori Bot Environment Configuration
# Copy this file to .env and update the values
# ==============================================
# Azure OpenAI Configuration (Required)
# ==============================================
AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
AZURE_OPENAI_ENDPOINT=https://your-resource-name.openai.azure.com/
AZURE_OPENAI_DEPLOYMENT_NAME=your_deployment_name
AZURE_OPENAI_API_VERSION=2024-02-01
AZURE_MODEL_NAME=o4-mini
# ==============================================
# Application Insights (Optional)
# ==============================================
APPLICATIONINSIGHTS_CONNECTION_STRING=your_application_insights_connection_string
# ==============================================
# Backend Configuration
# ==============================================
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8000
DEBUG_MODE=true
# ==============================================
# Frontend Configuration
# ==============================================
FRONTEND_URL=http://localhost:3000
REACT_APP_API_URL=http://localhost:8000/api
# ==============================================
# Development Settings
# ==============================================
# Set to true for development, false for production
DEV_MODE=true
# WebSocket configuration
WEBSOCKET_PATH=/ws
# ==============================================
# INSTRUCTIONS
# ==============================================
# 1. Copy this file to .env in the root directory
# 2. Update all the values with your actual credentials
# 3. Never commit the .env file to version control
# 4. Restart the backend after making changes
# Azure OpenAI Setup:
# 1. Go to https://portal.azure.com
# 2. Create an Azure OpenAI resource
# 3. Deploy a GPT-4 model
# 4. Get the endpoint, API key, and deployment name
# 5. Update the values above
# For Application Insights (optional):
# 1. See https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/tracing