Inspiration
A patient with wrist pain might also be worried about getting through tomorrow’s shift. That concern can change the conversation, but it only comes up if the student makes room for it. For the Avelios challenge at HackaTUM, we wanted to build a virtual patient that lets medical students practice the whole consultation and see how what they ask, examine, and document shapes the plan.
What it does
Cue is a virtual consultation simulator. Students interview one of three fictional patients by voice or text, perform focused exams on a 3D patient, and explain their diagnosis and care plan.
Afterward, Cue puts the student’s questions, the patient’s actual answers, and the student’s notes side by side. It flags notes that go beyond what the patient confirmed, so students can see where an assumption entered the chart.
How we built it
We built the interface with React and TypeScript and used Three.js for the interactive patient. FastAPI manages the authored cases, including patient history, exam findings, and when sensitive details can be shared. An Express service connects the browser to Whisper.cpp for speech recognition and Kokoro for speech synthesis. For Nora’s wrist case, we also tested locally generated dialogue using Qwen3 through llama.cpp.
Challenges we ran into
Verification was the hardest part. We had to check that patients stayed consistent across follow-up questions, shared sensitive details only when the case allowed it, and gave students evidence they could trace back to the conversation.
In a 60-session evaluation of the authored text engine, our audit found zero early disclosures, invented medical details, or contradictory answers. The same run showed a limitation in the mock trust scorer. Both interview styles finished with the same median score, so we still need to test whether that feedback captures meaningful differences in communication.
Accomplishments that we're proud of
We are one of the few teams from Campus Heilbronn, so alone being here representing our campus is something we are proud of. Additionally stumbling across the problem of not being registered properly/on the pitch list really broke down our moral, yet we remain determined to finish what we have started, push through the uncertainty with our internal drive: have fun and make memories
What we learned
Life is indeed an unexpected journey, so don't let drawbacks affect you for too long.
What's next for Cue
We’d like to review the cases, exam findings, and feedback rubrics with clinical educators, then observe students using Cue in practice. We also want to give educators a way to author cases and preview, edit, and save patient personas for their students.
Built With
- express.js
- fastapi
- kokoro
- llama.cpp
- node.js
- pydantic
- python
- qwen3
- react
- three.js
- typescript
- vite
- whisper.cpp