feat(voice): implement local S2S responsiveness candidate and direct TTS routing
Add local S2S responsiveness candidate pinning ASR options and sentence-at-a-time generation. Route speech synthesis directly to OpenAI API for fluent Persian phonetics with gpt-4o-mini-tts-2025-12-15. Add responsiveness, budget carry, and browser watch unit tests along with acceptance benchmarks and evaluation evidence.
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"date": "2026-10-17",
|
||||
"status": "candidate_live_human_comparison_pending",
|
||||
"image": "sha256:ddbb90366f19f8077b1cb40a77e529393459485fb8ae0cb9d074ffea641c265f",
|
||||
"unit_tests": {
|
||||
"passed": 157,
|
||||
"seconds": 8.51
|
||||
},
|
||||
"postgres": {
|
||||
"passed": 3,
|
||||
"seconds": 6.72,
|
||||
"skips": 0
|
||||
},
|
||||
"native_fixture": {
|
||||
"responsive": true,
|
||||
"single_sentence_probe": true,
|
||||
"active_retention_verified": true,
|
||||
"retention_verified": true,
|
||||
"client_error": null,
|
||||
"normal_complete": true,
|
||||
"unit_released": true,
|
||||
"paid_calls": 0,
|
||||
"final_cleanup": {
|
||||
"stage": "close",
|
||||
"cleanup": {
|
||||
"gateway_shutdown": 0,
|
||||
"gateway_close": 0,
|
||||
"runtime_stop": 0,
|
||||
"gateway_join": 0,
|
||||
"gateway_alive": 0
|
||||
},
|
||||
"request_counts": {
|
||||
"accepted": 10,
|
||||
"/v1/audio/transcriptions": 2,
|
||||
"released": 10,
|
||||
"/v1/chat/completions": 4,
|
||||
"/v1/audio/speech": 4,
|
||||
"disconnected": 2,
|
||||
"shutdown_pending": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"native_single_sentence_seconds": 18.272,
|
||||
"connection": {
|
||||
"conversation_id": "c4ad0ece-e0e4-42fd-b9c3-63eaab1f5494",
|
||||
"session_id": "2931f6df-176c-4f95-8bb3-55f2c4920312",
|
||||
"events": [
|
||||
"session_ready"
|
||||
],
|
||||
"providers": {
|
||||
"default_provider": "local_s2s",
|
||||
"connection_checked": false,
|
||||
"providers": [
|
||||
{
|
||||
"id": "openai",
|
||||
"label": "OpenAI",
|
||||
"can_start": false,
|
||||
"reason": "not_configured"
|
||||
},
|
||||
{
|
||||
"id": "local_s2s",
|
||||
"label": "\u0633\u06cc\u0633\u062a\u0645 \u062c\u062f\u06cc\u062f",
|
||||
"can_start": true,
|
||||
"reason": null
|
||||
},
|
||||
{
|
||||
"id": "gemini",
|
||||
"label": "Gemini",
|
||||
"can_start": false,
|
||||
"reason": "disabled"
|
||||
}
|
||||
]
|
||||
},
|
||||
"session_ready": true,
|
||||
"close": {
|
||||
"session_id": "2931f6df-176c-4f95-8bb3-55f2c4920312",
|
||||
"status": "closed",
|
||||
"close_reason": "user_requested"
|
||||
},
|
||||
"component_attempts_before": 3,
|
||||
"component_attempts_after": 3
|
||||
},
|
||||
"watch": {
|
||||
"stage": "ready",
|
||||
"memory_enforcement": false,
|
||||
"minimum_windows_available_bytes": 4080177152,
|
||||
"minimum_vm_available_bytes": 4225368064,
|
||||
"startup_seconds": 24.639
|
||||
},
|
||||
"budget": {
|
||||
"previous_reserved_and_billed_usd": "0.710884452",
|
||||
"reserved_usd": "0.769884452",
|
||||
"maximum_cumulative_usd": "0.981884452",
|
||||
"maximum_attempts": {
|
||||
"speech": 5,
|
||||
"transcriptions": 4,
|
||||
"completions": 4
|
||||
},
|
||||
"carry_basis": "documentary_checkpoint_with_local_bills"
|
||||
},
|
||||
"nominal_expiry_tehran": "2026-10-17T11:01:18.153111+03:30",
|
||||
"human_asr_improvement": "not_measured",
|
||||
"human_latency_improvement": "not_measured"
|
||||
}
|
||||
Reference in New Issue
Block a user