0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 150 forks source link

Add chat completion #23

Closed biaocy closed 1 year ago

biaocy commented 1 year ago

See https://platform.openai.com/docs/api-reference/chat/create

0xacx commented 1 year ago

Thank you for this PR 🙏 Very fast reaction time, it was only released yesterday evening :) I am merging in this feature branch to add some changes and then merge to main.