prompt-recipe-smith¶
Prompt Recipe Smith helps users convert vague ideas into effective chat prompts. It provides small typed building blocks for recipes, templates, layered clarification questions, and plain text or JSON output.
Key Features¶
Prompt recipes: Define reusable prompt-building procedures with steps, defaults, examples, and up to three simple branches.
Layered questions: Ask up to three plain-language clarification questions before rendering a final prompt.
Prompt templates: Render fixed prompt forms while safely preserving missing variables for later completion.
CLI and Python API: Use the same recipe flow from the command line or from importable package objects.
Integration-friendly output: Export plain text for direct use and JSON for downstream tools.
Getting started¶
Contents:
- Installation
- Quickstart
- PromptRecipe
- PromptTemplate
- PromptSession
- PromptBuilder
- API Reference
- prompt_recipe_smith.PromptTemplate
- prompt_recipe_smith.PromptRecipe
- prompt_recipe_smith.PromptBranch
- prompt_recipe_smith.PromptQuestion
- prompt_recipe_smith.PromptResult
- prompt_recipe_smith.PromptSession
- prompt_recipe_smith.PromptBuilder
- prompt_recipe_smith.session.PromptSessionRunner
- prompt_recipe_smith.recipes.clarify_idea_recipe
- prompt_recipe_smith.output.to_plain_text
- prompt_recipe_smith.output.to_json
- Project Charter
- Design Direction
- Development
- Changelog
Demo notebook¶
Open the Google Colab demo notebook to try installation, one-shot prompt building, the three-question layered flow, multilingual answers, and JSON output.
For a deployed Django webpage that applies the package, see Prompt Generator.
Generated reference¶
Index, module index, and search pages may be generated by Sphinx or Read the Docs depending on the build environment.