Giter VIP home page Giter VIP logo

health.ai's Introduction

Health.AI

Health.AI 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.

Screenshot from 2024-04-16 11-50-39

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

RAG

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/dhruvsinghiitmandi/health.ai.git
cd health.ai
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.

health.ai's People

Contributors

satyam-kr03 avatar dhruvsinghiitmandi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.