/Chatbot

An interactive chatbot using the OpenAI API.

Primary LanguagePython

Chatbot

An interactive chatbot using the OpenAI API.

Description

ChatGPT, since its introduction, has transformed our world. It has helped simplify tasks and improve the efficiency in performing day to day activities. The diverse nature of the responses and the in-depth knowledge has been appreciated by many across the globe. An attempt to design a simple chatbot using the OpenAI API has been made with this project.

The PyQt6 library has been utilized to design the user-interface. The OpenAI library has been used to facilitate the interaction between the user and the bot. The OpenAI API key has been incorporated in the backend python file to facilitate the input of user request and generation of the corresponding response. The front-end application and the chatbot design has been implemented using OOP concepts. Extensive usage of classes and methods is evident in the source code.

The two main libraries, PyQt6 and OpenAI can be installed using the following commands:

                                              pip install PyQt6
                                              pip install openai

Screenshot

A screenshot of the implementation of the Chatbot has been attached.

Untitled