-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
70 lines (54 loc) · 2.53 KB
/
.env.example
File metadata and controls
70 lines (54 loc) · 2.53 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
# Graflow Environment Variables
# Copy this file to .env and fill in your values
# ============================================================================
# LLM Configuration
# ============================================================================
# Default LLM model for auto-created LLMClient instances
# Used when ExecutionContext.llm_client is accessed without explicit initialization
# Supported models: gpt-5-mini, gpt-4o, claude-3-5-sonnet-20241022, etc.
# Default: gpt-5-mini
GRAFLOW_LLM_MODEL=gpt-5-mini
# ============================================================================
# LLM API Keys
# ============================================================================
# OpenAI API Key (required for GPT models)
# Get your key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-...
# Anthropic API Key (required for Claude models)
# Get your key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=sk-ant-...
# Google AI API Key (required for Gemini models)
# Get your key from: https://ai.google.dev/
GOOGLE_API_KEY=...
# ============================================================================
# Langfuse Tracing (Optional)
# ============================================================================
# Langfuse integration for LLM observability and tracing
# Get your credentials from: https://cloud.langfuse.com or self-hosted instance
# Langfuse public API key (required for Langfuse tracing)
LANGFUSE_PUBLIC_KEY=pk-lf-...
# Langfuse secret API key (required for Langfuse tracing)
LANGFUSE_SECRET_KEY=sk-lf-...
# Langfuse host URL (optional)
# Default: https://cloud.langfuse.com
# Use this if you're running a self-hosted Langfuse instance
# LANGFUSE_HOST=http://localhost:3000
# ============================================================================
# Redis Configuration (Optional - for distributed execution)
# ============================================================================
# Redis connection settings for distributed task queues and channels
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_DB=0
# REDIS_PASSWORD=
# ============================================================================
# Example-Specific Variables (for examples/gpt_newspaper)
# ============================================================================
# Tavily API Key (for web search in newspaper example)
# Get your key from: https://tavily.com
# TAVILY_API_KEY=tvly-...
# Newspaper example configuration
# GPT_NEWSPAPER_MODEL=gpt-4o-mini
# MAX_CRITIQUE_ITERATIONS=5
# NEWSPAPER_LAYOUT=layout_1.html
# OUTPUT_DIR=outputs