An AI-powered chatbot built with Flask that helps users schedule, view, and cancel telemedicine appointments. It uses a simple yet effective interface powered by Tailwind CSS and stores data in CSV and JSON files.
telemed_bot/ ā āāā chatbot.py # Main Flask app āāā templates/ ā āāā index.html # Frontend UI āāā static/ ā āāā styles.css # Optional styling (Tailwind is CDN based) āāā data/ ā āāā doctors.json # List of doctors & slots ā āāā appointments.csv # Booked appointments āāā README.md
Clone the repo:
```bash git clone https://github.com/yourusername/telemed-chatbot.git cd telemed-chatbot
Install dependencies:
bash Copy Edit pip install flask Run the app:
bash Copy Edit python chatbot.py Open in browser: http://127.0.0.1:5000
šØļø How to Use Type any of the following in the chat box:
book, Dr. Sharma, 2025-06-03, 10:00
my appointments
cancel, Dr. Sharma, 2025-06-03, 10:00
š Future Improvements Add authentication for users
Use a proper database (SQLite or MongoDB)
Real-time chat with WebSockets
Doctor availability auto-update
šø Screenshots
š» Simple UI with modern design š Booked appointments list šļø Cancel functionality with error handling
š Contributing Pull requests are welcome. For major changes, please open an issue first.
š License MIT License Ā© 2025 Fahad Khan