ChatterPipe is a CLI tool that lets you interact with powerful language models like GPT-4 to summarize text files. Just provide a text file as input and let ChatterPipe do its magic!
Install ChatterPipe using cargo:
cargo install chatterpipe
Before using ChatterPipe for the first time (or at any time of your choice), run the setup command to configure your custom parent prompt.
The default prompt is as follows:
Summarise the following in 300 tokens or less. Give your best attempt
Run ChatterPipe with the following command:
ctp <text_file_path> [--engine <engine>] [--raw]
Where:
- --raw
is an optional flag to print the raw API response. Useful for debugging.
ctp myfile.txt --engine g4
For example:
export OPENAI_API_KEY=<your_api_key_here>
Don't have an API key? Sign up at https://beta.openai.com/signup/
For more information on the OpenAI API, visit https://beta.openai.com/docs/
This project is licensed under the MIT License. See the LICENSE file for details.
Happy summarizing!