https://github.com/zeeshanali90233/medical-chatbot-gen-ai
Medical-Chatbot-Gen-AI is an AI-driven chatbot built with Python, Llama3, Langchain, and Flask, providing users with accurate, context-aware medical advice through advanced AI models and a vast knowledge base.
https://github.com/zeeshanali90233/medical-chatbot-gen-ai
chatbot flask langchain llama medical pip python3 rag
Last synced: about 2 months ago
JSON representation
Medical-Chatbot-Gen-AI is an AI-driven chatbot built with Python, Llama3, Langchain, and Flask, providing users with accurate, context-aware medical advice through advanced AI models and a vast knowledge base.
- Host: GitHub
- URL: https://github.com/zeeshanali90233/medical-chatbot-gen-ai
- Owner: zeeshanali90233
- Created: 2024-08-13T21:44:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-16T17:52:55.000Z (4 months ago)
- Last Synced: 2025-01-16T19:06:46.286Z (4 months ago)
- Topics: chatbot, flask, langchain, llama, medical, pip, python3, rag
- Language: Jupyter Notebook
- Homepage: https://www.youtube.com/@learnwithaliengineer
- Size: 55.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Medical-Chatbot-Gen-AI π₯π€
Welcome to **Medical-Chatbot-Gen-AI**, a sophisticated medical chatbot built using Python, Llama3, Langchain, Flask, and Retrieval-Augmented Generation (RAG) architecture. This project aims to provide an interactive platform where users can get medical-related advice and information through an AI-powered chatbot. The chatbot is integrated with the Llama3 model and utilizes RAG for enhanced responses based on a large corpus of medical knowledge.
## Features π
- **AI-Powered Medical Chatbot**
- Provides medical advice and information based on user queries.
- Utilizes advanced AI techniques to improve accuracy and relevance.- **Llama3 Integration**
- Uses the Llama3 model for generating natural language responses with medical knowledge.
- Llama3 powers the core of the chatbot's ability to answer complex queries.- **Langchain Support**
- Utilizes Langchain to manage conversational flows and integrate multiple tools for a seamless user experience.- **Retrieval-Augmented Generation (RAG)**
- Enhances the chatbotβs capabilities by retrieving relevant information from a medical knowledge base and generating context-aware responses.- **Flask Web Interface**
- A simple and intuitive Flask-based web interface to interact with the chatbot.- **Medical Knowledge Base**
- Integration with publicly available medical datasets or custom medical knowledge bases for accurate and reliable information.## Tech Stack π οΈ
- **Python**: The core programming language for building the application.
- **Flask**: Web framework to deploy the chatbot and provide the web interface.
- **Llama3**: A powerful language model for generating AI-driven responses.
- **Langchain**: Tool for managing conversational workflows and integrating external data sources.
- **RAG (Retrieval-Augmented Generation)**: A technique to retrieve relevant information from a knowledge base for more accurate responses.
- **Medical Knowledge Base**: The backend database for storing medical information (can be customized).## Prerequisites π
Before you begin, ensure you have the following installed:
1. **Python 3.x**
2. **pip** for package management
3. **Flask**
4. **Langchain**
5. **Llama3 (or your preferred model)**
6. **OpenAI or any other LLM API key (for integration)**## Installation π
Follow the steps below to set up the project on your local machine.
### 1. Clone the Repository
```bash
git clone https://github.com/zeeshanali90233/Medical-Chatbot-Gen-AI.git
cd Medical-Chatbot-Gen-AI