提交

提交图

63 次代码提交

作者 SHA1 备注 提交日期
Simon Willison 9ecd00c5be Update conf.py
Test / test (3.11) (push) Has been cancelled
Test / test (3.10) (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
2023-06-17 13:24:15 +01:00
Simon Willison 392e5a5f45 Update README.md 2023-06-17 13:23:02 +01:00
Simon Willison bac4810b61 Update index.md 2023-06-17 13:21:47 +01:00
Simon Willison 2ec60b8c8f Added more syntax highlighting 2023-06-17 10:21:30 +01:00
Simon Willison 8aabb33fb9 Much improved setup documentation on API keys 2023-06-17 10:20:47 +01:00
Simon Willison f745b0cf13 Updated documentation links 2023-06-17 10:13:56 +01:00
Simon Willison d8d22806cc Better display of system and prompt, refs #44 2023-06-17 10:10:10 +01:00
Simon Willison 8646c5ba11 Show system prompts in llm templates list, closes #44 2023-06-17 10:08:30 +01:00
Simon Willison 1346d4086c Copy button for docs, closes #43 2023-06-17 09:55:02 +01:00
Simon Willison fa8ffe0a52 Fix newline issue in llm templates list, closes #42 2023-06-17 09:51:16 +01:00
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