Commit graph

112 commits

Author SHA1 Message Date
Simon Willison
feff460496 Fix for pydantic warning, refs #74 2023-07-01 11:56:35 -07:00
Simon Willison
9ac120fae4 Upgrade to pydantic 2 using bump-pydantic, refs #74 2023-07-01 11:53:54 -07:00
Simon Willison
d26ed84939 Don't include tests/ in the package 2023-07-01 11:45:00 -07:00
Simon Willison
0f266d6657 Fix for missing package bug 2023-07-01 11:36:58 -07:00
Simon Willison
7485e0646e Use pip install -e '.[test]' 2023-07-01 11:32:38 -07:00
Simon Willison
9afc758cd7 Pass model to the Response 2023-07-01 11:29:41 -07:00
Simon Willison
6ef52172b0 Fixed timezone related test failure 2023-07-01 11:14:25 -07:00
Simon Willison
4d304d99e1 Fixed import error in llm openai models 2023-07-01 11:12:06 -07:00
Simon Willison
1b3f14fe89 Move default plugins into llm/default_plugins 2023-07-01 11:10:30 -07:00
Simon Willison
c4513068fb Disabled DB logging test for the moment 2023-07-01 11:07:10 -07:00
Simon Willison
14ce371007 Fix plugins tests to account for default plugins 2023-07-01 11:06: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
b9dd0a34db Ran cog for llm openai --help, refs #70 2023-07-01 10:40:11 -07:00
Simon Willison
c679d4d99e llm openai models command, closes #70 2023-07-01 10:39:24 -07:00
Simon Willison
c1938a4987 Fix for --key being beaten by env variable, closes #71 2023-07-01 10:33:49 -07:00
Simon Willison
52cedc03e0 CLI now uses new prompt/stream methods 2023-07-01 09:09:19 -07:00
Simon Willison
ffe4b6706d Model.stream() and .get_key() methods 2023-07-01 09:03:07 -07:00
Simon Willison
2911975548 First attempt at internal API docs, refs #65 2023-07-01 08:50:39 -07:00
Simon Willison
13fb4c2966 Refactor Template into templates.py 2023-07-01 08:27:45 -07:00
Simon Willison
5e056fad8a Implemented PaLM 2, to test out new plugin hook - refs #20 2023-06-26 08:25:01 -07:00
Simon Willison
5103f77c40 New mechanism for handling API keys for models 2023-06-26 08:05:48 -07:00
Simon Willison
ee748884d2 Ran cog, showing help for llm models command 2023-06-26 07:49:12 -07:00
Simon Willison
274126d9f8 WIP register_models() plugin hook, refs #53 2023-06-26 07:43:46 -07:00
Simon Willison
098d77905d main branch doesn't work with pydantic 2.0 yet 2023-07-03 13:12:33 -07:00
Simon Willison
a380967c27 Link to license on main 2023-07-03 13:11:33 -07:00
Simon Willison
72d1063621 Link to license on main 2023-07-03 13:10:30 -07:00
Simon Willison
a4de29fe64 Plausible analytics, refs #79 2023-07-03 13:08:31 -07:00
Simon Willison
cfa967abf7 Configure just for this project 2023-06-26 07:50:06 -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
Galen O’Hanlon
97daa001aa fix typo: 4-32k, not 4-16k (#61) 2023-06-23 07:37:09 -07:00
Simon Willison
e72311982d Added 4-16k shortcut 2023-06-21 07:45:22 +01:00
Simon Willison
879b416b52 Extra notes on backwards-incompatible changes in 0.4 2023-06-18 09:51:24 +01:00
Simon Willison
4cd012596a Fixed bad markdown 2023-06-18 09:49:45 +01:00
Simon Willison
f4ce9ea77d Applied Black 2023-06-18 09:48:49 +01:00
Simon Willison
8949a0c0c0 Applied cog 2023-06-18 00:12:32 +01: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
ac5fe2bd06 Upgrade instructions, refs #50 2023-06-17 22:54:11 +01:00
Simon Willison
82f70af175 Better link to regenerate workflow 2023-06-17 22:43:14 +01:00
Simon Willison
6c321a3a15 Release 0.4.1
Refs #42, #43, #44, #45, #50
2023-06-17 22:41:09 +01:00
Simon Willison
aefac5cc85 Badges on the documentation index page 2023-06-17 18:03:05 +01:00
Simon Willison
b89f0e9ecd Add plugins to index page, refs #49 2023-06-17 18:01:48 +01:00
Simon Willison
1be6230f1f llm install and llm uninstall, closes #51, refs #49 2023-06-17 17:55:53 +01:00
Simon Willison
441311a7a2 Updated help.md, refs #49 2023-06-17 17:46:58 +01:00
Simon Willison
a396950f79 Initial plugin framework and register_commands(cli) hook, refs #49 2023-06-17 17:42:13 +01:00
Simon Willison
88591998e4 Documented the release process
Refs #50
2023-06-17 16:48:01 +01:00
Simon Willison
48e1427ec9 Anchor links for changelog items 2023-06-17 16:16:45 +01:00