From 805efdb14465712f80217ee5b878325387a9af08 Mon Sep 17 00:00:00 2001 From: Allenmylath <155647926+Allenmylath@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:19:38 +0530 Subject: [PATCH] Update README.md the description provided is that of simple chatbot and also the video of simple chatbot hence changed --- examples/patient-intake/README.md | 35 +++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/examples/patient-intake/README.md b/examples/patient-intake/README.md index 13c0b31e0..1820a61df 100644 --- a/examples/patient-intake/README.md +++ b/examples/patient-intake/README.md @@ -1,12 +1,39 @@ -# Simple Chatbot +# Patient-intake chatbot -This app connects you to a chatbot powered by GPT-4, complete with animations generated by Stable Video Diffusion. +This project implements an AI-powered chatbot designed to streamline the medical intake process for Tri-County Health Services. The chatbot, named Jessica, interacts with patients to collect essential information before their doctor's visit, enhancing efficiency and improving the patient experience. -See a video of it in action: https://x.com/kwindla/status/1778628911817183509 +## Features -And a quick video walkthrough of the code: https://www.loom.com/share/13df1967161f4d24ade054e7f8753416 +Identity Verification: Confirms patient identity by verifying their date of birth. +Prescription Information: Collects details about current medications and dosages. +Allergy Documentation: Records patient allergies. +Medical Conditions: Gathers information about existing medical conditions. +Reason for Visit: Asks patients about the purpose of their current doctor's visit. + +## Technical Stack + +Language: Python +AI Model: OpenAI's GPT-4 +Text-to-Speech: Cartesia TTS Service +Audio Processing: Silero VAD (Voice Activity Detection) +Real-time Communication: Daily.co API + +## Key Components + +IntakeProcessor: Manages the conversation flow and information gathering process. +DailyTransport: Handles real-time audio communication. +CartesiaTTSService: Converts text responses to speech. +OpenAILLMService: Processes natural language and generates appropriate responses. +Pipeline: Orchestrates the flow of information between different components. + +How It Works + +The chatbot introduces itself and verifies the patient's identity. +It systematically collects information about prescriptions, allergies, medical conditions, and the reason for the visit. +The conversation is guided by a series of function calls that transition between different stages of the intake process. +All collected information is logged for later use by medical professionals. ℹ️ The first time, things might take extra time to get started since VAD (Voice Activity Detection) model needs to be downloaded.