Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.44 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.44 KB

Chat-Bot-using-gpt-3.5-turbo

build a chatbot using the OpenAI's Chat GPT API "gpt-3.5-turbo" and Flasks Server.

Requirements

  1. Flask module to create a web server.
  2. OpenAI module to use it's API.
  3. OpenAI API key

Getting Started

To get started using this application, please follow the steps below:

  1. Install Python on your computer.
  2. Navigate to the directory where you have cloned this repository.
  3. Run the command pip install -r requirements.txt to install the necessary Python packages.
  4. Add your OpenAI API key to the app.py file. You can obtain an API key by signing up for OpenAI's API program.
  5. Run the command python app.py to start the application.

Usage

Once the application is running, you can use it to generate text based on a prompt that you provide. Simply enter a prompt and the application will use OpenAI's API to generate a response.

Contributions

We welcome contributions to this repository. If you have any improvements or suggestions, please feel free to create a pull request.

License

This repository is licensed under the MIT License. Please see the LICENSE file for more information.

Note:

i used chat gpt to generate all the code. for the front end side, you can write code as per your need to make it look different.

Demo

Check out this demo video to see the chatbot in action:

Demo video