chatgpt
Shell script to use OpenAI's ChatGPT and DALL·E from the terminal. tldr-pages
On several platforms
Several platforms
Start in chat mode
chatgptIdentifyGive a prompt to answer to
chatgpt --prompt "What is the regex to match an email address?"IdentifyStart in chat mode using a specific model (default is gpt-3.5-turbo)
chatgpt --model gpt-4IdentifyStart in chat mode with an initial prompt
chatgpt --init-prompt "You are Rick, from Rick and Morty. Respond to questions using his mannerism and include insulting jokes."IdentifyPipe the result of a command to chatgpt as a prompt
echo "How to view running processes on Ubuntu?" | chatgptIdentifyGenerate an image using DALL·E
chatgpt --prompt "image: A white cat"Identify