feat: implement voice-based patient onboarding pipeline with AI orchestration, multi-language STT/TTS support, and clinical state extraction.

This commit is contained in:
2026-08-29 15:09:31 +05:30
parent 5e500dcfbc
commit dc2799a95b
14 changed files with 733 additions and 191 deletions
@@ -0,0 +1,39 @@
[
{
"step": "START_SESSION",
"session_id": "VOICE-B69073AB",
"ai_greeting": "Hello Gokul Varthan, welcome to CureSelect Healthcare. Could you please share what health symptoms you are experiencing today?"
},
{
"turn": 1,
"patient_input": "I have been feeling severe mental depression, anxiety, and low energy recently.",
"ai_response": "Understood. How long has this been bothering you?",
"suggested_specialty": "Psychiatry & Mental Health Care",
"stage": "symptoms",
"completed": false
},
{
"turn": 2,
"patient_input": "It has been bothering me for around 2 months now.",
"ai_response": "Understood, have you taken any medication for this yet?",
"suggested_specialty": "General Medicine / Primary Care",
"stage": "medications",
"completed": false
},
{
"turn": 3,
"patient_input": "I haven't taken any psychiatric medications yet, just tried herbal tea.",
"ai_response": "Understood. Do you have any known medication allergies?",
"suggested_specialty": "General Medicine / Primary Care",
"stage": "allergies",
"completed": false
},
{
"turn": 4,
"patient_input": "No, I don't have any drug allergies.",
"ai_response": "Got it, I have passed all these details directly to the doctor. Thank you!",
"suggested_specialty": "General Medicine / Primary Care",
"stage": "confirmation",
"completed": true
}
]