/AI-Chatbot

This AI-powered chatbot enhances customer experience by providing instant responses to queries about menu items, special offers, and more. Built with Python, Flask, PyTorch, and NLTK. It integrates deep learning and natural language processing to understand and respond to user queries.

Primary LanguagePythonMIT LicenseMIT

Restaurant AI-Chatbot

Python Flask NLTK PyTorch Jinja2 HTML5 CSS3 JavaScript JSON

Welcome to the Restaurant Chatbot project! This chatbot is designed to assist customers with various queries related to your restaurant, such as menu items, special offers, opening hours, reservations, and more.

The chatbot utilizes deep learning (DL) and natural language processing (NLP) concepts.

It's built using Python for the backend and HTML, CSS, and JavaScript for the frontend.

Introduction

The Restaurant Chatbot is an AI-powered assistant that helps enhance customer experience by providing instant responses to common queries. It leverages machine learning techniques to understand user inputs and deliver appropriate responses, making it a valuable addition to any restaurant's digital presence.

Features

  • Greeting: Responds to basic greetings and initiates conversation.
  • Menu Information: Provides details about available menu items.
  • Special Offers: Shares information about current deals and special offers.
  • Opening Hours: Informs users about the restaurant's operating hours.
  • Location: Provides the restaurant's address and directions.
  • Reservations: Assists with table reservations.
  • Dietary Options: Informs about vegan, vegetarian, and gluten-free options.
  • Chef Specials: Shares details about the chef's special dishes.
  • Events: Provides information about hosting events and private parties.
  • Contact Information: Shares contact details for further inquiries.
  • Humor: Responds with jokes to entertain users.

Technologies Used

Backend

  • Python
    • Flask
    • NLTK (Natural Language Toolkit)
    • PyTorch (for training the NLP model)

Frontend

  • HTML
  • CSS
  • JavaScript

Other

  • Render: For hosting the frontend
  • JSON: For intent classification data

Setup Instructions

Backend Setup

  1. Clone the Repository:

    git clone https://github.com/CODING-Enthusiast9857/ai-chatbot.git
    cd ai-chatbot
  2. Set Up a Virtual Environment:

    python -m venv venv
    source venv/bin/activate  
    # On Windows use `venv\Scripts\activate`
  3. Install Dependencies:

    pip install flask torch nltk
  4. Run the Flask App:

    python app.py
  5. Running without Flask App:

    You can also run following commands to run it without having frontend

    python train.py
    python chat.py

Frontend Setup

Jinja2 template is used for frontend

License

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

Created by

Created with ๐Ÿค by Madhavi Sonawane.

Follow Madhavi Sonawane for more such contents.
๐Ÿ‡นโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡ญโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡ฆโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡ณโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡ฐโ€‹โ€‹โ€‹โ€‹โ€‹ ๐Ÿ‡พโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡ดโ€‹โ€‹โ€‹โ€‹โ€‹๐Ÿ‡บโ€‹โ€‹โ€‹โ€‹โ€‹ for visiting...!!

Happy CODING...!! ๐Ÿ’ป