Commit graph

76 commits

Author SHA1 Message Date
Simon Willison
d2fcff3f3a llm logs on / off commands, refs #98 2023-07-11 19:48:16 -07:00
Simon Willison
875c6a9669 Initial llm logs status command, refs #98 2023-07-11 19:38:27 -07:00
Simon Willison
9a226a8b43 Discord badges, refs #97 2023-07-11 18:56:38 -07:00
Simon Willison
abfc9c69dc Response.fake() method
I'm using this in https://github.com/simonw/llm-gpt4all/issues/4
2023-07-11 11:08:15 -07:00
Simon Willison
f7364f406e Docs for llm.ModelError, refs #96 2023-07-11 10:55:28 -07:00
Simon Willison
3ee67c94e8 Updated tutorial for conversations, closes #94 2023-07-11 08:58:04 -07:00
Simon Willison
2554a06e36 Docs for llm.user_dir(), closes #83 2023-07-11 07:43:57 -07:00
Simon Willison
0d6f9e7038 Documented conversations for Python API, closes #85
Also removed now obsolete internal concepts documentation, may add something like this again later.
2023-07-11 07:33:42 -07:00
Simon Willison
56016aef59 Include conversations table in docs schema, refs #91 2023-07-11 07:21:22 -07:00
Simon Willison
2d3ebe7fe1 llm logs now uses new DB schema, refs #91 2023-07-11 07:21:22 -07:00
Simon Willison
54de7c4134 Updated help.md 2023-07-11 07:21:22 -07:00
Simon Willison
d2d7b6e808 Fix a warning about _static in docs builds 2023-07-10 21:45:07 -07:00
Simon Willison
aa37d3307f Example for logit_bias, closes #36 2023-07-10 15:43:44 -07:00
Simon Willison
bee1817284 Added a . for consistency 2023-07-10 15:32:07 -07:00
Simon Willison
898418a518 Fix for cogapp on Python 3.8, refs #82 2023-07-10 14:12:20 -07:00
Simon Willison
18f34b5df2 How to add docs to options, refs #82 2023-07-10 13:51:33 -07:00
Simon Willison
8f7c3a9797 llm models list --options - closes #82 2023-07-10 13:40:27 -07:00
Simon Willison
a2a97b6c7d Removed duplicated tutorial page 2023-07-10 13:39:59 -07:00
Simon Willison
d5743641e6 Expanded plugins/ docs into several pages
Refs #87
2023-07-10 12:48:25 -07:00
Simon Willison
4a46bf40b6 Capitalize Homepage in example pyproject.toml 2023-07-10 12:25:36 -07:00
Simon Willison
35827a5d43 Basic Python API usage instructions
Closes #75
2023-07-10 11:42:23 -07:00
Simon Willison
02a930dd8e Updated Gist example for tutorial 2023-07-10 08:31:50 -07:00
Simon Willison
199f7e0767 Renamed iter_prompt() to execute() and updated tutorial 2023-07-10 07:59:12 -07:00
Simon Willison
ccda1eec73 Switch tutorial from setup.py to pyproject.toml
Refs #53

Based on https://til.simonwillison.net/python/pyproject

Closes #81
2023-07-08 15:34:19 -07:00
Simon Willison
5e1b528ebb Snappier tutorial title 2023-07-07 08:13:45 -07:00
Simon Willison
40f3892e19 Fix lin to Gist in tutorial 2023-07-06 21:11:05 -07:00
Simon Willison
c1e3cbf2e9 Detailed tutorial on writing plugins 2023-07-06 20:38:12 -07:00
Simon Willison
f193468f76 llm install -e/--editable option 2023-07-05 17:58:19 -07:00
Simon Willison
49e4d688c6 Removed .stream() method in favor of .prompt(stream=False) 2023-07-04 07:50:31 -07:00
Simon Willison
307af2474c Fix column order in logs 2023-07-03 07:29:58 -07:00
Simon Willison
345ad0d2dc Implemented new logs database schema 2023-07-03 07:27:47 -07:00
Simon Willison
61dd8afc60 Drop the debug field from the logs, combine chunks from stream 2023-07-03 06:39:54 -07:00
Simon Willison
84b99f8baf -o/--option, implemented for OpenAI models - closes #63 2023-07-02 17:42:22 -07:00
Simon Willison
9a180e65a8 llm models default command, plus refactored env variables
Closes #76
Closes #31
2023-07-01 14:01:29 -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
2911975548 First attempt at internal API docs, refs #65 2023-07-01 08:50:39 -07:00
Simon Willison
ee748884d2 Ran cog, showing help for llm models command 2023-06-26 07:49:12 -07:00
Simon Willison
a380967c27 Link to license on main 2023-07-03 13:11:33 -07:00
Simon Willison
a4de29fe64 Plausible analytics, refs #79 2023-07-03 13:08:31 -07:00
Simon Willison
9f1085eece --save now stores -p as default parameters, closes #58 2023-06-23 07:51:50 -07: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
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