@eigenpal/cli 0.20.86 → 0.20.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2790,7 +2790,7 @@ Extract structured data from text using AI with a JSON schema
|
|
|
2790
2790
|
| Field | Type | Required | Default | Description |
|
|
2791
2791
|
| --- | --- | --- | --- | --- |
|
|
2792
2792
|
| `input` | string | yes | | Text content or template expression |
|
|
2793
|
-
| `schema` | object | yes | | JSON Schema defining the structure to extract |
|
|
2793
|
+
| `schema` | object | yes | | JSON Schema defining the structure to extract. Fields not listed in `required` come back null when the document does not contain them; a missing required field fails the step. |
|
|
2794
2794
|
| `prompt` | string | no | | Custom prompt template for extraction |
|
|
2795
2795
|
| `provider` | string | no | | Provider ID (e.g., "openai/gpt-6-luna") |
|
|
2796
2796
|
| `model` | string | no | | Model override |
|
|
@@ -2845,7 +2845,7 @@ Config schema:
|
|
|
2845
2845
|
"properties"
|
|
2846
2846
|
],
|
|
2847
2847
|
"additionalProperties": false,
|
|
2848
|
-
"description": "JSON Schema defining the structure to extract"
|
|
2848
|
+
"description": "JSON Schema defining the structure to extract. Fields not listed in `required` come back null when the document does not contain them; a missing required field fails the step."
|
|
2849
2849
|
},
|
|
2850
2850
|
"prompt": {
|
|
2851
2851
|
"description": "Custom prompt template for extraction",
|
|
@@ -4129,7 +4129,7 @@ Inspect rendered page images with a vision model and return structured JSON matc
|
|
|
4129
4129
|
| `pageFrom` | integer \| string | no | | First page to inspect (0-based, inclusive). Optional. Accepts a template expression. When omitted, starts from the first page. |
|
|
4130
4130
|
| `pageTo` | integer \| string | no | | Last page to inspect (0-based, inclusive). Optional. Accepts a template expression. When omitted, runs to the last page. When BOTH pageFrom and pageTo are omitted, the whole document is inspected in chunks of maxPages (divide-and-conquer, results merged). |
|
|
4131
4131
|
| `pageIndices` | array<integer> \| string | no | | Explicit list of 0-based page indices to inspect — supports NON-contiguous selections, e.g. [4, 11, 19], or a template resolving to a number[] such as "{{ steps.label_pages.output.byLabel.photo }}". Highest priority: when set, pageFrom/pageTo and pages are ignored. |
|
|
4132
|
-
| `schema` | object | yes | | JSON Schema defining the structure the vision model should return. |
|
|
4132
|
+
| `schema` | object | yes | | JSON Schema defining the structure the vision model should return. Fields not listed in `required` come back null when not found; a missing required field fails the step. |
|
|
4133
4133
|
| `prompt` | string | no | | Optional instruction refining the extraction. The schema drives it when omitted. |
|
|
4134
4134
|
| `provider` | string | no | | Provider ID (must support vision). |
|
|
4135
4135
|
| `model` | string | no | | Model override (must support vision). |
|
|
@@ -4277,7 +4277,7 @@ Config schema:
|
|
|
4277
4277
|
"properties"
|
|
4278
4278
|
],
|
|
4279
4279
|
"additionalProperties": false,
|
|
4280
|
-
"description": "JSON Schema defining the structure the vision model should return."
|
|
4280
|
+
"description": "JSON Schema defining the structure the vision model should return. Fields not listed in `required` come back null when not found; a missing required field fails the step."
|
|
4281
4281
|
},
|
|
4282
4282
|
"prompt": {
|
|
4283
4283
|
"description": "Optional instruction refining the extraction. The schema drives it when omitted.",
|
|
@@ -297,11 +297,12 @@ that hurt downstream typing. Common ones:
|
|
|
297
297
|
|
|
298
298
|
| Warning code | What it means |
|
|
299
299
|
| ---------------------------- | -------------------------------------------------------------------------------------------- |
|
|
300
|
-
| `categorical-missing-enum` | A field named like `category` / `status` / `kind` is a plain `string`. Consider declaring an `enum`. |
|
|
300
|
+
| `categorical-missing-enum` | A field named like `category` / `status` / `kind` is a plain `string`. Consider declaring an `enum`. Ignore it for open-ended values (names, ids, addresses). |
|
|
301
301
|
| `weak-script-return` | A `transform.script` returns `any` or `unknown`. Replace with a concrete shape or a literal union. |
|
|
302
302
|
| `untyped-object` | A `type: object` field has no `properties`. The LLM has no guidance on what to emit. |
|
|
303
303
|
| `untyped-array-items` | A `type: array` field has no `items:` declared. |
|
|
304
304
|
| `unknown-step-reference` | A Liquid expression references a step that is not in scope, often because it is inside a control container. |
|
|
305
|
+
| `ignored-config-key` | A `with:` key the step does not support. It is silently ignored at runtime; the warning suggests the closest supported setting. |
|
|
305
306
|
|
|
306
307
|
Warnings do not block the push. They print to stderr as `! …` lines. Run
|
|
307
308
|
`eigenpal workflow validate` locally to surface them before pushing.
|