Simon Willison
93379d7986
Applied Black
2023-06-18 09:48:49 +01:00
Chris Mungall
b5cd563b53
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
9d472cf7dc
llm prompt ... --save templatename shortcut, closes #55
2023-06-17 23:22:59 +01:00
Simon Willison
945c5026a0
Initial plugin framework and register_commands(cli) hook, refs #49
2023-06-17 17:42:13 +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
fa8ffe0a52
Fix newline issue in llm templates list, closes #42
2023-06-17 09:51:16 +01:00
Simon Willison
751725d03b
Rename log.db to logs.db, closes #41
2023-06-17 09:29:46 +01:00
Simon Willison
6bb1d0324f
Prompt templates
...
Closes #23
2023-06-17 08:40:46 +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
4e4fc4c431
Removed obsolete imports
2023-06-15 23:20:58 +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
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
41e5c5481f
llm logs command, closes #3
2023-04-01 18:52: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
2023-04-01 15:00:19 -07:00
Simon Willison
c5c666867a
Renamed package to llm-cli
2023-04-01 14:41:46 -07:00
Simon Willison
3f89cb9609
Initial prototype, refs #1
2023-04-01 14:28:24 -07:00