chatgpi-cli

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 9 Imported by: 0

README

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 {your message}

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL