This repository contains a chatbot designed to answer questions about a firm's details and their medical services. The chatbot uses Flask for the backend and TensorFlow for machine learning functionalities.
- Provides detailed information about the firm.
- Describes the medical services offered.
- Python: Programming language.
- Flask: Lightweight web framework for backend development.
- Flask-CORS: Enables Cross-Origin Resource Sharing (CORS) support.
- TensorFlow: Machine learning framework.
- NLTK: Natural Language Toolkit for text processing.
-
Install Python
Make sure Python 3.8 is installed on your system. -
Create a Virtual Environment
python -m venv tf_env
-
Activate the Virtual Environment
On Windows:tf_env\Scripts\activate
On macOS/Linux:
source tf_env/bin/activate
-
Install Required Libraries
Install Flask and TensorFlow:pip install flask pip install tensorflow==2.13.0
Install Flask-CORS and NLTK:
pip install flask-cors pip install nltk
-
Run the Application
Start the Flask server:python app.py
-
Access the Chatbot
Open your browser and navigate to:http://127.0.0.1:5000
After running the application, use the chatbot interface in your browser to ask about the firm and its medical services. The chatbot is trained to understand and provide meaningful responses about the firm's offerings. Notice : The chatbot speaks german.
If you’d like to contribute:
- Fork the repository.
- Create a new feature branch.
- Commit your changes.
- Submit a pull request.