Blog Logo
TAGS

gptty - ChatGPT wrapper in your TTY

gptty is a ChatGPT shell interface that allows you to interact with ChatGPT in a manner similar to the web application, but without needing to rely on the web applications stability; preserve context across chat sessions and structure your conversations however you want; and save local copies of your conversations for easy reference. OpenAI makes a number of models available through their API. Currently, gptty supports Completions (davinci, curie) and ChatCompletions (gpt-3.5-turbo, gpt-4). You can install gptty on pip or from git. To configure gptty, you can read configuration settings from a file named gptty.ini, which the app expects to be located in the same directory that you are running gptty from unless you pass a custom config_file.