feat: refine assistant logic and update docs
This commit is contained in:
12
.env.example
12
.env.example
@@ -6,6 +6,11 @@ AI_PROVIDER=
|
||||
# OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
OPENROUTER_MODEL=openai/gpt-4o-mini
|
||||
OPENROUTER_API_URL=https://openrouter.ai/api/v1/chat/completions
|
||||
AI_CHAT_TEMPERATURE=0.9
|
||||
AI_CHAT_MAX_TOKENS=160
|
||||
AI_CHAT_MAX_CHARS=240
|
||||
AI_INTENT_TEMPERATURE=0.0
|
||||
AI_TRANSLATION_TEMPERATURE=0.2
|
||||
|
||||
# OpenAI
|
||||
# OPENAI_API_KEY=your_openai_api_key_here
|
||||
@@ -35,6 +40,13 @@ OLLAMA_API_URL=http://localhost:11434/v1/chat/completions
|
||||
DEEPGRAM_API_KEY=your_deepgram_api_key_here
|
||||
PORCUPINE_ACCESS_KEY=your_porcupine_access_key_here
|
||||
PORCUPINE_SENSITIVITY=0.8
|
||||
# Anti-phantom wake word filter (RMS gate).
|
||||
# Increase values if random activations persist; lower them if wake word becomes too hard to trigger.
|
||||
# If the mic reopens and instantly re-triggers, keep RMS as-is and raise WAKEWORD_REOPEN_GRACE_SECONDS.
|
||||
# WAKEWORD_MIN_RMS=120
|
||||
# WAKEWORD_RMS_MULTIPLIER=1.7
|
||||
# WAKEWORD_HIT_COOLDOWN_SECONDS=1.2
|
||||
# WAKEWORD_REOPEN_GRACE_SECONDS=0.45
|
||||
# Optional audio device overrides (substring match by name or exact PortAudio index)
|
||||
# AUDIO_INPUT_DEVICE_NAME=pulse
|
||||
# AUDIO_INPUT_DEVICE_INDEX=2
|
||||
|
||||
Reference in New Issue
Block a user