Skip to content

Repository files navigation

MediAssist AI: Evidence-Based Medical Query Assistant

🩺📚💊🧠

Helping healthcare professionals make faster, research-backed clinical decisions with Gen AI + RAG

Streamlit Hugging Face Groq Python ChromaDB python-dotenv Requests Sentence Transformers


Overview

MediInsight Health Solutions is a US-based healthcare provider that helps doctors and research assistants deliver clear, evidence-based advice to patients.
When a patient asks about a medical intervention — such as intermittent fasting for Type 2 diabetes — the scientific evidence can be scattered, inconclusive, or hard to retrieve quickly.

To solve this, we developed MediAssist AI — a Retrieval-Augmented Generation (RAG) system that automatically:

  1. Fetches medical research from PubMed using APIs.
  2. Embeds & stores articles in a vector database for fast semantic search.
  3. Retrieves relevant evidence for a query.
  4. Generates clear, contextual answers using the Groq LLaMA 3 model.

This empowers healthcare professionals to save time, reduce uncertainty, and base recommendations on the latest peer-reviewed research.


Key Features

  • Automated PubMed Data Pipeline:
    • Search and fetch the latest research articles for any medical topic.
    • Store articles in JSON format for reproducibility.
  • Vector Database with ChromaDB:
    • Store embeddings for semantic similarity search.
    • Optimized for biomedical text with the S-PubMedBert-MS-MARCO model from Hugging Face.
  • RAG Pipeline with Groq LLaMA 3:
    • Retrieve the most relevant research context.
    • Generate evidence-based responses.
  • Streamlit Web App:
    • Sidebar to search & ingest articles.
    • Main area for natural language medical queries.
    • Option to manage (clear/delete) collections.
  • Modular Design:
    • Easily swap embedding models or LLMs.
    • Environment variables stored securely in .env.

🚀 Launch App

https://mediassist-genai.streamlit.app/

app


app


Installation Steps

  1. Clone the Repository

    git clone https://github.com/MindMatrixPro/MediAssistAI.git
    cd MediAssistAI
  2. Install Dependencies

    pip install -r requirements.txt
  3. Run the Streamlit App

    streamlit run main_app.py

Contributing

To Contribute, please submit issues or pull requests for enhancements or fixes.


License

Licensed under the Apache 2.0 License.


About

Helping healthcare professionals make faster, research-backed clinical decisions with Gen AI + RAG

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages