diff --git a/docs/changelog.md b/docs/changelog.md index ca34cc0..d3a6400 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -3,6 +3,7 @@ ## Unreleased - `llm "prompt" --save template` option for saving a prompt directly to a template. [#55](https://github.com/simonw/llm/issues/55) +- Prompt templates can now specify {ref}`default values ` for parameters. Thanks, Chris Mungall. [#57]([https://github.com/simonw/llm/issues/57](https://github.com/simonw/llm/pull/57)) (v0_4_1)= ## 0.4.1 (2023-06-17) diff --git a/docs/templates.md b/docs/templates.md index 17bac36..330ad4d 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -141,6 +141,7 @@ I got this: > My previous test subject seemed to have learned something new about iMovie. They exported keynote slides as individual images [...] Quite impressive for a human. +(prompt-default-parameters)= ## Specifying default parameters You can also specify default values for parameters, using a `defaults:` key.