31 lines
719 B
Plaintext
31 lines
719 B
Plaintext
# Server Configuration
|
|
HOST=0.0.0.0
|
|
PORT=8000
|
|
|
|
# Audio Configuration
|
|
SAMPLE_RATE=16000
|
|
CHUNK_SIZE_MS=20
|
|
|
|
# VAD Configuration
|
|
VAD_THRESHOLD=0.5
|
|
VAD_EOU_THRESHOLD_MS=400
|
|
|
|
# OpenAI / LLM Configuration (required for duplex voice)
|
|
OPENAI_API_KEY=sk-your-openai-api-key-here
|
|
# OPENAI_API_URL=https://api.openai.com/v1 # Optional: for Azure or compatible APIs
|
|
LLM_MODEL=gpt-4o-mini
|
|
LLM_TEMPERATURE=0.7
|
|
|
|
# TTS Configuration
|
|
TTS_VOICE=en-US-JennyNeural
|
|
TTS_SPEED=1.0
|
|
|
|
# Duplex Pipeline Configuration
|
|
DUPLEX_ENABLED=true
|
|
# DUPLEX_GREETING=Hello! How can I help you today?
|
|
DUPLEX_SYSTEM_PROMPT=You are a helpful, friendly voice assistant. Keep your responses concise and conversational.
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
LOG_FORMAT=text
|