llm schemas dsl run with cog, refs #793

This commit is contained in:
Simon Willison 2025-02-27 10:48:01 -08:00
parent 9a38021218
commit 259366a575

View file

@ -431,6 +431,7 @@ Options:
Commands:
list* List stored schemas
dsl Convert LLM's schema DSL to a JSON schema
show Show a stored schema
```
@ -460,6 +461,20 @@ Options:
--help Show this message and exit.
```
(help-schemas-dsl)=
#### llm schemas dsl --help
```
Usage: llm schemas dsl [OPTIONS] INPUT
Convert LLM's schema DSL to a JSON schema
llm schema dsl 'name, age int, bio: their bio'
Options:
--multi Wrap in an array
--help Show this message and exit.
```
(help-aliases)=
### llm aliases --help
```