A walkthrough of promptlibretto, a Python library + browser studio for designing prompts as portable JSON.
Instead of hardcoding prompt strings, you define a registry — sections of named items (personas, sentiment, examples, etc.) — and an assembly order that weaves them together at runtime. Swap a persona, change a sentiment, adjust the intensity slider, and the output changes without touching code.
The browser studio lets you tune selections and generate against your local Ollama. The Builder lets you construct registries from scratch with a live Example Prompt preview. Export the JSON and load it directly in your app — no codegen, no separate runtime format.
GitHub: https://github.com/sockheadrps/promptlibretto
Docs: https://sockheadrps.github.io/promptlibretto/
https://promptlibretto.readtheerror.com
Download
0 formats
No download links available.
PromptLibretto - A Consistent Prompt Construction Engine for steering LLMs | NatokHD