Watch the DeepDive Tutorial on YouTube:
NHS Blood Test Assistant is an intelligent voice-based AI interface built using Pipecat and OpenAI's real-time beta services. It provides a seamless voice interaction experience for patients to book blood tests, check their records, and receive guidance about test preparations.
- Real-time Voice Interaction: Natural conversation flow with voice input/output
- Intelligent Appointment Booking: Schedule blood tests with proper preparation instructions
- Patient Record Integration: Check existing records and GP instructions
- Urgency Assessment: Evaluate the urgency of blood test requests
- Professional Healthcare Assistant: Friendly and reassuring interaction style
- Daily.co Video Integration: Secure and reliable video communication platform
- React-based UI: Modern and responsive user interface
- Real-time Audio Processing: Using Silero VAD for voice activity detection
- OpenAI Integration: Leveraging real-time beta services for natural conversations
- Daily.co Transport: Reliable audio/video communication
- Asynchronous Pipeline: Efficient message processing and response generation
- Function Calling: Custom tools for appointment booking, record checking, and urgency assessment
-
Clone this repository: ```bash git clone https://github.com/yourusername/realtime-ai-agent.git cd realtime-ai-agent ```
-
Install dependencies: ```bash pip install -r requirements.txt ```
-
Set up environment variables: Create a .env file with: ``` DAILY_API_KEY=your_daily_api_key OPENAI_API_KEY=your_openai_api_key ```
-
Run the application: ```bash
python openai_realtime_pipcat_agent.py
- Python 3.8+
- OpenAI API key
- Daily.co API key
We welcome contributions! Please feel free to submit a Pull Request.
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.
- Join our community: Kno2gether Community
- Full Production Ready SaaS Launch Course (50% OFF): End-to-End SaaS Launch Course
Follow along with our detailed video tutorials on the Kno2gether YouTube Channel for step-by-step guidance on building AI-powered healthcare assistants.
``` realtime-ai-agent/ ├── openai_realtime_pipcat_agent.py # Main backend server ├── requirements.txt # Python dependencies ```
-
Voice Interaction
- Real-time voice processing with Silero VAD
- Natural conversation flow
- Voice activity detection for better interaction
-
Appointment Booking
- Multiple test types support (general, glucose, lipid profile, thyroid)
- Fasting requirement instructions
- Available time slots management
-
Patient Records
- GP instruction checking
- Previous test history
- Test type recommendations
-
Urgency Assessment
- Symptom analysis
- Emergency situation detection
- Appropriate guidance for urgent cases
NHS Blood Test Assistant demonstrates the power of modern AI in healthcare, providing a user-friendly and efficient way for patients to manage their blood test appointments. This project serves as an excellent example of integrating various technologies to create a practical healthcare solution.
Happy coding!