jucasoliveira / terminalGPT
- понедельник, 16 января 2023 г. в 00:34:24
Get GPT like chatGPT on your terminal
Get GPT like chatGPT on your terminal
You'll need to have your own OpenAi
apikey to operate this package.
https://beta.openai.com/
Manage API Keys
+ Create new secret key
npx terminalgpt
npx terminalgpt chat
ps.: If it is your first time running it, it will ask for open AI key , paste generated key from pre-requisite steps
npx terminalgpt chat --engine "text-davinci-002" --temperature 0.7
## Changing api key
It you are not satisfy or ented a wrong api key , run
npx terminalgpt delete
Use the steps below:
Steps
Click here to fork this repo.
Clone your forked repo and create an example spec
# Replace `YOUR_GITHUB_USERNAME` with your own github username
git clone https://github.com/YOUR_GITHUB_USERNAME/terminalGPT.git terminalGPT
cd terminalGPT
# Add jucasoliveira/terminalGPT as a remote
git remote add upstream https://github.com/jucasoliveira/terminalGPT.git
# Install packages
npm install
On your terminal and type npm run chat
. Your terminalGPT will start.