文件历史

提交图

7 次代码提交

作者 SHA1 备注 提交日期
Simon Willison 93379d7986 Applied Black 2023-06-18 09:48:49 +01:00
Chris Mungall b5cd563b53 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 9d472cf7dc llm prompt ... --save templatename shortcut, closes #55 2023-06-17 23:22:59 +01:00
Simon Willison d8d22806cc Better display of system and prompt, refs #44 2023-06-17 10:10:10 +01:00
Simon Willison 8646c5ba11 Show system prompts in llm templates list, closes #44 2023-06-17 10:08:30 +01:00
Simon Willison fa8ffe0a52 Fix newline issue in llm templates list, closes #42 2023-06-17 09:51:16 +01:00
Simon Willison 6bb1d0324f Prompt templates
Closes #23
2023-06-17 08:40:46 +01:00