Skip to content

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

License

Notifications You must be signed in to change notification settings

monkrus/chat-bot-using-gpt-3.5-turbo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.7%
  • CSS 16.0%
  • Python 14.3%