An open API service indexing awesome lists of open source software.

https://github.com/mohammadhashim135/let-me-heal

LetMeHeal is a Streamlit-based AI chatbot designed to provide reliable medical insights.
https://github.com/mohammadhashim135/let-me-heal

ai application chatbot collaboration good-first-issue huggingface langchain medical python rag streamlit

Last synced: about 2 months ago
JSON representation

LetMeHeal is a Streamlit-based AI chatbot designed to provide reliable medical insights.

Awesome Lists containing this project

README

          

# **LetMeHeal** 🌐
**Your Secure, Interactive, and AI-Powered Medical Assistant**

## **Overview**
**LetMeHeal** is a Streamlit-based AI chatbot designed to provide reliable medical insights. Powered by HuggingFace LLMs, FAISS vector database, and Langchain, it empowers users to explore healthcare topics safely and accurately. LetMeHeal retrieves answers from verified medical literature, ensuring trust and precision in its responses.

---
Features πŸš€

βœ… **Medical Q&A Chatbot** – Ask medical questions and receive contextual, reliable answers.

βœ… **Streamlit UI** – Interactive, user-friendly interface with persistent chat history.

βœ… **RAG Pipeline** – Retrieval Augmented Generation for precise, context-based answers.

βœ… **FAISS Integration** – Fast similarity search over embedded medical knowledge.

βœ… **HuggingFace LLM** – Uses powerful language models for accurate responses.

βœ… **Modular & Scalable** – Designed for continuous improvement and easy customization.

βœ… **Secure Tokens** – Environment-managed API tokens using dotenv.

---

## **Tech Stack** πŸ› 
- **Frontend/UI:** Streamlit

- **Backend:** Python, Langchain, HuggingFace

- **Embeddings:** sentence-transformers/all-MiniLM-L6-v2

- **Vector Database:** FAISS

- **Document Loading:** Langchain’s PyPDFLoader, DirectoryLoader

- **Prompt Engineering:** Custom PromptTemplate for medical Q&A

- **Environment Management:** dotenv (.env files)
---

## **Installation & Setup** πŸ—

### **1. Clone the Repository**
```bash
git clone https://github.com/mohammadhashim135/Let-Me-Heal
cd Let-Me-Heal
```

### **2. Create a Virtual Environment**
```bash
python -m venv .venv

# Activate it:

# Windows:
.venv\Scripts\activate

# Mac/Linux:
source .venv/bin/activate
```

### **3. Install Dependencies**

```bash
pip install -r requirements.txt
```

### **4. Start the Application**
```bash
streamlit run medical_chatbot.py
```
---

## **Usage Guide** πŸ“

πŸ”Ή Ask any medical question in the input box.

πŸ”Ή Receive contextual, reliable answers powered by AI and verified medical literature.

πŸ”Ή Chat history is saved in your session for continuous interaction.

πŸ”Ή Use it for learning, quick clarification, and preliminary health awareness.

---

## **Project Structure** πŸ“‚
```bash
LetMeHeal/
β”‚
β”œβ”€β”€ venv/ # Python virtual environment
β”œβ”€β”€ env/ # Environment variables folder
β”œβ”€β”€ requirements.txt # Python package dependencies
β”‚
β”œβ”€β”€ medical_chatbot.py # Main Streamlit app entry point
β”œβ”€β”€ connect_with_llm.py # LLM integration logic
β”œβ”€β”€ memory_llm.py # Memory management for LLM
β”‚
β”œβ”€β”€ vectorstore/
β”‚ β”œβ”€β”€ index.faiss # FAISS vector index file
β”‚ └── index.pkl # Serialized embeddings or metadata
β”‚
β”œβ”€β”€ data/ # Medical PDFs or data files
β”‚
β”œβ”€β”€ .env # Environment variables file
└── README.md # Project documentation

```
---
## **Contributing** 🀝
Contributions are welcome! If you’d like to improve LetMeHeal, feel free to fork the repo and submit a pull request.

### **Steps to Contribute:**
**Fork the repository**
### **1. Create a new branch:**
```bash
git checkout -b feature-branch
```

### **2. Make your changes and commit:**

```bash
git commit -m "Added new feature"
```
### **3. Push to the branch:**
```bash
git push origin feature-branch
```
### **Open a Pull Request**
---
## **License** πŸ“œ
This project is licensed under the MIT License.

πŸ’‘ Developed with ❀️ by [Mohammad Hashim](https://github.com/mohammadhashim135/Let-Me-Heal)