Welcome to EasyCare, a conceptual healthcare assistant designed to streamline the patient appointment process, reduce wait times, and optimize healthcare workflows. By leveraging the power of aiXplain, retell.ai, and AWS Lambda, this system demonstrates the potential of AI in real-world healthcare scenarios.
EasyCare provides an end-to-end solution for managing patient appointments and pre-appointment diagnostics. The workflow is as follows:
- A patient calls the clinic's phone number, which is connected to a retell.ai voice agent.
- The voice agent interacts with the patient, collects symptoms, and transcribes the conversation.
- The transcription is sent via a webhook to an AWS Lambda function.
- The Lambda function processes the data using an aiXplain pipeline, which:
- Summarizes the problem.
- Extracts key patient details (name, age, pain scale).
- Determines if pre-appointment tests like bloodwork or MRIs are needed.
- Results are stored and visualized via Senso, enabling doctors to review before the patient’s visit.
- Python installed (>=3.8 recommended).
- Docker installed for creating the Lambda function layer.
- An AWS Account for deploying Lambda.
- Access to aiXplain and retell.ai accounts.
- An API Key for Senso integration.
docker build --platform linux/amd64 -t easycare-image:latest .
docker run --platform linux/amd64 --name temp-container easycare-image:latest
docker cp temp-container:/workspace/easycare/python ./python
docker rm temp-containerZip the python directory and upload it as a layer in the AWS Lambda Console.
easycare/
├── Dockerfile # Docker configuration for Lambda layer
├── lambda_function.py # AWS Lambda handler
├── requirements.txt # Dependencies for the Lambda function
├── aiXplain_pipeline.json # Exported aiXplain pipeline configuration
├── README.md # Project documentation (this file)
- Set up the system by following the Setup Guide .
- Deploy the Lambda function and connect it to the retell.ai webhook.
- Test the voice agent by calling the assigned phone number.
- Monitor outputs in aiXplain and Senso for insights and summaries.
Contributions are welcome! Feel free to open issues or submit pull requests for improvements or new features.
This project is licensed under the MIT License.