-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 2.09 KB
/
.env.example
File metadata and controls
59 lines (49 loc) · 2.09 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
# Athena Voice Assistant Environment Variables
# API Keys
GROQ_API_KEY=your_groq_api_key_here
OPENWEATHER_API_KEY=your_openweather_api_key_here
BRAVE_SEARCH_API_KEY=your_brave_search_api_key_here
BRAVE_SEARCH_RATE_LIMIT_DELAY=1.2 # Delay in seconds between Brave Search API calls to avoid rate limiting
# Model selections
# LLM_MODEL=llama-3.1-8b-instant
LLM_MODEL=llama-3.3-70b-versatile
STT_MODEL=distil-whisper-large-v3-en
# TTS settings
TTS_VOICE=en-US-JennyNeural # For edge-tts fallback
OUTPUT_FILE=response.wav
# Coqui TTS settings
USE_COQUI=True
# Available models can be found at https://github.com/coqui-ai/TTS/tree/dev/TTS/tts/configs
# Recommended models for better quality:
COQUI_MODEL=tts_models/en/ljspeech/tacotron2-DDC
# COQUI_MODEL=tts_models/en/ljspeech/glow-tts
# COQUI_MODEL=tts_models/en/ljspeech/fast_pitch
# COQUI_MODEL=tts_models/en/vctk/vits
# COQUI_MODEL=tts_models/en/vctk/fast_pitch
# COQUI_MODEL=tts_models/multilingual/multi-dataset/your_tts
# COQUI_MODEL=tts_models/en/jenny/jenny
# For the most natural voice (but requires more resources):
# COQUI_MODEL=tts_models/multilingual/multi-dataset/xtts_v2
# Speaker ID for multi-speaker models (like VCTK/VITS)
# For VCTK models, available speakers include: p225, p226, p227, etc.
# Use the list_speakers.py script to see all available speakers for a model
# COQUI_SPEAKER=p225
# Language for multi-lingual models (like XTTSv2)
# For XTTSv2, available languages include: en, es, fr, de, it, pt, pl, tr, ru, nl, cs, ar, zh-cn, ja, ko, hu
# Use the list_xtts_speakers.py script to see all available languages for a model
COQUI_LANGUAGE=en
# For the vocoder setting, it's now handled automatically by the TTS API
# The vocoder setting below is only used if you switch back to the older implementation
COQUI_VOCODER=vocoder_models/en/ljspeech/hifigan_v2
# Audio recording parameters
SAMPLE_RATE=16000
CHANNELS=1
MAX_RECORD_SECONDS=30
SILENCE_THRESHOLD=100
SILENCE_DURATION=0.8
ADAPTIVE_THRESHOLD=True
DEBUG_MODE=True
# Note: System prompt is defined directly in the code with current date and time
# LLM parameters
LLM_MAX_TOKENS=100
LLM_TEMPERATURE=0.4