In today's fast-paced world, access to healthcare information and services is essential for ensuring timely and effective medical assistance. With the growing demand for efficient healthcare solutions, we have developed a Medical Chatbot designed to revolutionize the way individuals interact with healthcare resources. Our chatbot is a friendly helper for health concerns, providing personalized advice, understanding of possible illnesses, and connecting users with healthcare info and resources.
In the healthcare domain, one of the significant challenges is the accessibility of medical information and guidance, especially in situations where individuals experience symptoms but may not have immediate access to healthcare professionals. This lack of accessibility can lead to uncertainty and anxiety about one's health status, potentially delaying necessary medical intervention and treatment. A chatbot solution is well-suited to address this challenge due to its 24/7 availability, instant response, personalized interaction, scalability, and educational capabilities.
- Data Integration
- Data Extraction
- Creating Chunks (Potentially Larger Than Token Size)
- Embeddings (Any Kind of Vector)
- Build Semantic Index (By Combining All the Vectors)
- Knowledge Base (Using Pinecone for Vector Store)
- Data Integration
- Data Extraction
- Creating Chunks (Potentially Larger Than Token Size)
- Embeddings (Any Kind of Vector)
- Build Semantic Index (By Combining All the Vectors)
- Knowledge Base (Using Pinecone for Vector Store)
Combining data from different sources or formats to provide a unified view of the data for analysis and processing.
Extracting specific information or data points from raw datasets or sources, including relevant medical information such as symptoms, diseases, and medical guidelines.
Breaking down large input texts into smaller chunks or segments for analysis, especially if the input exceeds the token limit of the model.
Representing a numerical representation of words or phrases in a continuous vector space to capture semantic meaning and relationships between words.
Constructing a semantic index or representation of the input data by combining the embeddings of individual words or phrases to efficiently retrieve relevant information.
A repository or database of structured information and knowledge stored in Pinecone for fast and efficient retrieval of relevant information by the chatbot.
Development of the frontend or web application interface using Flask, a lightweight web framework for Python, allowing quick and efficient creation of web applications.
- Programming Language: Python
- Frontend/Web App: Flask
- LLM - Meta Llama2: GPT 3.5 model used for processing and generating output responses based on user queries.
- Vector DB - Pinecone: Vector database for storing and querying embeddings or vector representations of medical concepts and data.
Watch our model demonstrating real-time usage of the Medical Chatbot
.
- Clone this repository.
- Install the required dependencies using
pip install -r requirements.txt
. - Run the Flask web application using
python app.py
. - Access the chatbot interface through your web browser.
- Ashish
- Gufran Ahmed
- Alifza Siddiqui
- Komal Varshney