@eigenpal/cli 0.10.24 → 0.10.26
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.
- package/CHANGELOG.md +6 -0
- package/dist/cli.js +1039 -2763
- package/dist/skill/reference/step-types.md +4 -4
- package/package.json +1 -1
|
@@ -400,14 +400,14 @@ Extract structured data from text using AI with a JSON schema
|
|
|
400
400
|
| `provider` | string | no | | Provider ID (e.g., "openai-gpt4o") |
|
|
401
401
|
| `model` | string | no | | Model override |
|
|
402
402
|
| `maxInputTokens` | integer | no | | Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit. |
|
|
403
|
-
| `grounded` | boolean | no | |
|
|
404
|
-
| `groundingModel` | string | no | | Provider/model for the grounding pass. Defaults to the workspace default LLM.
|
|
403
|
+
| `grounded` | boolean | no | | Grounding is ON by default: each schema field gets a source span + confidence (high=verbatim, medium=fuzzy, low=ungrounded) under a reserved `_grounding` output key, and fields whose value cannot be located in the source are flagged for human review. Values stay the reliable schema-typed ones. The pass runs through the workspace LLM (any provider) and chunks long documents automatically. Tri-state: unset (default) = on, degrading gracefully to deterministic text alignment (`_grounding._degraded: true`) if no grounding model is available; `true` = strict, the step fails when the grounding model cannot be resolved; `false` = off, no `_grounding` key at all. |
|
|
404
|
+
| `groundingModel` | string | no | | Provider/model for the grounding pass. Defaults to the workspace default LLM. Any configured provider works; the pass only fails the step when `grounded: true` is set explicitly and no model resolves. |
|
|
405
405
|
| `groundingExamples` | array<object> | no | | Optional few-shot examples pinning grounding to verbatim source text per field. |
|
|
406
|
-
| `reviewOn` | `"medium_or_low"` \| `"low_only"` | no | | Which grounding confidences
|
|
406
|
+
| `reviewOn` | `"medium_or_low"` \| `"low_only"` | no | | Which grounding confidences set needsReview on a field. Default: low_only (only fields whose value could not be located in the source). Use medium_or_low to also flag approximate and derived matches. |
|
|
407
407
|
|
|
408
408
|
**Output:** `record<string, unknown>`
|
|
409
409
|
|
|
410
|
-
> Extracted structured data matching the provided schema
|
|
410
|
+
> Extracted structured data matching the provided schema. Unless grounding is disabled (grounded: false), the output also carries a reserved `_grounding` map keyed by field name: `_grounding.<field> = { confidence: high|medium|low, needsReview, reason?, source_span: { start, end, text, alignment } | null }`, plus reserved `_degraded: true` / `_reason` markers when the grounding LLM pass could not run.
|
|
411
411
|
|
|
412
412
|
#### `ai.split` — Split Document
|
|
413
413
|
|