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.
- 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.
Ensure you have the following installed:
- Python 3.8 or later
- Pip (Python package installer)
- Clone the Repository
git clone https://github.com/Mahdi-Meyghani/AI-Chatbot.git
cd AI-Chatbot
- Install Required Packages
- Install the necessary packages using requirements.txt:
-
pip install -r requirements.txt
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.
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.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements, bug fixes, or suggestions.
- OpenAI for providing the powerful language model API.
- PyQt6 for the GUI applications.