Package Exports
- @chenzhedev/askgpt
- @chenzhedev/askgpt/src/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chenzhedev/askgpt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@chenzhedev/askgpt
@chenzhedev/askgpt 是一个基于OpenAI的ChatGPT模型的命令行工具,可用于与ChatGPT进行对话。您可以通过输入文本与ChatGPT进行对话,获取ChatGPT生成的回复。
安装
npm install @chenzhedev/askgpt -g yarn global add @chenzhedev/askgpt使用
- 设置 OPEN_API_KEY
askgpt -s <你的OPENAI API KEY>- 问答模式
askgpt 输入 exit结束问答