Skip to content

Simple chatbot implemented using TensorFlow and Natural Language Processing (NLP) techniques. The chatbot is trained on a predefined set of data and can respond to user inputs accordingly.

Notifications You must be signed in to change notification settings

KhaledAlabssi/Buzzy_the_Chatbot

Repository files navigation

Buzzy the Chatbot

Description

Simple chatbot implemented using TensorFlow and (NLP). The chatbot is trained on a predefined data and can respond to inputs accordingly.

File Structure

  • preparation.py: => load, preprocess data, and save data.
  • training.py: => build and train the model.
  • util.py: => processing sentences and making predictions.
  • app.py: => execute the training and test the chatbot.

Requirements

  • Python 3.x
  • TensorFlow
  • NLTK
  • NumPy
  • Pickle

Installation

  1. Clone the repository:

    git clone https://github.com/KhaledAlabssi/Buzzy_the_Chatbot.git
    cd Buzzy_the_Chatbot
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Prepare the intents file (intents.json) with the training data "data examples" are shared in (internts.example.json).

  2. Run the main script to train the model:

    python app.py
  3. The trained model will be saved as chatbot_model.h5, and the processed data will be saved as words.pkl and classes.pkl.

Get in Touch

LinkedIn: linkedIn.com/in/Khaled-Alabssi

GitHub: github.com/KhaledAlabssi

Website: khaled.alabssi.com

Happy Coding!

About

Simple chatbot implemented using TensorFlow and Natural Language Processing (NLP) techniques. The chatbot is trained on a predefined set of data and can respond to user inputs accordingly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages