chatgpt
Shell script to use OpenAI's ChatGPT and DALL·E from the terminal. More information: https://github.com/0xacx/chatGPT-shell-cli.
- Start in chat mode:
chatgpt
- Give a prompt to answer to:
chatgpt ""
- Start in chat mode using a specific model (default is
gpt-3.5-turbo):
chatgpt
- Start in chat mode with an initial prompt:
chatgpt ""
- Pipe the result of a command to
chatgptas a prompt:
echo "" | chatgpt
- Generate an image using DALL·E:
chatgpt ""
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
