0.2.0 • Published 1 year ago

@zwkang-dev/simple-chatgpt-cli v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@zwkang-dev/simple-chatgpt-cli

simple way to use openai api in cli, just ask question and get answer

Features

  • set local chatgpt api_key
  • simple way to ask chatgpt question
  • conversation mode

Try it now Install

npm install @zwkang-dev/simple-chatgpt-cli

# or
# just usage

npx ask-chatgpt

Usage

# set openai api_key
ask-chatgpt set <your_api_key>

# read openai api_key
ask-chatgpt read

# ask question
ask-chatgpt ask <your_question>

# conversation mode
ask-chatgpt conversation <your_question>
# or
ask-chatgpt co <your_question>

# clean conversation logger
ask-chatgpt conversation --reset
# or
ask-chatgpt co --reset

Q&A

if you want to have more feature, please create issue to ask for

LICENSE

MIT License © 2022 zwkang