diff --git a/packages/cli/README.md b/packages/cli/README.md index b998e36283..0907e7e611 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -6,7 +6,7 @@ Scripting environment with convinient tooling for file ingestion, prompt develop // define the context def("FILE", env.files, { endsWith: ".pdf" }) // define the data -const chema = defSchema("DATA", +const schema = defSchema("DATA", { type: "array", items: { type: "string" } }) // define the task $`Analyze FILE and diff --git a/packages/vscode/README.md b/packages/vscode/README.md index 1bee01b013..ef1584031e 100644 --- a/packages/vscode/README.md +++ b/packages/vscode/README.md @@ -12,7 +12,7 @@ Scripting environment with convinient tooling for file ingestion, prompt develop // define the context def("FILE", env.files, { endsWith: ".pdf" }) // define the data -const chema = defSchema("DATA", { type: "array", items: { type: "string" } }) +const schema = defSchema("DATA", { type: "array", items: { type: "string" } }) // define the task $`Analyze FILE and extract titles to JSON compliant with ${schema}.`