Penny is a CLI tool for working with Large Language Models (LLMs) using OpenAI's API. It allows users to execute predefined prompts stored in the instructions
folder.
- Execute prompts from the
instructions
folder. - Search for available prompts.
- Pass input data to prompts via command-line or stdin.
To install the required dependencies, run:
pip install -r requirements.txt
-s
,--search
: Search for prompts in theinstructions
folder.-i
,--input
: The name of the prompt to execute.--input_data
: The input data to pass to the prompt.
To search for prompts in the instructions
folder, use the -s
or --search
flag:
python penny.py -s
penny -i example_prompt --input_data "Example input data"
You can also pass input data via stdin:
echo "Example input data" | penny -i example_prompt
src/
: Contains the main source code for the CLI tool.instructions/
: Contains the prompt files.penny.egg-info/
: Contains metadata about the project.requirements.txt
: Lists the dependencies required for the project.setup.py
: Script for setting up the project.
This project is licensed under the MIT License. See the LICENSE file for details.
Joseph Blazick - [email protected]
Contributions are welcome! Please open an issue or submit a pull request for any changes.