MediGuard AI – An Interactive Drug Interaction and Side Effect Predictor using LLMs with RAG-based Chat Assistance
- Drug Interaction Prediction: Uses LLaMA models to analyze potential interactions between drugs.
- Side Effect Analysis: Identifies possible adverse effects based on drug combinations.
- Intuitive UI: Built using Streamlit for a seamless user experience.
- Visualization Tools: Uses Matplotlib and Plotly for interactive data representation.
Before installing MediGuard AI, ensure your system meets the following requirements:
- Python 3.7 or higher
- An active internet connection (for package installations)
- Git installed (for cloning the repository)
Follow these steps to set up MediGuard AI on your local machine.
git clone https://github.com/MediGuardAI/App_MediGuardAI.git
cd App_MediGuardAI
To avoid conflicts with system-wide dependencies, it’s recommended to use a virtual environment.
python -m venv venv
- Windows:
venv\Scripts\activate
- MacOS/Linux:
source venv/bin/activate
Ensure you have the latest version of pip before proceeding.
python -m pip install --upgrade pip
Install the necessary Python libraries using the following command:
pip install -r requirements.txt
If
requirements.txt
is not available, install manually:
pip install streamlit pandas plotly reportlab torch torchvision torchaudio transformers matplotlib
After successful installation, start MediGuard AI using:
streamlit run main.py
This will launch the app in your default web browser.
We welcome contributions from the community! If you'd like to contribute:
- Fork the repository
- Create a new branch (
feature-branch
) - Make your changes
- Submit a pull request
⭐ If you like this project, give it a star! ⭐