Skip to content

badrusiddique/chat-gpt-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chat-gpt-bot

This repository contains a simple C# chatbot powered by OpenAI's ChatGPT. The chatbot utilizes the RestSharp and Newtonsoft.Json libraries to interact with the ChatGPT API and process user input.

How to Use

  1. Clone this repository or copy the provided code.
  2. Ensure you have the required NuGet packages installed:
    • RestSharp
    • Newtonsoft.Json
  3. Replace the placeholder API key in the Main method with your ChatGPT API key.
  4. Run the application to start interacting with the ChatGPT chatbot.

Step by Step guide

  1. Log in to your OpenAI account.
  2. Go to the “View API Keys” section
  3. Click on “Create API Key” and give it an appropriate name.
  4. Copy the API key, as you’ll need it later.
  5. Keep your API key secure, as it grants access to your ChatGPT API usage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages