Shell script to use OpenAI’s ChatGPT and DALL-E from the terminal. More information: https://github.com/0xacx/chatGPT-shell-cli.
chatgpt
chatgpt {{[-p|--prompt]}} "{{What is the regex to match an email address?}}"
gpt-3.5-turbo):chatgpt {{[-m|--model]}} {{gpt-4}}
chatgpt {{[-i|--init-prompt]}} "{{You are Rick, from Rick and Morty. Respond to questions using his mannerism and include insulting jokes.}}"
chatgpt as a prompt:echo "{{How to view running processes on Ubuntu?}}" | chatgpt
chatgpt {{[-p|--prompt]}} "{{image: A white cat}}"