A dynamic and responsive AI Chatbot built with Python, Flask, and neural networks. Designed to handle inquiries about services, bookings, and customer support with ease and accuracy.
- Real-time Interaction: Engage with users through a conversational interface.
- Custom Neural Network: Powered by a bespoke model for natural language understanding.
- Easy Integration: Seamless incorporation into websites or applications.
- Scalable & Flexible: Designed to grow with your business needs.
- API Testing with Postman: Easily test and interact with the chatbot API.
-
Clone the Repository
git gh repo clone Gayan-Sachintha/Riverston-Life-AI-Chatbot-flask cd yourprojectname
-
Create a Virtual Environment (Optional)
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Requirements
pip install -r requirements.txt
-
Set Up Environment Variables
Create a
.env
file in the project root directory and add the necessary configurations.
Start the server with the following command:
python app.py
The chatbot is now live at http://localhost:5000/
. Interact with the chatbot through the provided endpoints.
To test the chatbot API with Postman, follow these steps:
-
Install Postman
Download and install Postman from the official site.
-
Import Collection
Create a new collection in Postman for your chatbot APIs.
-
Create a POST Request
- URL:
http://localhost:5000/predict
- Body type:
raw
(JSON) - Request Body Example:
{"message": "Hello"}
- URL:
-
Send Request
Hit the send button to receive a response from your chatbot.
This setup allows you to easily test and debug your chatbot's responses.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-yourfeaturename
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-yourfeaturename
. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
For support or inquiries, reach out to us at gayansachintha2000@gmail.com
.