Back to all systems
Built and integrated with the hospital backend
Dr. Sara
An Urdu-speaking voice agent that takes a patient's medical intake before the consultation.
A real-time voice conversation in Urdu, end to end.
Code in a private repository. Walkthrough available on request.
- Where
- IMC Hospital, through Contech International
- My role
- AI engineer
- When
- 2026
- Stack
- Python
- Pipecat
- Groq Whisper
- GPT-4o-mini
- Edge TTS
- n8n
The problem
Many patients find it easier to describe their symptoms by speaking in Urdu than by filling in a form.
How it works
5 steps, from input to result. They light up as you scroll.
Patient speaks
The patient answers intake questions out loud, in Urdu.
Speech becomes text
Groq Whisper transcribes the audio.
The agent responds
GPT-4o-mini runs the intake conversation and decides what to ask next.
Dr. Sara answers aloud
Edge TTS speaks the reply in Urdu, with Pipecat keeping the conversation real-time.
Intake reaches the hospital
An n8n workflow delivers the collected intake data to the IMC backend.
What I built
- Chained speech-to-text, the language model and text-to-speech into one real-time Pipecat pipeline.
- Traced and fixed cascading n8n failures (broken node connections, URL redirects and malformed JSON) to restore delivery of intake data.
Results
- Patients complete their intake by talking, in their own language.
- Intake data reaches the hospital backend reliably.