Skip to content

satyam-kr03/MedIntel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedIntel

MedIntel is a personal healthcare assistant which is equipped with multimodal RAG (Retrieval Augmented Generation), capable of handling complex medical queries and asking follow-up questions to arrive at a differential diagnosis for the patient along with relevant suggestions.

The chatbot is powered by LLaVA and ddx-llama, a version of the open-source LLama 2, which we fine-tuned on our own dataset consisting of 10k samples of medical conversations between a doctor and a patient that we generated using the publicly available DDXPlus dataset of synthetic patient symptoms, antecedents and their respective differential diagnoses.

image

Our user interface integrates OAuth and the Google Fit REST API to provide real-time data (fetched from phones and smart wearables if available) on the user dashboard. This enables the user to monitor their personal health and fitness metrics and make queries to our chatbot accordingly.

The application currently supports multimodality in the form of PDF documents or PNG images, which the user can upload from their device to provide any sort of context for the queries.

Our early testing and analysis shows that our LLM outperforms publicly accessible models like GPT-3.5 and Gemini for medical question-answering.

Multi-Modal RAG Methodology

image

Installation

(Tested on Ubuntu 22.04)

Install Dependencies

sudo apt-get install poppler-utils tesseract-ocr
curl -fsSL https://ollama.com/install.sh | sh
ollama pull dhruvsingh959/ddx-llama

Run

Paste the following commands in your terminal:

git clone https://github.com/satyam-kr03/medintel.git
cd medintel
pip install -r requirements.txt
langchain serve

Open a new terminal and paste the following commands:

cd stlit
streamlit run Account.py 

The application should be up and running in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published