文件历史

提交图

16 次代码提交

作者 SHA1 备注 提交日期
Simon Willison 214fcaaf86 Upgrade to run against OpenAI >= 1.0
* strategy: fail-fast: false - to help see all errors
* Apply latest Black

Refs #325
2024-01-25 22:00:44 -08:00
Simon Willison 4d46ebaa32 OpenAI completion models including gpt-3.5-turbo-instruct, refs #284 2023-09-18 18:34:32 -07:00
Simon Willison 0eeb8393ca llm models and llm templates default to list, closes #167 2023-08-19 20:04:14 -07:00
Simon Willison 2d3ebe7fe1 llm logs now uses new DB schema, refs #91 2023-07-11 07:21:22 -07:00
Simon Willison a421aab7f0 Renamed template.execute() to template.evaluate() and added type hints 2023-07-10 08:27:28 -07:00
Simon Willison 8f7450bd74 Fixed a test 2023-07-01 11:03:16 -07:00
Simon Willison 714b867e92 -s shortcut for --system, closes #69 2023-07-01 10:46:20 -07:00
Simon Willison 9f1085eece --save now stores -p as default parameters, closes #58 2023-06-23 07:51:50 -07:00
Sébastien De Revière 059bc1a5fe Handle error when no templates are found (#47)
Thanks, @sderev
2023-06-23 07:38:13 -07:00
Simon Willison f4ce9ea77d Applied Black 2023-06-18 09:48:49 +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 0e0be4db28 Better display of system and prompt, refs #44 2023-06-17 10:10:10 +01:00
Simon Willison b573096d59 Show system prompts in llm templates list, closes #44 2023-06-17 10:08:30 +01:00
Simon Willison 19e6945dde Fix newline issue in llm templates list, closes #42 2023-06-17 09:51:16 +01:00
Simon Willison 144ffc3f6b Prompt templates
Closes #23
2023-06-17 08:40:46 +01:00