Coder Social home page Coder Social logo

chat-bot-using-gpt-3.5-turbo's Introduction

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

chat-bot-using-gpt-3.5-turbo's People

Contributors

mnick-yt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chat-bot-using-gpt-3.5-turbo's Issues

Context

Hello, please tell me what to do so that the chatbot can remember the context of previous messages and use this information in response to requests.

Idk why

This happends whenever i try to run the HTML, I'm new to coding, and I watched the video, and I still don't know what to do

Picture of the problem
https://ibb.co/dLMRMFD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.