Domain-specific chatbot for fire safety. Fire Bot is a domain-specific chatbot designed to assist with fire safety-related inquiries. Leveraging the Gemini API, Fire Bot provides information on fire safety regulations, emergency procedures, and related topics.
- Fire Safety Information: Provides detailed answers on fire safety regulations, UL standards, fire alarm systems, evacuation procedures, and more.
- Interactive Chat: Engage in a conversation with the bot to get precise information on fire safety topics.
- Custom Responses: Designed to handle a wide range of questions specifically related to fire safety and emergency preparedness.
- Backend: Python with Flask for handling requests and integrating with the Gemini API.
- Frontend: HTML, CSS, JavaScript, and Bootstrap for creating a user-friendly chat interface.
- API: Gemini API for generating responses based on user queries.
To get started with Fire Bot, follow these steps:
-
Clone the Repository:
git clone https://github.com/Pree-04/Fire-Bot.git cd Fire-Bot
-
Install Dependencies: Create a virtual environment and install the required Python packages:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` pip install -r requirements.txt
-
Configure the API Key: Replace
YOUR API KEY
in theapp.py
file with your actual Gemini API key. -
Run the Application:
python app.py
Open your browser and go to
http://127.0.0.1:5000
to interact with Fire Bot.
- Ask Questions: Type your questions or queries related to fire safety, policies and precautions in the chat interface.
- Get Responses: Fire Bot will provide information and guidance based on the input you provide.
If you would like to contribute to the development of Fire Bot, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or issues, please contact:
- Email: preetha442004@gmail.com
- LinkedIn: https://www.linkedin.com/in/preetha-s-88820b235/
Thank you for using Fire Bot!