This project is our solution to the Emergency Dispatch Conversation AI - challenge at MediHacks 2024 - Hackathon (https://www.medihacks.org/).
Emergency dispatchers often face training that is out of date, along with outdated guidebooks and manuals. They lack access to modern technology in their daily work. This gap highlighted the need for designing and prototyping a conversational AI that can simulate various life-threatening scenarios, helping dispatchers to rehearse and improve their response skills.
Our solution is a web application aimed at emergency medical dispatchers. Our users are able to create an account and log in to the application, where they can simulate different medical emergency scenarios. They are able to have chat-based conversations with AI, who is acting as a caller to emergency services. Additionally, users have access to Q&A functionality, where they can get evidence-based information about different medical emergencies. They have access to the Q&A functionality also during the simulations.
We will soon integrate a feedback function that will provide users with insights about their performance based on protocols and EMD conversations that were retrieved from medical books. The endpoint is already functional and gives good results.
It's important to note that the core of our solution is our vector database which contains a curated list of scenarios along with protocols to follow, books, and article. More information about the AI features can be found here.
Check the Figma prototype to learn more about 911 Coach AI and deployed application.
Our application consists of a React frontend, that has been secured with Firebase authentication and a NodeJS backend that interacts with the MongoDB database. User information and their simulation data are saved in the database. The AI element of the application has been built by utilizing Fast API, Pinecone vector database and Cohere LLM. The below diagram gives an overview of the architecture that has been implemented:
More details about the AI features can be found here.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Below instructions can be used to run either the frontend or backend application locally. For backend application, navigate to folder ./Backend and for frontend application, navigate to folder ./Frontend/app
Install project dependencies:
npm install
To run this project locally run:
npm run dev
This command will build the project and start a local development server. You'll see messages indicating that the project is being compiled and the server is running.
Access the Application: Open a web browser and navigate to http://localhost:3000 to access the backend application and to http://localhost:5173 to access the frontend application.
- React - Frontend Framework
- NodeJS - JavaScript runtime environment
- MongoDB - NoSQL database
- FastAPI - A modern, fast (high-performance), web framework for building APIs
- Pinecone - Vector database
- Cohere - Enterprise AI Platform
- @MeriemTerki - AI, integrating AI to frontend app
- @adimidania - AI, Figma design, frontend
- @Mahiambaw - Frontend
- @mariberg - Backend, frontend, integrating AI to frontend app