Skip to content

avijeett007/kno2gether-pipecat-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NHS Blood Test Assistant with Pipecat

Watch DeepDive Video

Watch the DeepDive Tutorial on YouTube:

NHS Blood Test Assistant Tutorial

Subscribe

Introduction

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.

Key Features

  • 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

Technical Features

  • 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

Getting Started

  1. Clone this repository: ```bash git clone https://github.com/yourusername/realtime-ai-agent.git cd realtime-ai-agent ```

  2. Install dependencies: ```bash pip install -r requirements.txt ```

  3. Set up environment variables: Create a .env file with: ``` DAILY_API_KEY=your_daily_api_key OPENAI_API_KEY=your_openai_api_key ```

  4. Run the application: ```bash

Start the backend server

python openai_realtime_pipcat_agent.py

System Requirements

  • Python 3.8+
  • OpenAI API key
  • Daily.co API key

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.

Community and Support

Hosting Partners

Video Tutorials

Follow along with our detailed video tutorials on the Kno2gether YouTube Channel for step-by-step guidance on building AI-powered healthcare assistants.

Project Structure

``` realtime-ai-agent/ ├── openai_realtime_pipcat_agent.py # Main backend server ├── requirements.txt # Python dependencies ```

Features in Detail

  1. Voice Interaction

    • Real-time voice processing with Silero VAD
    • Natural conversation flow
    • Voice activity detection for better interaction
  2. Appointment Booking

    • Multiple test types support (general, glucose, lipid profile, thyroid)
    • Fasting requirement instructions
    • Available time slots management
  3. Patient Records

    • GP instruction checking
    • Previous test history
    • Test type recommendations
  4. Urgency Assessment

    • Symptom analysis
    • Emergency situation detection
    • Appropriate guidance for urgent cases

Conclusion

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages