CoolFace
Apppublic

Sebampitako/sarah_health_voice_agent

sourceHugging Facebsd-2-clauseupdated 1y agoView on Hugging Face
0likes
App README

๐Ÿฅ Sarah Healthcare Receptionist

Integrated AI-powered virtual receptionist for healthcare organizations using open-source models

Sarah is a professional virtual receptionist designed specifically for healthcare settings. She provides warm, efficient patient assistance using cutting-edge AI technology while maintaining the highest standards of professionalism and privacy.

๐ŸŽฏ FULLY INTEGRATED EXPERIENCE

Talk to Sarah directly in this Hugging Face Space - no external links required!

  1. 1.Click "๐Ÿš€ Start Sarah" above to activate the AI receptionist
  2. 2.Click "Join Call" in the embedded video frame
  3. 3.Allow microphone access when prompted
  4. 4.Start talking! Sarah will greet you immediately

โœจ Features

๐Ÿค– Professional Healthcare Reception

  • โ€”Warm, empathetic patient greetings
  • โ€”Appointment scheduling with complete information collection
  • โ€”Appointment cancellation and rescheduling
  • โ€”Office information (hours, location, parking, insurance)
  • โ€”Professional healthcare reception duties
  • โ€”Privacy-conscious and HIPAA-mindful

๐Ÿš€ Open Source & Free

  • โ€”AI Model: Groq Llama 3.1 8B Instant (fast, free alternative to OpenAI)
  • โ€”Speech Recognition: Deepgram real-time transcription
  • โ€”Voice Synthesis: Cartesia neural text-to-speech
  • โ€”Video Platform: Daily.co WebRTC integration
  • โ€”Framework: Pipecat AI pipeline

๐Ÿ”ง Zero-Configuration Deployment

  • โ€”Pre-configured API keys for immediate use
  • โ€”Auto-starting AI assistant - just click Start Sarah
  • โ€”Embedded video calling - no external room links
  • โ€”Responsive design for desktop and mobile
  • โ€”Real-time status monitoring

๐Ÿ’ฌ Example Conversations

Patient: "Hi, I'd like to schedule an appointment"

Sarah: "Hello! I'd be happy to help you schedule an appointment. Could you please provide me with your name and the type of appointment you're looking for?"

Patient: "My name is John Smith, I need a general checkup"

Sarah: "Perfect, John! For your general checkup, do you have a preferred doctor, and what date and time would work best for you?"

๐Ÿฅ Sarah's Capabilities

๐Ÿ“… Appointment Management

  • โ€”Scheduling: Collects patient name, phone number, appointment type, preferred doctor, date, and time
  • โ€”Cancellation: Processes appointment cancellations with confirmation
  • โ€”Rescheduling: Helps patients find new appointment times
  • โ€”Confirmation: Provides clear appointment summaries

๐Ÿข Office Information

  • โ€”Hours: Monday-Friday 8 AM to 6 PM, Saturday 9 AM to 2 PM
  • โ€”Location: Professional medical office details
  • โ€”Parking: Information about available parking
  • โ€”Insurance: General insurance acceptance information
  • โ€”Contact: Phone numbers and department directories

๐Ÿค Professional Standards

  • โ€”Privacy Protection: No collection of sensitive medical information
  • โ€”HIPAA Awareness: Refers medical questions to licensed professionals
  • โ€”Warm Communication: Empathetic and professional tone
  • โ€”Efficient Service: Quick, helpful responses

๐Ÿ› ๏ธ Technical Architecture

AI Pipeline

User Speech โ†’ Deepgram STT โ†’ Groq LLM โ†’ Cartesia TTS โ†’ User Audio

Core Components

  • โ€”Speech-to-Text: Deepgram WebSocket API for real-time transcription
  • โ€”Language Model: Groq's hosted Llama 3.1 8B with 150 token limit for speed
  • โ€”Text-to-Speech: Cartesia's neural voice synthesis (professional female voice)
  • โ€”Transport: Daily.co WebRTC for high-quality audio/video
  • โ€”Framework: Pipecat for AI pipeline orchestration

Performance Optimizations

  • โ€”Low Latency: Optimized audio buffers and sample rates
  • โ€”Fast Model: Llama 3.1 8B Instant for quick responses
  • โ€”Streaming: Real-time audio processing without delays
  • โ€”Smart Chunking: Efficient text-to-speech generation

๐Ÿš€ Deploy Your Own

Hugging Face Spaces (Recommended)

  1. 1.Fork this Space or create a new one
  2. 2.Upload these files: app.py, requirements.txt, README.md, hf_spaces_config.py
  3. 3.Set your API keys in hf_spaces_config.py
  4. 4.Your Space will auto-deploy with Sarah ready to serve patients!

Local Development

bash
git clone <this-repo>
cd sarah-healthcare-receptionist
pip install -r requirements.txt
python app.py

๐Ÿ”‘ API Keys Required

The deployed version includes pre-configured API keys for immediate use. For your own deployment:

  • โ€”Groq API Key: Free tier available at groq.com
  • โ€”Cartesia API Key: Professional voice synthesis at cartesia.ai
  • โ€”Deepgram API Key: Speech recognition at deepgram.com
  • โ€”Daily.co API Key: Video conferencing at daily.co

๐Ÿฅ Healthcare Use Cases

Medical Offices

  • โ€”Patient appointment scheduling
  • โ€”Office hour inquiries
  • โ€”General reception duties
  • โ€”Appointment confirmations

Clinics

  • โ€”Multi-doctor appointment coordination
  • โ€”Department information
  • โ€”Insurance verification support
  • โ€”Patient flow management

Telehealth Platforms

  • โ€”Virtual waiting room assistant
  • โ€”Pre-appointment information collection
  • โ€”Technical support triage
  • โ€”Patient onboarding

๐Ÿ”’ Privacy & Security

  • โ€”No Medical Advice: Sarah refers all medical questions to licensed professionals
  • โ€”Limited Data Collection: Only collects necessary appointment information
  • โ€”Temporary Sessions: No persistent storage of patient conversations
  • โ€”Professional Boundaries: Maintains appropriate healthcare reception scope

๐ŸŒŸ Why Open Source?

Sarah demonstrates that high-quality AI healthcare assistance doesn't require expensive proprietary models. By using open-source alternatives:

  • โ€”Cost Effective: Significantly lower operational costs than OpenAI-based solutions
  • โ€”Performance: Faster response times with optimized model selection
  • โ€”Transparency: Full visibility into AI model behavior and capabilities
  • โ€”Customizable: Easy to modify for specific healthcare organization needs

๐Ÿ“ž Support

Built with โค๏ธ for healthcare professionals worldwide. This fully integrated experience makes AI-powered patient assistance accessible to any healthcare organization.

Ready to help your patients? Click "๐Ÿš€ Start Sarah" above and begin the conversation! #Fixed