| # π©Ί MedicalBot | RAG, GPT-4.1-Nano, LangChain, Pinecone, Flask, Hugging Face | |
| ## π§ Overview | |
| **MedicalBot** is a **Retrieval-Augmented Generation** (**RAG**)βbased **medical chatbot** that leverages **GPT-4.1-Nano** as its core Large Language Model. | |
| It retrieves contextually relevant information from medical data using a **LangChain-powered RAG pipeline**, enabling **accurate and reliable medical responses** in real-time. | |
| The system combines **Hugging Face Sentence Embeddings** with **Pinecone Vector Storage** to achieve intelligent retrieval and contextual reasoning. | |
| It is deployed with **Flask** for an interactive web-based chatbot experience. | |
| > β οΈ **Disclaimer:** | |
| > MedicalBot is intended **for informational and educational purposes only**. | |
| > It should not be used as a substitute for professional medical diagnosis or treatment. | |
| --- | |
| ## βοΈ Technical Stack | |
| | Component | Technology | | |
| |------------|-------------| | |
| | π¬ Language Model | GPT-4.1-Nano | | |
| | π Retrieval Framework | LangChain | | |
| | π§ Embedding Model | Hugging Face Sentence Transformers | | |
| | π§© Vector Database | Pinecone | | |
| | π Web Framework | Flask | | |
| | βοΈ Hosting / Repository | Hugging Face Hub | | |
| --- | |
| ## π Key Features | |
| - π©Ή Retrieves **domain-specific medical answers** using RAG | |
| - β‘ **Fast and efficient** generation via GPT-4.1-Nano | |
| - π§ Improved reliability using **Pinecone vector search** | |
| - π **LangChain**-based retrieval and generation pipeline | |
| - π Supports **English** queries | |
| - π¬ Ready for integration into **Flask / FastAPI / Streamlit** chat interfaces | |
| --- | |
| ## π§Ύ Intended Use Cases | |
| - π©Ί Patient education and medical Q&A | |
| - 𧬠Clinical knowledge retrieval | |
| - π©Ή Healthcare training assistant | |
| - π§ AI-powered telemedicine support | |
| --- | |
| ## π¨βπ» Developed by | |
| **Md. Aiyub Ali** | |
| AI Engineer | HawkEyes Digital Monitoring Ltd. | |
| Expert in **Generative AI**, **RAG Systems**, and **Medical LLMs** | |
| π [Hugging Face Profile](https://huggingface.co/aiyubali) | |