🗣️ Chatty: 您的终端 ChatGPT 伙伴

直接从您的终端向 ChatGPT 提问!

CleanShot.2023-03-26.at.20.58.43.mp4

安装

目前有三种安装此应用的方式:homebrewmint直接从 Github 下载

Homebrew

brew install polpielladev/homebrew-tap/chatty-cli

Mint

mint install polpielladev/chatty-cli@main

手动安装

每当有新版本发布时,都会创建一个新的 Github 版本。您可以直接从发布页面下载最新版本的可执行文件。

使用方法

Chatty 与 OpenAI API 通信以使用 ChatGPT 模型。请注意,您必须拥有具有可用令牌的 API 密钥(免费或按需付费)。您可以在此处查看您的可用令牌。首次使用 chatty 时,您需要使用 auth 命令为其提供 API 令牌

chatty auth
CleanShot.2023-03-26.at.20.54.23.mp4

🔐 此令牌将安全地存储在 OSX 钥匙串中,并且仅在需要时读取。Chatty 仅在其执行期间知道令牌的值。

如果 chatty 已经被赋予令牌,您可以通过运行 chat 命令来开始对话

# Call chatty and use the default command (which is chat)
chatty

# Call chatty explicitly with the chat command
chatty chat