Thanks to visit codestin.com
Credit goes to github.com

Skip to content

technicalcohen/GPT-X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Simple Chat Bot with OpenAI API

This repository demonstrates how to build a simple chat bot using the OpenAI API. The chat bot uses prompt engineering techniques to generate conversational responses. By following the instructions below, you can create your own chat bot powered by OpenAI.

Prerequisites

Before getting started, make sure you have the following:

  • Python 3.7 or later installed
  • OpenAI Python library
  • OpenAI API key

Setup

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Install the required Python packages: OPENAI

  4. Get your OpenAI API KEY at https://platform.openai.com

  5. Set the OpenAI API key in the chatbot.py file

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Contact me

[email protected]

Releases

No releases published

Packages

No packages published

Languages