-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (20 loc) · 789 Bytes
/
.env.example
File metadata and controls
25 lines (20 loc) · 789 Bytes
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
# OpenAI API Configuration
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-key-here
# Model Configuration
# Available models: gpt-4o-2024-11-20, gpt-4o-mini, gpt-4o
DEFAULT_MODEL=gpt-4o-2024-11-20
EMBEDDING_MODEL=text-embedding-3-small
# Generation Settings
DEFAULT_TEMPERATURE=0.7
MAX_TOKENS=100
# Retrieval Settings
DEFAULT_RESULTS=5 # How many examples to retrieve
MIN_ENGAGEMENT=10 # Minimum engagement for examples
PREFER_MEDIA=false # Prefer examples with media
# Cost Controls
MAX_COST_PER_REQUEST=0.10 # Maximum $ per API call
WARN_ON_COST=0.02 # Warn if request exceeds this
# Tracking
ENABLE_TRACKING=true # Track generated tweets
AUTO_SAVE_FAVORITES=false # Auto-save high-scoring generations