WELLKINDLED is a simple healthcare blog with Vedic, an AI-powered chatbot built using Python and Flask. The chatbot answers basic health-related questions using a custom JSON knowledge base.
- 🩺 Healthcare blog sections with general health and mental wellness tips.
- 🤖 Vedic chatbot:
- Loads a local JSON knowledge base.
- Uses Python’s
difflibfor fuzzy matching to find similar questions. - Picks a random answer from possible responses.
- Can learn new answers when run in terminal mode.
- 💻 Clean, responsive web interface using HTML, CSS, and JavaScript.
- ✨ Smooth slide-up animations for new chat messages.
wellkindled/ ├── app.py ├── chatbot.py ├── database.json ├── templates/ │ └── index.html └── static/ ├── css/ ├── js/ ├── images/
-
Clone the repository: git clone https://github.com/abhie021/Wellkindled.git cd wellkindled
-
(Optional) Create a virtual environment: python -m venv venv source venv/bin/activate # Linux/macOS venv\Scripts\activate # Windows
-
Install dependencies: pip install Flask
-
Run the app: python app.py
-
Open http://127.0.0.1:5000 in your browser.
- Loads
database.jsonwith predefined questions and answers. - Uses
difflib.get_close_matchesto find the closest matching question. - Returns a random matching answer.
- If no match is found (in terminal mode), the user can teach it a new response, which gets saved to the JSON file.
This project is for showcase and educational purposes only.
The chatbot’s information is based on general health tips from external sources and does not constitute professional medical advice.
Hemant Murkute
Open source for learning and demonstration.