Lessons from the Development Process
I Built an AI-Assisted Healthcare Chatbot with Python and Flask. Here's What I Learned.
Over the past 6½ months, I've been developing Steve, an AI-assisted patient services chatbot built with Python, Flask, and an LLM through the Groq API.
The idea came from my experience working in healthcare patient services and seeing how much time front-office staff spend handling recurring requests.
Steve's prototype explores workflows such as appointment scheduling, medication refill requests, referrals, lab and imaging requests, and patient verification scenarios.
One of my biggest takeaways was that an LLM shouldn't be responsible for everything.
I developed a hybrid approach:
Python handles predictable workflows and business rules.
The LLM handles open-ended conversational interactions.
Deterministic logic manages important checks and calculations.
Along the way, I encountered plenty of challenges involving regex, application state, API failures, calendar calculations, and testing conversational workflows.
Steve is a personal portfolio prototype. It uses fictional patient information and simulated backend data. It has not been deployed in a clinical environment or clinically validated.
I'm sharing this project because I learned a tremendous amount building it, and I'd welcome feedback from developers working with Python, AI applications, and healthcare technology.
Demo: https://youtu.be/FszKyz-8_L8
I'm particularly interested in hearing how others approach the division of responsibilities between an LLM and deterministic application logic.
p/retainiq-2
p/runevr
p/overads-io
p/google-cloud-platform
p/producthunt
p/leantake
p/flamigo
p/meridian-16
p/kodlo
p/bublr
p/gatrends
p/murror
p/statefold-2
p/scrimba
p/reso
p/many-displays
p/dots-7
p/termexo
p/contral
p/zush
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.