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

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.

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