You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
3
+
(v0_7_1)=
4
+
## 0.7.1 (2023-08-19)
5
+
6
+
- Fixed a bug where some users would see an `AlterError: No such column: log.id` error when attempting to use this tool, after upgrading to the latest [sqlite-utils 3.35 release](https://sqlite-utils.datasette.io/en/stable/changelog.html#v3-35). [#162](https://github.com/simonw/llm/issues/162)
Copy file name to clipboardExpand all lines: docs/other-models.md
+4-18
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ To install **[llm-gpt4all](https://github.com/simonw/llm-gpt4all)**, providing 1
12
12
```bash
13
13
llm install llm-gpt4all
14
14
```
15
-
Run `llm models` to see the expanded list of available models.
15
+
Run `llm models list` to see the expanded list of available models.
16
16
17
17
To run a prompt through one of the models from GPT4All specify it using `-m/--model`:
18
18
```bash
@@ -52,9 +52,9 @@ With this configuration in place, the following command should run a prompt agai
52
52
```bash
53
53
llm -m 0613 'What is the capital of France?'
54
54
```
55
-
Run `llm models` to confirm that the new model is now available:
55
+
Run `llm models list` to confirm that the new model is now available:
56
56
```bash
57
-
llm models
57
+
llm models list
58
58
```
59
59
Example output:
60
60
```
@@ -87,7 +87,7 @@ If the `api_base` is set, the existing configured `openai` API key will not be s
87
87
88
88
You can set `api_key_name` to the name of a key stored using the {ref}`api-keys` feature.
89
89
90
-
Having configured the model like this, run `llm models` to check that it installed correctly. You can then run prompts against it like so:
90
+
Having configured the model like this, run `llm models list` to check that it installed correctly. You can then run prompts against it like so:
91
91
92
92
```bash
93
93
llm -m orca-openai-compat 'What is the capital of France?'
@@ -96,17 +96,3 @@ And confirm they were logged correctly with:
96
96
```bash
97
97
llm logs -n 1
98
98
```
99
-
100
-
### Extra HTTP headers
101
-
102
-
Some providers such as [openrouter.ai](https://openrouter.ai/docs) may require the setting of additional HTTP headers. You can set those using the `headers:` key like this:
llm -s 'Suggest topics for this post as a JSON array'
71
70
```
72
-
Different models support system prompts in different ways.
73
-
74
-
The OpenAI models are particularly good at using system prompts as instructions for how they should process additional input sent as part of the regular prompt.
75
-
76
-
Other models might use system prompts change the default voice and attitude of the model.
77
-
78
-
System prompts can be saved as {ref}`templates <prompt-templates>` to create reusable tools. For example, you can create a template called `pytest` like this:
79
-
80
-
```bash
81
-
llm -s 'write pytest tests for this code' --save pytest
82
-
```
83
-
And then use the new template like this:
84
-
```bash
85
-
cat llm/utils.py | llm -t pytest
86
-
```
87
-
See {ref}`prompt templates <prompt-templates>` for more.
88
-
89
71
## Listing available models
90
72
91
-
The `llm models` command lists every model that can be used with LLM, along with any aliases:
73
+
The `llm models list` command lists every model that can be used with LLM, along with any aliases:
0 commit comments