/botgpt

Primary LanguageJavaScript

Chat GPT CLI bot

botgpt-intro.gif

How to use:

Install

npm i -g botgpt

Initiate with below command

botgpt

If you just want to try it out without installing

npx botgpt

Note: Please make sure you have nodejs installed

Development

git clone https://github.com/navjotdhanawat/botgpt.git
cd botgpt
npm i
npm start

How to get OpenAI API Key:

This guide provides step-by-step instructions on how to obtain an API key for OpenAI's services.

Step 1: Create an OpenAI Account

If you don't already have one, create an account on the OpenAI website by visiting openai.com. Click on the "Sign Up" button in the top right corner of the page.

Step 2: Choose Your Plan

Once you have an account, select the plan that best fits your needs. OpenAI offers a variety of plans, including a free plan that provides limited access to their API.

Step 3: Create an API Key

After you have selected a plan, go to the OpenAI dashboard by clicking on your username in the top right corner of the page and selecting Dashboard. From there, click on the API Keys tab on the left-hand side of the page.

Click on the "Create New API Key" button to generate your API key. Be sure to give your key a meaningful name, as you may need to identify it later.

Step 4: Store Your API Key

Once you have created your API key, be sure to store it in a secure location. You will need to provide this key when making API calls to OpenAI's services.

Step 5: Start Using OpenAI's Services

With your API key in hand, you can now start using OpenAI's services. Consult the documentation for the specific service you wish to use to learn how to make API calls.

That's it! You now know how to obtain an API key for OpenAI's services. Remember to keep your API key secure and do not share it with others.