Commit graph

6 commits

Author SHA1 Message Date
Simon Willison
9f1085eece --save now stores -p as default parameters, closes #58 2023-06-23 07:51:50 -07:00
Simon Willison
351b182da4 Changelog for template defaults, refs #57 2023-06-17 23:53:41 +01:00
Chris Mungall
482292b7d7 Add a defaults parameter to templates. (#57)
This allows default values to be filled for templates.

For example:
```yaml
prompt: Summarize this text in the voice of $voice
defaults:
  voice: GlaDOS
```
2023-06-17 23:49:27 +01:00
Simon Willison
0b65aefb6e llm prompt ... --save templatename shortcut, closes #55 2023-06-17 23:22:59 +01:00
Simon Willison
2d3d297103 Release 0.4
Refs #6, #13, #15, #16, #17, #21, #24, #25, #35, #37
2023-06-17 09:42:13 +01:00
Simon Willison
144ffc3f6b Prompt templates
Closes #23
2023-06-17 08:40:46 +01:00