Skip to content

crisdesivo/chatbot-ui

Repository files navigation

Chatbot UI with Different Modes using Python, Gradio, and OpenAI ChatGPT-Turbo

This project is a chatbot user interface (UI) that uses Python, Gradio, and OpenAI's ChatGPT-Turbo to provide different chatbot modes to users. ChatGPT-Turbo is a large language model trained by OpenAI that can generate human-like text based on given prompts.

Installation

To install this project, please follow the instructions below:

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/your-username/chatbot-ui.git
  1. Navigate to the project directory:
cd chatbot-ui
  1. Install the required dependencies using pip:
pip install -r requirements.txt

Usage

To run the chatbot UI, execute the following command:

python gradio_app.py

This will start a local web server, and you can access the chatbot UI by opening a web browser and navigating to http://localhost:7878/.

The chatbot UI provides different modes for users to interact with. Currently, the available modes are:

  • Question Answering mode: In this mode, users can ask the chatbot questions, and it will attempt to answer them based on its training data.
  • Storytelling mode: In this mode, users can give the chatbot a prompt, and it will generate a short story based on that prompt.
  • Poetry mode: In this mode, users can give the chatbot a prompt, and it will generate a short poem based on that prompt.

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Push your changes to your forked repository.
  5. Create a pull request to merge your changes into the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages