Skip to content

Multi-agent healthcare system: trusted health assistant for people, outbreak detector for health authorities.

Notifications You must be signed in to change notification settings

milosz-l/HealthWise

Repository files navigation

HealthWise

Multi-agent healthcare system: trusted health assistant for people, outbreak detector for health authorities.

Main features:

  • Multi-agent system (LangGraph, LangChain)
  • Chatbot responses are grounded ONLY on reliable sources:
    • nhs.uk
    • medlineplus.gov
    • cdc.gov
  • Outbreak detector for health authorities - analysis panel for health authorities with visualisations and forecasting

Demo video

HealthWise Demo Click above to watch the demo video!

Presentation video

HealthWise Presentation Click above to watch the presentation video!

Tech stack

  • Backend: Python, FastAPI, LangGraph, LangChain
  • Frontend: Streamlit
  • LLM: OpenAI (gpt-4o and gpt-4o-mini)
  • Search engine: Tavily
  • Visualisation: Plotly
  • Virtual environment: Matplotlib
  • Data storage: MongoDB

Security considerations

  • The app is seperated into two parts: chatbot for people and analysis panel for health authorities.
    • Chatbot is public and can be used by anyone. It can ONLY WRITE to the database, not read from it.
    • Analysis panel is supposed to be accessed only by health authorities. It can ONLY READ from the database.

Installation

Requirements

  • Poetry
  • Filled .env file (copy .env.example, rename it, and fill in the missing API keys)

Install dependencies

poetry install

If you encounter the error ImportError: cannot import name 'TavilyClient' from 'tavily', run the following command:

pip install tavily-python

then run:

pip install --upgrade tavily-python

Run the app

Start the backend server

poetry shell
python backend/server.py

Start the frontend app

streamlit run HealthWise.py

Run pre-commit hooks

For now it's only black formatter.

pre-commit run --all-files

About

Multi-agent healthcare system: trusted health assistant for people, outbreak detector for health authorities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages