-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
63 lines (51 loc) · 1.58 KB
/
.env.example
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
# ELEVENLABS VOICE ID'S - add your own voice id's
VOICE1=111111111111
VOICE2=111111111111
# AI Model Settings - xai, anthropic
AI_PROVIDER=anthropic
# model name: grok-beta, claude-3-5-sonnet-latest
MODEL_NAME=claude-3-5-sonnet-latest
# Podcast Generation Settings
# Minimum number of back-and-forth exchanges
MIN_EXCHANGES=4
# Maximum number of exchanges
MAX_EXCHANGES=20
# Minimum words per exchange
EXCHANGE_LENGTH_MIN_WORDS=20
# Maximum words per exchange
EXCHANGE_LENGTH_MAX_WORDS=150
# Audio Length Control
# Target length for final podcast (in minutes)
TARGET_LENGTH_MINUTES=3
# Allowed deviation from target (20% = ±36 seconds for 3 min target)
LENGTH_FLEXIBILITY=0.2
# Target output length as ratio of source (0.2 = 20% of original)
SOURCE_LENGTH_RATIO=0.2
# Minimum podcast length in minutes
MIN_PODCAST_LENGTH=2
# Minimum podcast length in minutes
MAX_PODCAST_LENGTH=5
# Maximum podcast length in minutes
# Content Coverage
# comprehensive, summary, or highlights, humor, emotional, debate, simple
COVERAGE_STYLE=highlights
# Enable AI fact checking
FACT_CHECK_ENABLED=false
# balanced, critical, or supportive
FACT_CHECK_STYLE=balanced
# Model Settings
TEMPERATURE=0.7
MAX_TOKENS=8192
LOGGING_LEVEL=DEBUG
# Output Directory
OUTPUT_DIR=output
# ANTHROPIC API KEY
ANTHROPIC_API_KEY=your_key_here
# ELEVENLABS API KEY
ELEVENLABS_API_KEY=your_key_here
# For XAI
XAI_BASE_URL=https://api.x.ai
XAI_API_KEY=your_xai_key
# Frontend configuration
# if access on other machine on network change to actual server ip and make sure it is in CORS in api.py
VITE_API_URL=http://localhost:5000