Commit graph

404 commits

Author SHA1 Message Date
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
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
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
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
3533e7027d Release 0.10a0
Refs #225, #231
2023-09-04 23:40:39 -07:00
Simon Willison
0699bb5e27 Docs for llm chat, refs #231 2023-09-04 23:36:25 -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
a74f63f421
Link to blog post
!stable-docs
2023-09-04 15:28:48 -07:00
Simon Willison
ba2c9e60f1 Promote my new blog entry about LLM embeddings
!stable-docs
2023-09-04 13:42:01 -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
206e691844
llm-cluster
!stable-docs

Refs https://github.com/simonw/llm-cluster/issues/1
2023-09-04 09:36:56 -07:00
Simon Willison
62dd006099
Bold collection
!stable-docs
2023-09-04 08:30:45 -07:00
Simon Willison
a44e23876e
Fix broken example in docs (#223) 2023-09-03 20:53:51 -07:00
Simon Willison
2cc9b6087f Embedding models in plugin directory, refs #207 2023-09-03 19:39:10 -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
e6e1da321d Backfilled missing release notes from 0.8.1 2023-09-03 19:12:30 -07:00
Simon Willison
f842fbea49 Mention brute-force approach, link to vector indexing issue
Refs #216. Closes #214
2023-09-03 19:10:42 -07:00
Simon Willison
94f0a1a337 Promote embeddings in README/index, closes #210 2023-09-03 19:07:05 -07:00
Simon Willison
ee61cb0e22 Documentation for aliases for embedding models, closes #192 2023-09-03 18:00:14 -07:00
Simon Willison
2e90a30c4f Add embedding model aliases to llm aliases, refs #192 2023-09-03 17:55:56 -07:00
Simon Willison
3bf781fba2 Duplicate content is only embedded once, closes #217 2023-09-03 17:39:11 -07:00
Simon Willison
0eda99e91c Default embedding model finishing touches, closes #222 2023-09-03 17:21:47 -07:00
Simon Willison
8ce7046d13 Documentation for llm embed-multi, refs #215 2023-09-03 16:40:00 -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
06d35c890a Homebrew badge, closes #218 2023-09-03 11:50:18 -07:00
Simon Willison
a5d6b580ba Store content_hash in embeddings table, refs #217
Uses new migrations feature from https://github.com/simonw/sqlite-migrate/issues/9
2023-09-03 10:50:51 -07:00
Simon Willison
26332045dd llm embed --metadata option, closes #209 2023-09-03 07:43:23 -07:00
Simon Willison
b7e6c1675b Show SQL schema for embeddings in docs 2023-09-02 20:48:00 -07:00
Simon Willison
51488c579b Collection now defaults to in-memory DB, closes #213 2023-09-02 15:43:20 -07:00
Simon Willison
8bdaca1f31
orca-mini-7b in index.md
Refs #195
2023-09-02 11:47:06 -07:00
Simon Willison
e49c816e18 Drop llm.EmbeddingModel.embedding_size property, closes #208 2023-09-02 08:45:17 -07:00
Simon Willison
3d56d6cc24 Collection design tweaks + llm embed/similar now use it, closes #204 2023-09-02 08:30:56 -07:00
Simon Willison
6b042a264a Fixed -i and -i - modes for llm embed command 2023-09-01 20:24:58 -07:00
Simon Willison
3b2d5bf7f9 embed_multi and embed_multi_with_metadata, closes #202 2023-09-01 20:15:28 -07:00
Simon Willison
4be89facb5 Fixed and finished llm similar command, closes #190 2023-09-01 19:01:16 -07:00
Simon Willison
de6d257dde collection.similar now returns List[Entry], closes #203 2023-09-01 18:06:56 -07:00
Simon Willison
d2f3d319c2 Test and docs for collection.embed(metadata=), refs #203 2023-09-01 17:57:54 -07:00
Simon Willison
4955a5fa6c Docs and test for store=True, refs #203 2023-09-01 17:52:43 -07:00
Simon Willison
212cd617f3 Initial Python embeddings API docs, refs #191 2023-09-01 17:25:45 -07:00
Simon Willison
7a4429f100 Fix mypy errors
Refs https://github.com/simonw/llm/issues/191#issuecomment-1703266224
2023-09-01 13:14:59 -07:00
Simon Willison
c25e7c4713 Ran cog, refs #190 2023-08-31 23:13:20 -07:00
Simon Willison
817aff8bae Embeddings now happen in batches, closes #200 2023-08-31 22:27:06 -07:00
Simon Willison
02f671219e Improvements to embedding docs, refs #185 2023-08-31 21:55:39 -07:00
dependabot[bot]
d6cd3a0137
Bump sphinx and furo (#199)
Bumps the python-packages group with 2 updates: [sphinx](https://github.com/sphinx-doc/sphinx) and [furo](https://github.com/pradyunsg/furo).


Updates `sphinx` from 7.2.2 to 7.2.5
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.2...v7.2.5)

Updates `furo` from 2023.8.17 to 2023.8.19
- [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.17...2023.08.19)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: furo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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-08-31 20:36:03 -07:00
Chris Mungall
439f7951c3
Fix link to ttok repo (#198)
Thanks, @cmungall
2023-08-31 20:35:39 -07:00
Simon Willison
0cb9a2ea68 Suggest orca-mini-7b because ggml-vicuna-7b-1 is no longer available, closes #195 2023-08-31 20:30:46 -07:00
Simon Willison
5a9269a2ce
Typo 2023-08-31 16:58:02 -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
b5260b4eb0
llm-anyscale-endpoints
!stable-docs
2023-08-23 13:46:48 -07:00
Simon Willison
7744cf9b79
llm-openrouter in plugin directory
Closes #168

!stable-docs
2023-08-21 00:05:35 -07:00
Simon Willison
ebe2e08a1f Release 0.8
Refs #111, #147, #153, #154, #155, #158, #160, #167, #173, #174
2023-08-20 23:53:09 -07:00
Simon Willison
dff36f0edc Change of policy: keys.json over-rides environment variables, closes #158 2023-08-20 23:27:21 -07:00
Simon Willison
e959026051 llm keys command, closes #174 2023-08-20 23:11:47 -07:00
Simon Willison
b92c940e30 Usage documentation no longer assumes OpenAI 2023-08-20 23:01:52 -07:00
Simon Willison
c8e9565f47 Combine piped and argument prompts, closes #153 2023-08-20 22:57:29 -07:00
Simon Willison
1212cc9221 Related tools documentation, closes #111 2023-08-20 22:34:29 -07:00
Simon Willison
6aa2990892 This is directory.md now, refs #173 2023-08-20 22:24:21 -07:00
Simon Willison
6155f12c9c Move plugin directory into LLM repo, refs #173 2023-08-20 22:17:16 -07:00
Simon Willison
14536f447b Link to llm tag on my blog
Also test the new `stable` docs mechanism.
2023-08-20 21:54:17 -07:00
Simon Willison
edb1d4f01c Release 0.7.1
Refs #12
2023-08-20 21:33:22 -07:00
Simon Willison
3e39af0d67 Mention prompt templates in system prompts docs, closes #131 2023-08-19 22:23:08 -07:00
Simon Willison
f5ec484cf2 Fixed documentation heading level, refs #154 2023-08-19 22:12:02 -07:00
Simon Willison
c290b44d45 llm.remove_alias() function, refs #154 2023-08-19 22:06:51 -07:00
Simon Willison
8cdcf1e689 llm.set_alias() function, refs #154 2023-08-19 22:01:29 -07:00
Simon Willison
0cd9333054 llm aliases defaults to llm aliases list, refs #154
Refs #167
2023-08-19 21:48:20 -07:00
dependabot[bot]
bdae409a92
Bump Furo and Sphinx
* Bump the python-packages group with 1 update

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.07.26...2023.08.17)

---
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>

* sphinx==7.2.2

According to tip here:
- https://github.com/pradyunsg/furo/discussions/693#discussioncomment-6753629

Refs #161

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simon Willison <swillison@gmail.com>
2023-08-19 20:13:54 -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
9518515de0 Extra header configuration for openrouter.ai, refs #165 2023-08-19 18:53:49 -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
8bf27b34ee
llm.UnknownModelError docs, closes #155 2023-08-13 14:57:35 -07:00
Simon Willison
4f7629c309
Fixed typo in changelog 2023-08-12 10:20:08 -07:00
nakamichi
a802bfbbb0
Fix a typo (#148) 2023-08-12 09:40:14 -07:00
Simon Willison
3bfcfd57d2 Release notes for 0.7 2023-08-12 09:38:58 -07:00
Simon Willison
819d600973 Link to two more blog entries 2023-08-12 09:27:36 -07:00
Simon Willison
945ed246da Updated cog help, refs #151 2023-08-12 09:15:46 -07:00
Simon Willison
eef2ab0d79 Decided not to allow you to unset aliases from plugins, refs #151 2023-08-12 09:15:00 -07:00
Simon Willison
53289e3767 llm aliases remove command, refs #151 2023-08-12 09:05:02 -07:00
Simon Willison
4a68aa408a llm aliases path command, refs #151 2023-08-12 09:01:51 -07:00
Simon Willison
8fc9cd1902 llm aliasess set command, refs #151 2023-08-12 09:01:12 -07:00
Simon Willison
b8f8869778 llm aliases list --json option, refs #151 2023-08-12 08:52:57 -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
50d3b8b25b Don't include extra-openai-models.yaml when cogging aliases, refs #151 2023-08-11 23:14:44 -07:00
Simon Willison
a8059a24a9 Docs and tests for llm aliases list, refs #151 2023-08-11 23:00:20 -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
dependabot[bot]
c5adc59252
Bump the python-packages group with 1 update (#145)
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/2022.06.21...2023.07.26)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:production
  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-08-03 16:51:51 -07:00
Simon Willison
65d16663f5 Fix bug in --editable, closes #136 2023-07-25 22:21:20 -07:00
Simon Willison
3c2ef73f78
Remove Tutorial: prefix 2023-07-24 13:05:47 -07:00
Simon Willison
7ffce6a67b One last changelog entry for 0.6.1, refs #125 2023-07-24 08:46:08 -07:00
Jorge
be55a71b15
Fix for error in templates.md
Thanks @dokeet
2023-07-24 08:43:25 -07:00
Simon Willison
4484765efe Release 0.6.1
Refs #124
2023-07-24 08:41:05 -07:00
Simon Willison
ef35acdd5e brew install llm - refs #124 2023-07-24 08:36:50 -07:00
Simon Willison
9475413972
System prompts for Python API 2023-07-20 12:02:15 -07:00
Simon Willison
101795f858
Fixed bug in Markdown in release notes 2023-07-18 15:15:48 -07:00
Simon Willison
9a177abfd5 Release 0.6
Refs #106, #107, #108, #109
2023-07-18 14:36:37 -07:00
Simon Willison
acc0931a43
Link to Llama 2 blog entry 2023-07-18 14:24:32 -07:00
Simon Willison
178af27d95 llm logs list -q/--query option, closes #109 2023-07-15 16:20:28 -07:00
Simon Willison
75e40e7077 Enable FTS indexes on responses prompt and response columns, refs #109 2023-07-15 16:03:35 -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
723d349f4f Improved compatible models documentation, refs #106, #107 2023-07-15 15:44:53 -07:00
Simon Willison
e2072f7044 Ability to register additional OpenAI-compatible models
Closes #107, closes #106
2023-07-15 10:01:03 -07:00
Simon Willison
5dcfa6f13d Custom title for docs homepage, closes #105 2023-07-12 12:20:16 -07:00
Simon Willison
a6e3730b40
Fix zip link 2023-07-12 09:09:19 -07:00
Simon Willison
5970e1bcc2 Warn that Homebrew is much slower
Refs #102
2023-07-12 09:01:38 -07:00
Simon Willison
a3c079606c Release 0.5
Refs #31, #53, #55, #57, #63, #69, #70, #75, #76, #79, #82, #91, #98
2023-07-12 07:22:17 -07:00
Simon Willison
3afe82f7a6 New tagline, link to shortly-to-be-published blog entry, refs #88 2023-07-12 07:09:16 -07:00
Simon Willison
adcf691678 Documentation now talks about installing models more, closes #100 2023-07-12 07:01:01 -07:00
Simon Willison
7a7bb3aed6 More improvements to release notes, refs #99 2023-07-11 22:00:17 -07:00
Simon Willison
c08e47355c Added model plugins to 0.5 release notes, refs #99 2023-07-11 21:52:46 -07:00
Simon Willison
2017018d8f Bullet point release notes for 0.5 - refs #99 2023-07-11 21:42:54 -07:00
Simon Willison
93d61c5f6b Document --cid/--conversation, refs #91 2023-07-11 21:39:31 -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
05b4bcf57c Docs for llm logs on/off/status, closes #98 2023-07-11 20:09:07 -07:00
Simon Willison
833c4b4892 Mention -s on index of documentation, Closes #59 2023-07-11 20:00:47 -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
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
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
Simon Willison
5cb5be515f Homebrew installation instructions, closes #50 2023-06-17 16:15:43 +01:00
Simon Willison
96c8f5d342 llm is now styled LLM in the docs
Closes #45
2023-06-17 13:33:12 +01:00
Simon Willison
145c3ff14f Added more syntax highlighting 2023-06-17 10:21:30 +01:00
Simon Willison
9cd7fb757e Much improved setup documentation on API keys 2023-06-17 10:20:47 +01:00
Simon Willison
73a6fc036e Copy button for docs, closes #43 2023-06-17 09:55:02 +01:00
Simon Willison
2d3d297103 Release 0.4
Refs #6, #13, #15, #16, #17, #21, #24, #25, #35, #37
2023-06-17 09:42:13 +01:00
Simon Willison
b27c2cdac9 Rename log.db to logs.db, closes #41 2023-06-17 09:29:46 +01:00
Simon Willison
5e21195e93 Improvements to help, closes #40 2023-06-17 09:19:52 +01:00
Simon Willison
352d45a899 Documentation page showing --help for all commands, refs #40
Also a CI check for if cog needs running
2023-06-17 09:19:34 +01:00
Simon Willison
144ffc3f6b Prompt templates
Closes #23
2023-06-17 08:40:46 +01:00
Simon Willison
800659b0c0 Mave changelog into docs
Refs #28
2023-06-16 09:06:30 +01:00
Simon Willison
cd1e0f85e4 Fix schema display, refs #34 2023-06-16 08:57:53 +01:00
Simon Willison
43f2cbd2e3 Schema in logging.md docs, closes #35 2023-06-16 08:39:01 +01:00
Simon Willison
e6a1628b24 Remove -4, add shortcut mechanism, refs #17 2023-06-15 22:14:55 +01:00
Simon Willison
af8d596e63 Moved logs.db to user_data_dir, closes #27 2023-06-15 20:19:02 +01:00
Simon Willison
6545ce9da6 Stream by default, added--no-stream option, closes #25
Also finished the work needed to remove --code, refs #24
2023-06-15 18:49:11 +01:00
Simon Willison
d72ac8779a Remove --code feature, closes #24, refs #23, #17 2023-06-15 18:42:17 +01:00
Simon Willison
62b90d92bc Rename default openai command to prompt, refs #17 2023-06-15 18:36:14 +01:00
Simon Willison
b9865a5576 Multi-page docs using Markdown and Sphinx, refs #21
Also documents new keys.json mechanism, closes #13
2023-06-15 17:51:12 +01:00