The Medical Chatbot is a Streamlit-powered virtual medical assistant that combines advanced NLP with appointment scheduling capabilities. Using retrieval-augmented generation (RAG) techniques and trusted medical references, it provides accurate medical information while facilitating seamless appointment bookings.
-
🤖 Intelligent Medical Q&A
- RAG-based information retrieval
- Trusted medical reference integration
- Context-aware responses
-
💬 Interactive Interface
- User-friendly Streamlit interface
- Empathetic conversation design
- Real-time response generation
-
📅 Appointment Management
- Keyword-triggered booking flow
- Automated scheduling system
- Confirmation notifications
-
🔒 Safety & Compliance
- Medical disclaimers
- Educational purpose clarity
- Professional guidance emphasis
medical-chatbot/
├── app.py # Main Streamlit application
├── requirements.txt # Project dependencies
├── code.py # Code without GUI
- Python 3.7+
- OpenAI API key
- Modern web browser
- Clone the repository:
git clone https://github.com/Siddhant231xyz/Medical-ChatBot.git
cd Medical-ChatBot
- Create virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Configure OpenAI API:
export OPENAI_API_KEY='your-api-key-here'
- Start the application:
streamlit run app.py
- Interact with the chatbot:
- Ask medical questions
- Type "appointment" for booking
- Review responses with disclaimers
-
Document Processing
- PDF text chunking
- Vector store indexing
- Semantic search capability
-
Conversation Flow
- Query understanding
- Context retrieval
- Response generation
- Appointment integration
- Connect to GitHub repository
- Configure environment variables
- Deploy application
- Heroku
- AWS
- Google Cloud
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
- streamlit
- langchain-openai
- langchain-core
- langchain-community
- langchain-text-splitters
- langgraph
This project is licensed under the MIT License - see the LICENSE file for details.
Created with ❤️ by Medical ChatBot Team