Commit graph

53 commits

Author SHA1 Message Date
Simon Willison
fb63c92cd2 llm logs -r/--response option, closes #431 2024-03-04 13:29:07 -08:00
Simon Willison
33dee4762e llm embed-multi --batch-size option, closes #273 2023-09-13 16:33:27 -07:00
Simon Willison
4952a8d119 llm similar --binary, closes #269 2023-09-12 11:23:31 -07:00
Simon Willison
22a59f795e llm collections defaults to llm collections list, close #265 2023-09-11 23:08:11 -07:00
Simon Willison
52cec1304b
Binary embeddings (#254)
* Binary embeddings support, refs #253
* Write binary content to content_blob, with tests - refs #253
* supports_text and supports_binary embedding validation, refs #253
2023-09-11 18:58:44 -07:00
mhalle
f07b291a78
change type of cli "embed -c" to be STR not FILE (#263)
* change type of cli "embed -c" to be STR not FILE

The type of the "content" argument was erroneously set to be FILE with a "type=click.Path(...)" argument, which content is a string.

---------

Co-authored-by: Simon Willison <swillison@gmail.com>
2023-09-11 18:17:34 -07:00
Simon Willison
5ba34dbe36 llm embed-db is now llm collections, refs #229 2023-09-10 14:24:27 -07:00
Simon Willison
6012f31e36 llm plugins --all option, closes #259 2023-09-10 14:18:16 -07:00
Simon Willison
ab05023b30 Ran cog, refs #248 2023-09-10 11:49:32 -07:00
Simon Willison
2fe12d5458 Ran cog, refs #244 2023-09-10 11:16:44 -07:00
Simon Willison
969a5d3364 Initial prototype of llm chat, refs #231 2023-09-04 23:36:25 -07:00
Simon Willison
45b380c3f1 Fix broken internal references in help.md 2023-09-04 17:08:30 -07:00
Simon Willison
78a0e9bd44 llm --files --encoding option and latin-1 fallback, closes #225 2023-09-04 12:28:31 -07:00
Simon Willison
5efb300c42 Release 0.9
Refs #192, #209, #211, #213, #215, #217, #218, #219, #222

Closes #205
2023-09-03 19:35:14 -07:00
Simon Willison
0da1ed7d98 --remove-default for llm embed-models default, refs #222 2023-09-03 16:40:00 -07:00
Simon Willison
c8c0f80441 --prefix for llm embed-multi, refs #215 2023-09-03 16:40:00 -07:00
Simon Willison
2440eb4f48 Help tweak and ran cog 2023-09-03 16:40:00 -07:00
Simon Willison
213e0b0c75 embed-db delete-collection command and .delete() method, closes #219 2023-09-03 12:55:48 -07:00
Simon Willison
26332045dd llm embed --metadata option, closes #209 2023-09-03 07:43:23 -07:00
Simon Willison
6b042a264a Fixed -i and -i - modes for llm embed command 2023-09-01 20:24:58 -07:00
Simon Willison
4be89facb5 Fixed and finished llm similar command, closes #190 2023-09-01 19:01:16 -07:00
Simon Willison
c25e7c4713 Ran cog, refs #190 2023-08-31 23:13:20 -07:00
Simon Willison
77cf56e54a
Initial CLI support and plugin hook for embeddings, refs #185
* Embeddings plugin hook + OpenAI implementation
* llm.get_embedding_model(name) function
* llm embed command, for returning embeddings or saving them to SQLite
* Tests using an EmbedDemo embedding model
* llm embed-models list and emeb-models default commands
* llm embed-db path and llm embed-db collections commands
2023-08-27 22:24:10 -07:00
Simon Willison
e959026051 llm keys command, closes #174 2023-08-20 23:11:47 -07:00
Simon Willison
0cd9333054 llm aliases defaults to llm aliases list, refs #154
Refs #167
2023-08-19 21:48:20 -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
a4f55e9987 --cid/--conversation option, docs for search - refs #160 2023-08-17 14:32:43 -07:00
Simon Willison
113df5dd87 llm logs now defaults to text output, use --json for JSON, use -c X for specific conversation
Refs #160
2023-08-17 13:57:18 -07:00
Simon Willison
945ed246da Updated cog help, refs #151 2023-08-12 09:15:46 -07:00
Simon Willison
7303bc3e34 Use cog prolog
Refs https://github.com/simonw/llm/issues/151#issuecomment-1675730608
2023-08-11 23:17:50 -07:00
Simon Willison
4980f5a7c0 llm aliases list command, refs #151 2023-08-11 22:57:30 -07:00
Simon Willison
609e8dead8 --no-cache-dir and --force-reinstall options, closes #146 2023-08-03 21:30:47 -07:00
Simon Willison
65d16663f5 Fix bug in --editable, closes #136 2023-07-25 22:21:20 -07:00
Simon Willison
178af27d95 llm logs list -q/--query option, closes #109 2023-07-15 16:20:28 -07:00
Simon Willison
ed8cd776a4 llm logs list -m model_id/alias option, closes #108 2023-07-15 15:55:13 -07:00
Simon Willison
54881ebfd5 Remove init-db command, refs #68 2023-07-11 21:38:14 -07:00
Simon Willison
fa67b3fdaf --log option, closes #68 2023-07-11 20:18:16 -07:00
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
54de7c4134 Updated help.md 2023-07-11 07:21:22 -07:00
Simon Willison
8f7c3a9797 llm models list --options - closes #82 2023-07-10 13:40:27 -07:00
Simon Willison
f193468f76 llm install -e/--editable option 2023-07-05 17:58:19 -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
ee748884d2 Ran cog, showing help for llm models command 2023-06-26 07:49:12 -07:00
Simon Willison
8949a0c0c0 Applied cog 2023-06-18 00:12:32 +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