Pree-04 / Fire-Bot

Domain-specific chatbot for fire safety.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fire-Bot

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.

Features

  • 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.

Technology Stack

  • 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.

Installation

To get started with Fire Bot, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Pree-04/Fire-Bot.git
    cd Fire-Bot
  2. 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
  3. Configure the API Key: Replace YOUR API KEY in the app.py file with your actual Gemini API key.

  4. Run the Application:

    python app.py

    Open your browser and go to http://127.0.0.1:5000 to interact with Fire Bot.

Usage

  • 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.

Contributing

If you would like to contribute to the development of Fire Bot, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or issues, please contact:


Thank you for using Fire Bot!

About

Domain-specific chatbot for fire safety.

License:MIT License


Languages

Language:Jupyter Notebook 94.1%Language:HTML 3.0%Language:JavaScript 2.0%Language:CSS 0.9%