Commit Graph
24 Commits
Author SHA1 Message Date
a.arystanbek f82f27c035 fix: gpt-5-nano too unreliable for aimaq voice decisions, switch to gpt-5-mini
deploy / deploy (push) Failing after 6s
2026-08-30 21:04:55 +00:00
a.arystanbek 75d105f636 fix: support GPT-5 request contract (max_completion_tokens, reasoning_effort) and switch aimaq voice decisions to gpt-5-nano
deploy / deploy (push) Failing after 0s
2026-08-30 20:37:35 +00:00
didar 48d1fabba1 fix: update ElevenLabs Russian and Kazakh voice IDs for TTS
deploy / deploy (push) Successful in 32s
2026-08-30 23:44:05 +05:00
arystanbek 9d918af12a fix: bring aimaq host-override files (voice.py, persona env) back into git
Both services/ai_orchestrator_service/voice.py and the aimaq persona/DOMAIN
SCOPE prompt were bind-mounted straight from the host on the aimaq stack,
bypassing git and CI entirely since they were first hand-edited in prod.

voice.py: merged the host's live business logic (gas/aimaq domain keyword
list, off-domain Kazakh/Russian replies, disabled re-correction of an already
obtained name) with the timeout_seconds fix from 09bcf74 that never reached
aimaq because the bind mount blocked it.

aimaq.env.production: replaced the AI_OPERATOR_* env values (which were never
interpolated -- {agent_name}/{company_name} would have been read literally)
with the final resolved Zhanna/Kazakgaz Aimaq text including the DOMAIN SCOPE
clause, matching what was actually live on the host.
2026-08-30 07:45:35 +00:00
arys 82c89eff5a feat: give aimaq voice AI a Qazaqgaz Aimaq persona (Zhanna) and language-choice greeting
Parametrize ai_operator_default_config() via AI_OPERATOR_* env vars,
falling back to the existing hardcoded defaults so the other two stacks
(call-center, sales-call-center) that share this code are unaffected.

Set aimaq-only overrides matching the client-provided script (Скрипт
ии-оператора КГА.docx): agent renamed to Жанна, company to Казакгаз
Аймак, the voice greeting now asks the caller whether Russian or
Kazakh is more convenient before anything else, and the base system
prompt instructs the model to commit to whichever language the caller
picks for the rest of the call, ask how to address them, and confirm
there's nothing else before saying goodbye.
2026-08-30 12:22:00 +05:00
Hermes Agent 8c131440fc config: route voice_lab_ai / ivr_aimaq_ai_ru queues through L2 agent pool
deploy / deploy (push) Successful in 28s
Enables the new Routing Engine for the Tele2 Kazgaz DID +77476456048
(lands on queue 7100/voice_lab_ai): AI handoff now reserves a real L2
agent from the pool instead of the static extension redirect.
2026-08-29 13:37:30 +05:00
didar 6ef2e6b81f fix: update ElevenLabs voice IDs for Russian and Kazakh languages
deploy / deploy (push) Successful in 31s
2026-08-29 13:36:27 +05:00
didar 09bcf7457c feat: add AI_VOICE_AI_TIMEOUT_SECONDS for configurable voice timeout
deploy / deploy (push) Successful in 30s
2026-08-29 00:50:08 +05:00
didarandClaude Sonnet 5 b8c922c9cf fix: revert AI_VOICE_V2_STREAMING_TTS to disabled
deploy / deploy (push) Successful in 28s
Streaming TTS caused poor voice quality in live testing on Creator
plan too — not just a quota-era fluke. Reverting to non-streaming
synthesis until the root cause is understood.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 00:39:46 +05:00
didar 26d718b0ae feat: enable streaming TTS for improved voice interaction
deploy / deploy (push) Successful in 30s
2026-08-29 00:29:44 +05:00
didar d9437d8b21 feat: update ElevenLabs API keys and voice IDs for improved ASR and TTS functionality
deploy / deploy (push) Successful in 32s
2026-08-28 23:45:34 +05:00
didar b474c35608 feat: enhance acknowledgment responses for Kazakh and Russian languages
deploy / deploy (push) Successful in 33s
2026-08-28 15:12:19 +05:00
didarandClaude Sonnet 5 fadff59512 feat: reduce VAD trailing silence for faster voice bot response
deploy / deploy (push) Successful in 30s
Lower AI_VOICE_VAD_TRAILING_SILENCE_MS from 500 to 350 so the bot
starts responding sooner after the caller stops speaking.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 16:59:00 +05:00
didarandClaude Sonnet 5 7f03b26ef6 feat: switch ElevenLabs RU/KK voice to softer, younger female voice
deploy / deploy (push) Successful in 2m50s
Swap RU and KK TTS voice IDs to "Nataly Mi Soft voice" — a soft,
gentle, young female voice verified for Russian on eleven_turbo_v2_5.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 16:23:44 +05:00
didar 953268e1b8 feat: update ElevenLabs RU voice ID for improved TTS performance
deploy / deploy (push) Successful in 31s
2026-08-25 02:09:48 +05:00
didar f9793dc5f4 feat: enable emotive acknowledgments and update ElevenLabs TTS model ID for enhanced audio responses
deploy / deploy (push) Successful in 30s
2026-08-25 02:00:26 +05:00
didar 7ddc965292 fix: disable AI_VOICE_V2_STREAMING_TTS for improved stability
deploy / deploy (push) Successful in 30s
2026-08-25 01:50:31 +05:00
didar 2ea6e6f4bb feat: update AI voice settings for improved responsiveness and pacing
deploy / deploy (push) Successful in 31s
2026-08-25 01:42:10 +05:00
didar 6ccdaf9167 feat: update ElevenLabs TTS model ID and add prebuffering for improved audio streaming
deploy / deploy (push) Successful in 31s
2026-08-25 01:20:52 +05:00
didar 70ec9ab384 feat: retrieving back ElevenLabs TTS model ID to eleven_flash_v2_5
deploy / deploy (push) Successful in 30s
2026-08-25 01:09:26 +05:00
didar c399296165 feat: implement no-speech reprompt functionality with configurable parameters
deploy / deploy (push) Successful in 33s
2026-08-24 14:17:00 +05:00
didar c590528694 feat: add debug audio dump functionality for ElevenLabs ASR provider
deploy / deploy (push) Successful in 30s
2026-08-23 13:38:56 +05:00
didar 206b0bafe0 feat: update real-time commit strategy for ElevenLabs ASR to VAD
deploy / deploy (push) Successful in 30s
2026-08-23 13:05:58 +05:00
Codex 6d9b0ce98a feat: add aimaq production env file (TTS/ASR/LLM config in git)
deploy / deploy (push) Successful in 29s
2026-08-21 13:37:25 +00:00