Skip to content

Examples

Practical examples for each module in Prompt Refiner.

By Module

Cleaner Examples

Compressor Examples

Scrubber Examples

Analyzer Examples

Packer Examples (Advanced)

Complete Examples

Running Examples Locally

All examples are available in the examples/ directory:

# Clone the repository
git clone https://github.com/JacobHuang91/prompt-refiner.git
cd prompt-refiner

# Install dependencies
make install

# Run an example
python examples/packer/messages.py

Need Help?