mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-25 23:44:48 +00:00
parent
034acda23c
commit
cc017a7f84
1 changed files with 12 additions and 0 deletions
|
|
@ -208,6 +208,18 @@ Toolboxes always start with a capital letter. They can be configured by passing
|
|||
- Single JSON value: `ToolboxName("hello")` or `ToolboxName([1,2,3])`
|
||||
- Key-value pairs: `ToolboxName(name="test", count=5, items=[1,2])` - treated the same as `{"name": "test", "count": 5, "items": [1, 2]}`, all values must be valid JSON
|
||||
|
||||
Toolboxes are not currently supported with the `llm -c` option, but they work well with `llm chat`. Try chatting with the Datasette content database like this:
|
||||
|
||||
```bash
|
||||
llm chat -T 'Datasette("https://datasette.io/content")' --td
|
||||
```
|
||||
```
|
||||
Chatting with gpt-4.1-mini
|
||||
Type 'exit' or 'quit' to exit
|
||||
...
|
||||
> show tables
|
||||
```
|
||||
|
||||
(usage-extract-fenced-code)=
|
||||
### Extracting fenced code blocks
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue