提交

提交图

  • 307af2474c Fix column order in logs Simon Willison 2023-07-03 07:29:58 -07:00
  • 345ad0d2dc Implemented new logs database schema Simon Willison 2023-07-03 07:27:47 -07:00
  • b1c51df3f1 New LogMessage design, plus Response.json() method Simon Willison 2023-07-03 06:46:51 -07:00
  • 61dd8afc60 Drop the debug field from the logs, combine chunks from stream Simon Willison 2023-07-03 06:39:54 -07:00
  • 84b99f8baf -o/--option, implemented for OpenAI models - closes #63 Simon Willison 2023-07-02 17:42:22 -07:00
  • e485eadf14 just fix command Simon Willison 2023-07-02 17:40:45 -07:00
  • 52add96ec1 Rough initial version of new logging, to log2 table Simon Willison 2023-07-02 16:35:36 -07:00
  • 4a9f7f4908 Lint using Ruff, refs #78 Simon Willison 2023-07-02 12:41:40 -07:00
  • 9eeebfa020 type stubs for PyYAML and requests, refs #77 Simon Willison 2023-07-02 12:39:37 -07:00
  • 3ed86e403d Added mypy, plus some fixes to make it happy - refs #77 Simon Willison 2023-07-02 12:36:22 -07:00
  • 7054c673e1 Better type hint for iter_prompt method Simon Willison 2023-07-02 11:18:31 -07:00
  • 9a180e65a8 llm models default command, plus refactored env variables Simon Willison 2023-07-01 14:01:29 -07:00
  • f3f38c0c02 Initial experimental response.reply() method Simon Willison 2023-07-01 13:29:54 -07:00
  • 664fca165b .stream is now in base Response class Simon Willison 2023-07-01 13:29:27 -07:00
  • 183b647351 Removed PaLM 2 vertex model Simon Willison 2023-07-01 13:27:59 -07:00
  • 9d914bf9cc Include cogapp in pip install -e '.[test]' Simon Willison 2023-07-01 11:56:50 -07:00
  • feff460496 Fix for pydantic warning, refs #74 Simon Willison 2023-07-01 11:56:35 -07:00
  • 9ac120fae4 Upgrade to pydantic 2 using bump-pydantic, refs #74 Simon Willison 2023-07-01 11:53:54 -07:00
  • d26ed84939 Don't include tests/ in the package Simon Willison 2023-07-01 11:45:00 -07:00
  • 0f266d6657 Fix for missing package bug Simon Willison 2023-07-01 11:36:58 -07:00
  • 7485e0646e Use pip install -e '.[test]' Simon Willison 2023-07-01 11:32:38 -07:00
  • 9afc758cd7 Pass model to the Response Simon Willison 2023-07-01 11:29:41 -07:00
  • 6ef52172b0 Fixed timezone related test failure Simon Willison 2023-07-01 11:14:25 -07:00
  • 4d304d99e1 Fixed import error in llm openai models Simon Willison 2023-07-01 11:12:06 -07:00
  • 1b3f14fe89 Move default plugins into llm/default_plugins Simon Willison 2023-07-01 11:10:30 -07:00
  • c4513068fb Disabled DB logging test for the moment Simon Willison 2023-07-01 11:07:10 -07:00
  • 14ce371007 Fix plugins tests to account for default plugins Simon Willison 2023-07-01 11:06:28 -07:00
  • 8f7450bd74 Fixed a test Simon Willison 2023-07-01 11:03:16 -07:00
  • 714b867e92 -s shortcut for --system, closes #69 Simon Willison 2023-07-01 10:46:20 -07:00
  • b9dd0a34db Ran cog for llm openai --help, refs #70 Simon Willison 2023-07-01 10:40:11 -07:00
  • c679d4d99e llm openai models command, closes #70 Simon Willison 2023-07-01 10:39:24 -07:00
  • c1938a4987 Fix for --key being beaten by env variable, closes #71 Simon Willison 2023-07-01 10:33:49 -07:00
  • 52cedc03e0 CLI now uses new prompt/stream methods Simon Willison 2023-07-01 09:09:19 -07:00
  • ffe4b6706d Model.stream() and .get_key() methods Simon Willison 2023-07-01 09:03:07 -07:00
  • 2911975548 First attempt at internal API docs, refs #65 Simon Willison 2023-07-01 08:50:39 -07:00
  • 13fb4c2966 Refactor Template into templates.py Simon Willison 2023-07-01 08:27:45 -07:00
  • 5e056fad8a Implemented PaLM 2, to test out new plugin hook - refs #20 Simon Willison 2023-06-26 08:25:01 -07:00
  • 5103f77c40 New mechanism for handling API keys for models Simon Willison 2023-06-26 08:05:48 -07:00
  • ee748884d2 Ran cog, showing help for llm models command Simon Willison 2023-06-26 07:49:12 -07:00
  • 274126d9f8 WIP register_models() plugin hook, refs #53 Simon Willison 2023-06-26 07:43:46 -07:00
  • 098d77905d main branch doesn't work with pydantic 2.0 yet Simon Willison 2023-07-03 13:12:33 -07:00
  • a380967c27 Link to license on main Simon Willison 2023-07-03 13:11:33 -07:00
  • 72d1063621 Link to license on main Simon Willison 2023-07-03 13:10:30 -07:00
  • a4de29fe64 Plausible analytics, refs #79 Simon Willison 2023-07-03 13:08:31 -07:00
  • cfa967abf7 Configure just for this project Simon Willison 2023-06-26 07:50:06 -07:00
  • 9f1085eece --save now stores -p as default parameters, closes #58 Simon Willison 2023-06-23 07:51:50 -07:00
  • a196db1ed0 Messing around to get gpt4all OpenAI emulation working other-models Simon Willison 2023-06-23 07:42:58 -07:00
  • 059bc1a5fe Handle error when no templates are found (#47) Sébastien De Revière 2023-06-23 16:38:13 +02:00
  • 97daa001aa fix typo: 4-32k, not 4-16k (#61) Galen O’Hanlon 2023-06-23 07:37:09 -07:00
  • e72311982d Added 4-16k shortcut Simon Willison 2023-06-21 07:45:22 +01:00
  • ff12630517 Extra notes on backwards-incompatible changes in 0.4 Simon Willison 2023-06-18 09:51:24 +01:00
  • 879b416b52 Extra notes on backwards-incompatible changes in 0.4 Simon Willison 2023-06-18 09:51:24 +01:00
  • 3c5b291800 Fixed bad markdown Simon Willison 2023-06-18 09:49:45 +01:00
  • 4cd012596a Fixed bad markdown Simon Willison 2023-06-18 09:49:45 +01:00
  • 93379d7986 Applied Black Simon Willison 2023-06-18 09:48:49 +01:00
  • f4ce9ea77d Applied Black Simon Willison 2023-06-18 09:48:49 +01:00
  • 00043dcb91 Applied cog Simon Willison 2023-06-18 00:12:24 +01:00
  • 8949a0c0c0 Applied cog Simon Willison 2023-06-18 00:12:24 +01:00
  • 7e2a8355de Changelog for template defaults, refs #57 Simon Willison 2023-06-17 23:53:41 +01:00
  • 351b182da4 Changelog for template defaults, refs #57 Simon Willison 2023-06-17 23:53:41 +01:00
  • b5cd563b53 Add a defaults parameter to templates. (#57) Chris Mungall 2023-06-17 15:49:27 -07:00
  • 482292b7d7 Add a defaults parameter to templates. (#57) Chris Mungall 2023-06-17 15:49:27 -07:00
  • 9d472cf7dc llm prompt ... --save templatename shortcut, closes #55 Simon Willison 2023-06-17 23:22:59 +01:00
  • 0b65aefb6e llm prompt ... --save templatename shortcut, closes #55 Simon Willison 2023-06-17 23:22:59 +01:00
  • bde8623082 Upgrade instructions, refs #50 Simon Willison 2023-06-17 22:54:11 +01:00
  • ac5fe2bd06 Upgrade instructions, refs #50 Simon Willison 2023-06-17 22:54:11 +01:00
  • ea7dee989d Better link to regenerate workflow Simon Willison 2023-06-17 22:43:14 +01:00
  • 82f70af175 Better link to regenerate workflow Simon Willison 2023-06-17 22:43:14 +01:00
  • 0d9e4c29ad Release 0.4.1 Simon Willison 2023-06-17 22:35:38 +01:00
  • 6c321a3a15 Release 0.4.1 Simon Willison 2023-06-17 22:35:38 +01:00
  • 89bb1159b0 Release 0.4.1 0.4.1 0.4x Simon Willison 2023-06-17 22:35:38 +01:00
  • 7615a39b0f Badges on the documentation index page Simon Willison 2023-06-17 18:03:05 +01:00
  • ea55472b55 Documented the release process Simon Willison 2023-06-17 16:48:01 +01:00
  • 3ff02940b0 Anchor links for changelog items Simon Willison 2023-06-17 16:16:45 +01:00
  • 2dcba96373 Homebrew installation instructions, closes #50 Simon Willison 2023-06-17 16:13:59 +01:00
  • 2859ffd41b llm is now styled LLM in the docs Simon Willison 2023-06-17 13:33:12 +01:00
  • 153cf3f7f3 Added more syntax highlighting Simon Willison 2023-06-17 10:21:30 +01:00
  • 5009f50025 Much improved setup documentation on API keys Simon Willison 2023-06-17 10:20:35 +01:00
  • 2e3330a702 Updated documentation links Simon Willison 2023-06-17 10:13:56 +01:00
  • 20d0effbc6 Better display of system and prompt, refs #44 Simon Willison 2023-06-17 10:10:10 +01:00
  • b58680bdd5 Show system prompts in llm templates list, closes #44 Simon Willison 2023-06-17 10:08:30 +01:00
  • 0ccb47d79a Copy button for docs, closes #43 Simon Willison 2023-06-17 09:55:02 +01:00
  • 7f69675a95 Fix newline issue in llm templates list, closes #42 Simon Willison 2023-06-17 09:51:16 +01:00
  • d1b5735161 Badges on the documentation index page Simon Willison 2023-06-17 18:03:05 +01:00
  • aefac5cc85 Badges on the documentation index page Simon Willison 2023-06-17 18:03:05 +01:00
  • 38f494c51a Add plugins to index page, refs #49 Simon Willison 2023-06-17 18:01:48 +01:00
  • b89f0e9ecd Add plugins to index page, refs #49 Simon Willison 2023-06-17 18:01:48 +01:00
  • d38cf840a8 llm install and llm uninstall, closes #51, refs #49 Simon Willison 2023-06-17 17:55:53 +01:00
  • 1be6230f1f llm install and llm uninstall, closes #51, refs #49 Simon Willison 2023-06-17 17:55:53 +01:00
  • 54989b3f24 Updated help.md, refs #49 Simon Willison 2023-06-17 17:46:53 +01:00
  • 441311a7a2 Updated help.md, refs #49 Simon Willison 2023-06-17 17:46:53 +01:00
  • 945c5026a0 Initial plugin framework and register_commands(cli) hook, refs #49 Simon Willison 2023-06-17 17:42:13 +01:00
  • a396950f79 Initial plugin framework and register_commands(cli) hook, refs #49 Simon Willison 2023-06-17 17:42:13 +01:00
  • 583d432aab Documented the release process Simon Willison 2023-06-17 16:48:01 +01:00
  • 88591998e4 Documented the release process Simon Willison 2023-06-17 16:48:01 +01:00
  • 5872b2c976 Anchor links for changelog items Simon Willison 2023-06-17 16:16:45 +01:00
  • 48e1427ec9 Anchor links for changelog items Simon Willison 2023-06-17 16:16:45 +01:00
  • c86da82c38 Homebrew installation instructions, closes #50 Simon Willison 2023-06-17 16:13:59 +01:00
  • 5cb5be515f Homebrew installation instructions, closes #50 Simon Willison 2023-06-17 16:13:59 +01:00
  • 63905221b6 Anchor links simonw-anchor-links Simon Willison 2023-06-17 15:39:20 +01:00