-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
55 lines (43 loc) · 2.3 KB
/
Copy pathenv.example
File metadata and controls
55 lines (43 loc) · 2.3 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
# AI Workshop - Environment Variables
# Copy this file to .env and fill in your API keys
# ============================================================================
# REQUIRED: At least ONE of these API keys is required
# ============================================================================
# Google AI (Gemini) - Get free key at: https://aistudio.google.com/apikey
# Required for: All notebooks (default model)
GOOGLE_API_KEY=your-google-api-key-here
# OpenAI - Get key at: https://platform.openai.com/api-keys
# Optional: Use if you want to test with GPT-4o, GPT-4o-mini, etc.
OPENAI_API_KEY=your-openai-api-key-here
# Anthropic (Claude) - Get key at: https://console.anthropic.com/
# Optional: Use if you want to test with Claude models
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# ============================================================================
# MODEL CONFIGURATION
# ============================================================================
# Default model to use across all notebooks
# Examples:
# - gemini/gemini-2.5-flash (Google - free tier available)
# - gpt-4o (OpenAI - paid)
# - gpt-4o-mini (OpenAI - paid, cheaper)
# - claude-3-5-sonnet-20241022 (Anthropic - paid)
# - openrouter/google/gemini-2.0-flash-exp:free (OpenRouter - free)
DEFAULT_MODEL=gemini/gemini-2.5-flash
# ============================================================================
# OPTIONAL: OpenRouter (Alternative to direct API keys)
# ============================================================================
# OpenRouter - Get key at: https://openrouter.ai/
# Provides access to multiple models through one API
# OPENROUTER_API_KEY=your-openrouter-api-key-here
# ============================================================================
# NOTES
# ============================================================================
# 1. For beginners: Just set GOOGLE_API_KEY (free tier available)
# 2. For multi-provider testing: Set multiple API keys
# 3. Keep your API keys secret - never commit .env to git!
# ============================================================================
# GETTING STARTED
# ============================================================================
# 1. Copy this file: cp env.example .env
# 2. Add your API key(s) to .env
# 3. Run notebooks - they'll automatically load from .env