3 ms·
I use the aichat [1] command line tool a lot for these sort of ad hoc chats. It takes piped input and has nice configurability for setting up a variety of syste
by anotherpaulg 3y ago
I use the aichat [1] command line tool a lot for these sort of ad hoc chats. It takes piped input and has nice configurability for setting up a variety of system prompts ("roles"), etc.
If you want to use GPT-4 to manipulate and edit files in your local file system, you can use my cli tool aider [2]. It’s intended for generating and editing code, but you can use it to chat with GPT-4 to read, edit and write any text files in your local. If the files are under git source control, it will commit the changes as they happen as well.
Here’s a transcript of aider editing the ANSI-escape codes in an asciinema screencast recording, for example[3].
[1] https://github.com/sigoden/aichat https://github.com/sigoden/aichat
[2] https://github.com/paul-gauthier/aider https://github.com/paul-gauthier/aider
[3] https://aider.chat/examples/asciinema.html https://aider.chat/examples/asciinema.html