https://github.com/rayyan9477/chatbot-genrative-ai
This project is an end-to-end medical chatbot powered by Generative AI. The chatbot is designed to assist users with medical-related queries by leveraging advanced natural language processing (NLP) techniques. It uses a combination of Pinecone for vector storage
https://github.com/rayyan9477/chatbot-genrative-ai
chatbot genrative-ai machine-learning nlp nlp-machine-learning openai
Last synced: 3 months ago
JSON representation
This project is an end-to-end medical chatbot powered by Generative AI. The chatbot is designed to assist users with medical-related queries by leveraging advanced natural language processing (NLP) techniques. It uses a combination of Pinecone for vector storage
- Host: GitHub
- URL: https://github.com/rayyan9477/chatbot-genrative-ai
- Owner: Rayyan9477
- License: mit
- Created: 2024-10-11T21:10:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T19:39:15.000Z (7 months ago)
- Last Synced: 2025-01-10T06:06:25.024Z (5 months ago)
- Topics: chatbot, genrative-ai, machine-learning, nlp, nlp-machine-learning, openai
- Language: Jupyter Notebook
- Homepage:
- Size: 10.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Medical Chatbot with Generative AI
## Project Description
This project is an end-to-end medical chatbot powered by Generative AI. The chatbot is designed to assist users with medical-related queries by leveraging advanced natural language processing (NLP) techniques. It uses a combination of Pinecone for vector storage, OpenAI for language generation, and various other technologies to provide accurate and concise answers to user questions.
### Technologies Used
- **Python**: The core programming language used for development.
- **Flask**: A lightweight WSGI web application framework for serving the chatbot.
- **Pinecone**: A vector database for storing and querying embeddings.
- **OpenAI**: For generating responses to user queries.
- **LangChain**: For managing the interaction between the chatbot and the vector database.
- **Hugging Face Transformers**: For embedding generation.
- **Bootstrap**: For responsive and modern UI design.
- **jQuery**: For handling AJAX requests and DOM manipulation.## Screenshot

## How to Run/Use This Project
### Steps:
1. **Clone the Repository**
```bash
git clone https://github.com/Rayyan9477/End-to-End-Medical-Chatbot-Gen-AI.git
cd End-to-End-Medical-Chatbot-Gen-AI
```2. **Create a Conda Environment**
```bash
conda create -n medibot python=3.12 -y
conda activate medibot
```3. **Install Dependencies**
```bash
pip install -r requirements.txt
```4. **Set Up Environment Variables**
Replace the placeholder API keys in the `app.py` and `store_index.py` files
```
PINECONE_API_KEY=your_pinecone_api_key
OPENAI_API_KEY=your_openai_api_key
```5. **Run the Application**
```bash
python app.py
```6. **Access the Chatbot**
Open your web browser and go to `http://localhost:8080` to start using the chatbot.
## Replace API Keys
Replace the placeholder API keys in the `app.py` file
```
PINECONE_API_KEY=your_pinecone_api_key
OPENAI_API_KEY=your_openai_api_key
```## Contact Me
- **GitHub**: [Rayyan9477](https://github.com/Rayyan9477)
- **LinkedIn**: [Rayyan Ahmed](https://www.linkedin.com/in/rayyan-ahmed9477/)
- **Email**: [[email protected]](mailto:[email protected])