Commit graph

419 commits

Author SHA1 Message Date
Simon Willison
4d18da4e11 Bump default gpt-3.5-turbo-instruct max tokens to 256, refs #284 2023-09-18 20:29:39 -07: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
356fcb72f6 NumPy decoding docs, plus extra tests for llm.encode/decode
!stable-docs

Refs https://discord.com/channels/823971286308356157/1128504153841336370/1151975583237034056
2023-09-14 14:01:47 -07:00
Simon Willison
d70c0dba43
llm-clip
!stable-docs
2023-09-13 16:43:46 -07:00
Simon Willison
59255fb71c
llm-cohere in plugin directory
!stable-docs
2023-09-13 16:40:34 -07:00
Simon Willison
33dee4762e llm embed-multi --batch-size option, closes #273 2023-09-13 16:33:27 -07:00
Simon Willison
b9478e6a17 batch_size= argument to embed_multi(), refs #273 2023-09-13 16:24:04 -07:00
Simon Willison
57fcf7e7e7
Show case llm-mlc and Llama 2 in the README, closes #276 2023-09-13 16:05:09 -07:00
Simon Willison
6c43948325 llm.user_dir() creates directory if needed, closes #275
Would have fixed this bug too:
- https://github.com/simonw/llm-sentence-transformers/issues/9
2023-09-13 15:58:18 -07:00
Simon Willison
4711336800
Tightened up README 2023-09-13 14:47:28 -07:00
Simon Willison
b6efc954de
Link to latest blog entry from README 2023-09-13 12:15:38 -07:00
Simon Willison
ed89490492 Link to new blog post
!stable-docs
2023-09-12 14:16:23 -07:00
Simon Willison
a44d025233 Fixed markdown glitch on changelog
!stable-docs
2023-09-12 12:17:52 -07:00
Simon Willison
e83d205778 Release 0.10
Refs #225, #229, #231, #254, #256, #259
2023-09-12 12:11:25 -07:00
Simon Willison
603da35e37 Fixed flaky order tests, refs #271 2023-09-12 11:37:36 -07:00
Simon Willison
e6dac1a1bd Documentation for building binary embedding plugins, refs #264 2023-09-12 11:32:12 -07:00
Simon Willison
4952a8d119 llm similar --binary, closes #269 2023-09-12 11:23:31 -07:00
Simon Willison
506de80f69 Renamed binary.md to storage.md and documented --binary embeddings, refs #264 2023-09-12 11:15:17 -07:00
Simon Willison
eea7b4e0fb Various documentation copy improvements, refs #264 2023-09-12 11:04:45 -07:00
Simon Willison
946f072cc0 llm install -U llm for Homebrew 2023-09-12 10:47:13 -07:00
Simon Willison
9e529bb36a Wrap !multi in single quotes, for consistency with exit/quit 2023-09-12 10:45:02 -07:00
Simon Willison
37f85b3a1f Document model options in Python API, closes #187 2023-09-12 10:36:47 -07:00
Simon Willison
f54f2c659d response.__str__ method, closes #268 2023-09-12 10:36:29 -07:00
Simon Willison
9c33d30843 llm chat !multi support, closes #267 2023-09-12 09:31:20 -07:00
Simon Willison
22a59f795e llm collections defaults to llm collections list, close #265 2023-09-11 23:08:11 -07:00
Simon Willison
90ab024604 Release 0.10a1
Refs #229, #244, #247, #248, #254, #256, #259, #263
2023-09-11 22:57:54 -07:00
Simon Willison
591ad6f571 Revert "Reuse embeddings for hashed content, --store now works on second run - closes #224"
This reverts commit 267e2ea999.

It's broken, see:

https://github.com/simonw/llm/issues/224#issuecomment-1715014393
2023-09-11 22:56:52 -07:00
Simon Willison
267e2ea999 Reuse embeddings for hashed content, --store now works on second run - closes #224 2023-09-11 22:44:22 -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
dependabot[bot]
4fab55f253
Bump furo (#262)
Bumps the python-packages group with 1 update: [furo](https://github.com/pradyunsg/furo).

- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2023.08.19...2023.09.10)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 18:18:05 -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
b84f6f9ffd Docs for LLM_LOAD_PLUGINS, closes #256 2023-09-10 14:12:37 -07:00
Simon Willison
79b3cd8b72 Documented llm chat -o, closes #244 2023-09-10 13:46:55 -07:00
Alexis Métaireau
df32d7685d
Updated error message for invalid or missing embedding model (#257)
* Updated error message for missing embedding model

---------

Co-authored-by: Simon Willison <swillison@gmail.com>
2023-09-10 11:56:29 -07:00
Simon Willison
ab05023b30 Ran cog, refs #248 2023-09-10 11:49:32 -07:00
Simon Willison
5912bd47c0 --no-stream option for llm chat, closes #248 2023-09-10 11:47:38 -07:00
Simon Willison
2246e8f4fd Make tests robust against extra plugins, closes #258 2023-09-10 11:21:04 -07:00
Simon Willison
2fe12d5458 Ran cog, refs #244 2023-09-10 11:16:44 -07:00
Simon Willison
ae7f4f6de7 llm chat -o/--option - refs #244 2023-09-10 11:14:28 -07:00
Simon Willison
96906b99e9 'just mypy' command, refs #253 2023-09-09 12:19:59 -07:00
Simon Willison
4f1b59b67b Tiny change to force a docs update
!stable-docs

Refs #249
2023-09-08 17:59:27 -07:00
Simon Willison
d0f435af53 Fixed bug in llm embed-multi documentation, closes #249 2023-09-08 17:58:41 -07:00
Simon Willison
3c888082d4
click-default-group>=1.2.3
Refs:
- https://github.com/click-contrib/click-default-group/issues/21
2023-09-05 19:35:26 -07:00
Simon Willison
17e6402908 Fix bug with llm chat -c and API keys, closes #247 2023-09-05 19:26:21 -07:00
Simon Willison
b2fc0a11cf
Reference IDs
!stable-docs
2023-09-05 14:22:33 -07:00
Simon Willison
a66d47e106
Update Symbex section 2023-09-05 14:21:24 -07:00
Simon Willison
3164fde0fc
Typo 2023-09-05 00:21:30 -07:00
Simon Willison
dffbac4f48
Don't update stable docs on preview releases 2023-09-04 23:41:51 -07:00