Skip to content

tarathep/chatgpi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPI CLI

This is sample application to use chatgpt api via CLI Application

First Start

Download Binary file to execute (depend on OS)

execute with command.

chatgpt

or you can set path for easy to use.

Configurations

Set Environment variable to configuration.

GPT_CLI_APIKEY is ChatGPI API Key that request from https://platform.openai.com/account/api-keys

On Windows Powershell

$env:GPT_CLI_APIKEY='sk-xxxxxxxxxxxxxxxxxxxxxxxx'

On Unix Terminal

GPT_CLI_APIKEY=sk-xxxxxxxxxxxxxxxxxxxxxxxx

GPT_CLI_MODEL is ChatGPI Model to use (default is gpt-3.5-turbo)

On Windows Powershell

$env:GPT_CLI_MODEL='gpt-3.5-turbo'

On Unix Terminal

GPT_CLI_MODEL=gpt-3.5-turbo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages