From 362bdc6dcc448c63d3ece3bfb449fbaac618fc5c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 27 Feb 2025 17:12:06 -0800 Subject: [PATCH] It's schema_object: not schema: --- docs/templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates.md b/docs/templates.md index e38645c..ce046c6 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -132,7 +132,7 @@ prompt: 'Summarize this: $input' ``` ### Schemas -Use the `schema:` key to embed a JSON schema (as YAML) in your template. The easiest way to create these is with the `llm --schema ... --save name-of-template` command - the result should look something like this: +Use the `schema_object:` key to embed a JSON schema (as YAML) in your template. The easiest way to create these is with the `llm --schema ... --save name-of-template` command - the result should look something like this: ```yaml name: dogs