提交

53 次代码提交

作者 SHA1 备注 提交日期
Simon Willison fe041c759c Update links to documentation site, closes #22
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.7) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
0.4
2023-06-17 09:44:06 +01:00
Simon Willison f9ed733cab Release 0.4
Refs #6, #13, #15, #16, #17, #21, #24, #25, #35, #37
2023-06-17 09:42:13 +01:00
Simon Willison 751725d03b Rename log.db to logs.db, closes #41 2023-06-17 09:29:46 +01:00
Benjamin Kirkbride 8030213bcc Add 16k models (#38)
also added a `3.5` alias
2023-06-17 09:22:52 +01:00
Simon Willison 1fc5f17bac Improvements to help, closes #40 2023-06-17 09:19:52 +01:00
Simon Willison 3b41f929e1 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 6bb1d0324f Prompt templates
Closes #23
2023-06-17 08:40:46 +01:00
Simon Willison b415aa0767 Mave changelog into docs
Refs #28
2023-06-16 09:06:30 +01:00
Simon Willison 392f865636 Fix schema display, refs #34 2023-06-16 08:57:53 +01:00
Simon Willison 229ac54caf Removed obsolete line 2023-06-16 08:53:20 +01:00
Simon Willison 2b1169cc81 Store debug info, closes #34 2023-06-16 08:51:56 +01:00
Simon Willison 586ce095c2 Schema in logging.md docs, closes #35 2023-06-16 08:39:01 +01:00
Simon Willison 4e4fc4c431 Removed obsolete imports 2023-06-15 23:20:58 +01:00
Simon Willison 879b894a64 Drop platformdirs in favor of click, closes #29 2023-06-15 22:53:21 +01:00
Simon Willison b4a5569e64 Removed last mentions of ~/.llm - refs #27 2023-06-15 22:44:47 +01:00
Simon Willison 68c3848eb3 Remove -4, add shortcut mechanism, refs #17 2023-06-15 22:14:55 +01:00
Simon Willison 0f88e927e1 No need for rowid in select any more 2023-06-15 22:09:19 +01:00
Simon Willison 8dd1b9225c Moved logs.db to user_data_dir, closes #27 2023-06-15 20:19:02 +01:00
Simon Willison 76dbbed051 Move logs.db to user_data_dir, refs #27 2023-06-15 19:59:08 +01:00
Simon Willison 82c1923283 New table schema, with new migrations system - closes #26 2023-06-15 19:33:31 +01:00
Simon Willison 1e4a855660 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 37a2aba3b8 Remove --code feature, closes #24, refs #23, #17 2023-06-15 18:42:17 +01:00
Simon Willison be2589a641 Rename default openai command to prompt, refs #17 2023-06-15 18:36:14 +01:00
Simon Willison d8c0dbe530 Link to latest docs because stable isn't live yet
Refs #21
2023-06-15 17:57:54 +01:00
Simon Willison 50f0b2a7f9 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
Simon Willison f454bcbe94 Better error message for invalid API key 2023-06-15 17:38:25 +01:00
Simon Willison 17d27ee861 Now uses API key from keys.json, refs #13 2023-06-15 17:22:13 +01:00
Simon Willison e8b1b08104 llm keys set and llm keys path commands, refs #13 2023-06-15 09:14:26 +01:00
Simon Willison 293f306a5e Initial test for 'llm prompt' command, closes #18 2023-06-14 18:32:48 +01:00
Simon Willison c280042a88 Rename chatgpt to openai, refs #17 2023-06-14 18:19:41 +01:00
Simon Willison 32923f659c Added default model back in again, refs #6 2023-06-14 07:52:15 +01:00
Simon Willison 1784b5808b Use same model for ongoing conversation, refs #6 2023-06-14 07:44:13 +01:00
Simon Willison 2d53e2cd29 -c/--continue and --chat options plus documentation, refs #6 2023-06-14 07:39:37 +01:00
Simon Willison 708609480f Docs for -t/--truncate, refs #16 2023-06-14 07:29:07 +01:00
Simon Willison 8052428e99 llm logs -t/--truncate and rowid display, closes #16 2023-06-14 07:27:07 +01:00
Simon Willison acb6779c26 Ensure chat_id is added at log time too, refs #6 2023-06-14 07:08:46 +01:00
Simon Willison c91567afcc Renamed chat_id to _continue, refs #14, #6 2023-06-14 07:05:50 +01:00
Amjith Ramanujam a041bbd598 -c option for continuing a chat (using new chat_id column) (#14)
Refs #6

* Add a chat_id to requests
* Fail early if the log.db is absent
* Automatically add the chat_id column.

Co-authored-by: Simon Willison <swillison@gmail.com>
2023-06-14 07:03:35 +01:00
Simon Willison 11edecd754 Better error output for OpenAI messages, closes #15 2023-06-13 19:23:53 +01:00
Simon Willison a07080a705 Link to blog post 2023-05-18 15:41:59 -07:00
Simon Willison 90b5a163a7 Release 0.3
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.7) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
Refs #3, #5, #10, #11
0.3
2023-05-17 14:10:18 -07:00
Simon Willison 8918ebc000 Accept prompts sent to standard input, closes #11 2023-05-17 14:08:53 -07:00
Simon Willison 0184bc3e3e Using with a shell 2023-05-17 13:33:04 -07:00
Simon Willison 41e5c5481f llm logs command, closes #3 2023-04-01 18:52:46 -07:00
Simon Willison fa99b6c340 Suppress some warnings 2023-04-01 18:37:55 -07:00
Simon Willison 229a82dd0f --code mode, closes #5 2023-04-01 18:36:27 -07:00
Simon Willison 05e5d5f4f4 Release 0.2, refs #2
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.7) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
0.2
2023-04-01 15:29:04 -07:00
Simon Willison 1a840cd7ac Initial prompt/response log, closes #2 2023-04-01 15:28:46 -07:00
Simon Willison 93ebb96cfa Rename back to llm, refs #1
Test / test (3.9) (push) Has been cancelled
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.7) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
0.1
2023-04-01 15:00:19 -07:00
Simon Willison 04d00d9522 Change name to llm-cli in setup and README, refs #1 2023-04-01 14:45:40 -07:00