Repository navigation
Expand file tree
/
Copy pathenv.example
More file actions
64 lines (56 loc) · 2.64 KB
/
Copy pathenv.example
File metadata and controls
64 lines (56 loc) · 2.64 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
# AI Agents Demo - Environment Variables Configuration
# Copy this file to .env and fill in your API keys
# ============================================
# Azure OpenAI Configuration (Recommended)
# ============================================
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
AZURE_OPENAI_DEPLOYMENT=your_deployment_name
AZURE_OPENAI_API_VERSION=2024-02-15-preview
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-ada-002
# ============================================
# Standard OpenAI Configuration (Alternative)
# ============================================
# Use this if you're not using Azure OpenAI
# OPENAI_API_KEY=your_openai_api_key_here
# OPENAI_MODEL=gpt-4-turbo-preview
# OPENAI_VISION_MODEL=gpt-4o # Optional: Separate model for vision API (defaults to OPENAI_MODEL or gpt-4o)
# ============================================
# OpenAI Default Provider Configuration
# ============================================
# When using createAIClient('openai'), this determines which client to use:
# - 'azure-openai': Use Azure OpenAI (default)
# - 'openai-standard': Use standard OpenAI (non-Azure)
# This allows switching between Azure and Standard OpenAI without code changes
# OPENAI_DEFAULT_PROVIDER=azure-openai
# ============================================
# Anthropic Claude Configuration (Optional)
# ============================================
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# CLAUDE_MODEL=claude-sonnet-4-5-20250929
# ============================================
# Optional: ChromaDB Configuration
# ============================================
# CHROMA_PERSIST_DIR=./chroma_db
# ============================================
# Optional: Langfuse Configuration (Observability)
# ============================================
# Get keys from https://cloud.langfuse.com
# LANGFUSE_SECRET_KEY=sk-lf-...
# LANGFUSE_PUBLIC_KEY=pk-lf-...
# LANGFUSE_HOST=https://cloud.langfuse.com
# ============================================
# Optional: Logging Configuration
# ============================================
# LOG_LEVEL=INFO # DEBUG, INFO, WARN, ERROR, NONE
# LOG_FORMAT=text # text or json
# ============================================
# Notes:
# ============================================
# - At minimum, you need either Azure OpenAI OR standard OpenAI API key
# - Claude API key is optional but enables Claude examples
# - Azure OpenAI is recommended for enterprise use
# - Get your keys from:
# - Azure OpenAI: https://azure.microsoft.com/en-us/products/ai-services/openai-service
# - OpenAI: https://platform.openai.com/api-keys
# - Anthropic: https://console.anthropic.com/