Skip to content

v0.5 → v0.6 Migration (Assessment merged into Extraction)

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0

v0.5 → v0.6 Migration (Assessment merged into Extraction)

Section titled “v0.5 → v0.6 Migration (Assessment merged into Extraction)”

This note documents the v0.6 configuration change that retired the standalone top-level assessment: block and folded its settings into extraction.confidence, extraction.geometry, and a top-level hitl block. The short version: no customer action is required — pre-v0.6 configurations are migrated automatically on read/update, and the migration is idempotent.

In v0.5.x, per-field confidence was configured as if it were a separate processing stage under a top-level assessment: block. v0.6 reframes confidence as an optional output of extraction, so every knob that used to live under assessment now has a new home:

  • Confidenceextraction.confidence.*
  • Geometry (bounding boxes)extraction.geometry.*
  • Human review (HITL) → top-level hitl.*

The single on/off/mode control is now extraction.confidence.mode, which takes one of three values:

confidence.modeMeaning
offNo confidence scoring at all — no extra model pass, no explainability_info.
separate (default)Confidence scored in a distinct inference (a per-shard second pass for agentic extraction, or the standalone Assessment step for simple extraction).
integratedThe extraction inference emits each value’s confidence in one pass, saving a model call (the standalone Assessment step is bypassed).

extraction.confidence.enabled still exists but is derived from mode (enabled = mode != 'off'); do not set it directly — use mode.

”Assessment disabled” → confidence.mode: off

Section titled “”Assessment disabled” → confidence.mode: off”

If your v0.5.x configuration had Assessment turned off, it was stored as:

# v0.5.x
assessment:
enabled: false

On upgrade this is migrated to:

# v0.6
extraction:
confidence:
mode: 'off'

A falsy assessment.enabled (false, or the strings "false", "0", "no", "off") is treated as authoritative and forces confidence.mode: off, so a disabled config stays disabled after the upgrade. This holds even for a sparse stored delta (assessment.enabled: false alone), because the migration runs on your custom delta before it is merged onto the v0.6 defaults (whose default mode is separate).

v0.5.x (old)v0.6 (new)Notes
assessment.enabled: falseextraction.confidence.mode: offDisable → off.
extraction.assessment_integrationextraction.confidence.modeseparate / integrated folded into the single mode knob.
assessment.modelextraction.confidence.modelPassthrough. LambdaHook supported.
assessment.model_lambda_hook_arnextraction.confidence.model_lambda_hook_arnPassthrough.
assessment.system_promptextraction.confidence.system_promptPassthrough.
assessment.task_promptextraction.confidence.task_promptConfidence-only task prompt.
assessment.temperature / top_p / top_k / reasoning_effortextraction.confidence.*Passthrough (same names).
assessment.image.*extraction.confidence.image.*Passthrough.
assessment.inshard_list_batch_sizeextraction.confidence.list_batch_sizeRenamed. Default 25.
assessment.geometry_mode: llm_with_ocr_groundingextraction.geometry.mode: llm_groundedValue renamed.
assessment.geometry_mode: llm_onlyextraction.geometry.mode: llmValue renamed.
assessment.geometry_mode: ocr_onlyextraction.geometry.mode: ocr_onlyUnchanged.
assessment.ground_geometry_in_ocr: falseextraction.geometry.mode: llmLegacy flag → use LLM boxes as-is.
assessment.hitl_enabledhitl.enabledMoved to top-level.
assessment.default_confidence_thresholdhitl.confidence_thresholdMoved to top-level.
assessment.granular.*DroppedGranular assessment retired → list_batch_size (see below).
assessment.max_tokensDroppedv0.6 always requests the model’s maximum output.
any other assessment.* keyDroppedThe entire assessment block is retired; leftover keys are ignored on read.

When both an explicit v0.6 key and a migrated legacy value are present (a hybrid config), the explicit v0.6 key wins — so a re-seeded default never clobbers a value you set in the new shape.

You do not need to hand-edit stored configurations. The v0.5 → v0.6 transform runs at every configuration choke point:

  • when a configuration is read and validated (IDPConfig validation),
  • when a stored custom delta is merged onto the current defaults,
  • when a configuration is written/updated (normal update, Save As Version, Save As Default).

It short-circuits once a config is stamped config_format_version: "0.6" (unless legacy assessment.* keys are still present), so re-applying it is a no-op. In practice this means a v0.5.x stack that you update in place to v0.6 has its existing configuration migrated on first read — no manual step, and a disabled Assessment stays disabled.

Tip: Export your current configuration before upgrading (View/Edit Config → Export) as a safety backup.