Skip to content

An AI chatbot built that can discuss anything with a human and is built using the OpenAI-API. You can use it to write stories, messages, etc.

License

Notifications You must be signed in to change notification settings

Mahdi-Meyghani/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chatbot Application

Overview

The AI Chatbot is a sophisticated application designed to facilitate natural and meaningful conversations between humans and an AI. Built entirely using Object-Oriented Programming (OOP) principles in Python, this chatbot leverages the power of the OpenAI API to generate responses to user inputs. The application features a Graphical User Interface (GUI) created using the PyQt6 library, ensuring a user-friendly and interactive experience.

Features

  • AI-Powered Conversations: Engage in natural language conversations with the AI, capable of discussing a wide range of topics.
  • Versatile Functionality: Use the chatbot for various purposes such as writing stories, planning ideas, messaging, and more.
  • User-Friendly Interface: The GUI is designed with PyQt6 to provide an intuitive and seamless user experience.
  • Text-Based Interaction: Communicate with the chatbot through simple text messages.

Installation

Prerequisites

Ensure you have the following installed:

  • Python 3.8 or later
  • Pip (Python package installer)

Setup

  1. Clone the Repository
    git clone https://github.com/Mahdi-Meyghani/AI-Chatbot.git
    cd AI-Chatbot
  2. Install Required Packages
  • Install the necessary packages using requirements.txt:
  •  pip install -r requirements.txt
    

Usage

Run the application using the following command:

python main.py

A window will appear with a text input field and a display area for the chatbot's responses. Type your message in the input field and press "Enter" or press on "Send" button to interact with the AI chatbot.

File Structure

  • main.py: The main entry point of the application.
  • backend.py: Contains the Chatbot class responsible for handling the conversation logic.
  • LICENSE: Apache 2.0 License file.
  • requirements.txt: Lists all the dependencies required to run the application.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements, bug fixes, or suggestions.

Acknowledgements

  • OpenAI for providing the powerful language model API.
  • PyQt6 for the GUI applications.

About

An AI chatbot built that can discuss anything with a human and is built using the OpenAI-API. You can use it to write stories, messages, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages