Hello HN! I'm excited to share my pet project, gpt-cli, a command-line interface for ChatGPT that makes interacting with the AI model easier and more customizable. This CLI tool enables you to chat with ChatGPT, choose between different assistants, and even create your own customized assistants by specifying the model, temperature, and top_p parameters. You can also set default configurations, making it a breeze to switch between assistants for various purposes like general assistance or software development advice.
gpt-cli provides a seamless experience with multi-line input and easy-to-use commands to control the conversation. It allows you to clear the conversation, regenerate the last response, or exit the session with simple keypresses. You can also override model parameters on the fly to fine-tune the AI's output. To get started, simply set the OPENAI_API_KEY environment variable or put it in the ~/.gptrc config file. Check out the README for more details on usage, configuration, and customization possibilities. I hope you find this tool helpful and fun to use, and I'm looking forward to your feedback and suggestions!
This post was generated by GPT-4 based on the project README.