A tool for combining system prompts designed for converting dictated text into various formats.
This repository contains a collection of system prompts designed for transforming dictated text into various formats such as to-do lists, calendar entries, business communications, job applications, and more. The application provides a way to combine these prompts in a modular fashion to create customized text transformation instructions.
- Convert Markdown system prompts to JSON format
- Browse and select prompts by category and subcategory
- Combine multiple prompts into a single, cohesive system prompt
- Modern, web-based Streamlit interface for easy prompt selection and combination
-
Clone this repository:
git clone https://github.com/danielrosehill/Text-Transformation-Prompt-Combiner.git cd Text-Transformation-Prompt-Combiner
-
Install the required dependencies:
pip install -r requirements.txt
To use the Streamlit interface:
python main.py
Or directly:
streamlit run app.py
The Streamlit interface provides a modern, web-based UI that allows you to:
- Browse prompts by category and subcategory
- Select multiple prompts to combine
- Preview the combined prompt
- Save the combined prompt to a file
The application uses a modular approach to combine system prompts:
- Basic Cleanup Prompt: This is the foundational element that's always included by default.
- Additional System Prompts: These can be included to enhance the specificity and effectiveness of the system prompts for particular use cases.
The prompt combination process follows these steps:
- The basic cleanup prompt is applied as the foundation
- Additional transformation layers are added based on your selections
- The combined transformation prompt is created by merging these elements
Some prompts require specific output formats (like JSON) and cannot be combined with other prompts. These are documented separately in structured_prompts.md.
system-prompts/
: Directory containing all the Markdown system promptsprompt_converter.py
: Utility for converting Markdown prompts to JSONprompt_combiner.py
: Core module for combining system promptsmain.py
: Main entry point for the applicationapp.py
: Streamlit interfacestructured_prompts.md
: Documentation for specialized structured prompts
To add new system prompts:
- Create a new Markdown file in the appropriate category directory under
system-prompts/
- Follow the format of existing prompts with a title (H1) and content
- Run the conversion tool to update the JSON database:
python cli.py convert