Skip to content

satyamtripathi8/Chatbot-Using-NLP

Repository files navigation

Chatbot with PyQt5 and TensorFlow

A conversational AI chatbot built using PyQt5 for the graphical user interface (GUI) and TensorFlow for the machine learning model. This chatbot can be used to interact with users, process their input, and provide relevant responses based on the trained model. It also features a smooth gradient background and interactive message bubbles.

Features

  • Interactive Chat Interface: A clean and interactive GUI built using PyQt5.
  • Gradient Background: A smooth gradient effect for a modern look.
  • Chatbot Responses: Bot responds to user input based on a trained deep learning model.
  • Enter Key Support: Users can send messages by pressing the Enter key, in addition to clicking the "Send" button.
  • Clear History: Users can clear the chat history by clicking the "Clear History" button.
  • Message Display: User and bot messages are displayed in distinct message bubbles for clarity.

Requirements

  • Python 3.x
  • TensorFlow (for the chatbot model)
  • PyQt5 (for the GUI)
  • NLTK (for text processing)
  • Scikit-learn (for label encoding)

Install Dependencies

You can install the required dependencies using pip:

pip install tensorflow pyqt5 nltk scikit-learn

Key Sections in the README:

  • Features: Highlights key features of your chatbot app.
  • Requirements: Lists the Python packages and tools needed to run the chatbot.
  • Usage: Provides installation and usage instructions, along with details on preparing files like chatbot_model.h5 and intents.json.
  • How It Works: Explains how the bot processes user input and generates responses.
  • Screenshots: Placeholder for a screenshot of your GUI to make it more attractive.
  • Contributing: Encourages other developers to contribute.
  • License: Mentions the license type (you can change it if needed).

Note:

  • You can modify the screenshot.png reference with an actual screenshot of your application if available.
  • If your repository uses a different license, update the License section accordingly.

Let me know if you need more adjustments!

About

This chatbot is an AI-powered conversational assistant built using TensorFlow and PyQt5. It features an interactive GUI with a smooth gradient background, and allows users to chat with the bot, receive responses, and clear chat history. It supports both "Send" button and Enter key for input submission.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages