Repository navigation
[0.6.16]
Added
-
Routing rules for review queues. Admins decide, with one routing table per configuration profile on the new Routing Rules tab, whether a processed document is reviewed and in which queue. Routing rules can test extracted values, confidence alerts, missing required fields, failed extractions, classes and policy rule verdicts, and can give the reviewer a reason. Tables can be tested against a processed document and exported or imported as DMN XML, and queues and tables can be managed from the SDK and CLI (
idp-cli review-queues,config-routing-export,config-routing-import). A profile with no routing rules of its own routes as before. See Review routing. -
More ways to end a review. A reviewer can complete a review, reject the document, or send it back for reprocessing, and the dialog lists the steps the chosen ending will run. After a completed review, sections whose pages the reviewer regrouped are extracted again before the corrections are applied. See How a review ends.
-
Reprocess from a chosen step, on every surface. The web UI,
idp-cli reprocess, the SDK and the MCP tool offer the same start steps and report for each document whether it was queued and, if not, why, so a failed run can restart at the step that failed. See Reprocessing. -
The web UI in French (Canada). A language menu in the top navigation switches the UI between English and French (Canada), a browser that prefers French opens in French, and dates and numbers follow the language. Every entry of the UI's message catalog is translated (3,303 of 3,303), but 3,966 strings in 125 source files are not yet in the catalog and stay English, mostly on the admin, configuration, Capacity Planning and Test Studio screens; exports, agent replies and document data also stay English. Extensions receive the chosen language as
FeatureContext.locale. See Interface language and Follow the web UI's language (#1770). -
Decision models for section classification and extraction confidence.
section_classification.method: decision_modelnames each split-then-classify section with one choice question to a decision model, such as the Strands Decider on Lambda, andextraction.confidence.method: decision_modelscores each extracted value with a yes/no question, instead of an LLM call. Each request is cut to the model's window (decision_model.max_input_tokens), and text beyond it is never read. The new Decision Model: Strands Decider extension builds and deploys that model in your account from pinned sources. See Decision Models and Decision Model: Strands Decider (#1656). -
Section classification by embeddings, with an LLM fallback. Under
split_then_classify,section_classification.method: embeddingscompares each section with each class's example images or description using Cohere Embed v4, sends sections below a threshold to the LLM, and meters and prices the embedding calls. On 171 held-out RVL-CDIP-N sections it matched the LLM's accuracy only while still sending 75% of sections to the LLM, at the same cost as the LLM alone, so it is off by default and ships no recommended thresholds. See Section classification by embeddings (#1657). -
Document attributes carried from upload to results. Attach identifiers such as an account id or claim number at upload (S3 metadata, a JSON sidecar,
idp-cli process --attribute, the SDK or a manifest column), and they are returned unchanged with the results and kept through reprocessing; they are never used in prompts or logged.⚠️ An uploaded object whose key ends in.idp-attributes.jsonis now treated as a sidecar and not processed. See Document Attributes (#1851). -
Let a user choose among their tenants. With the new
TenantSelectionparameter enabled (defaultDisabled) andTenantGrantSource=IdpClaim, a user whom the identity provider grants several tenants picks one on a Choose a tenant page at sign-in and can switch later from the navigation bar, instead of being granted none. See Letting a user choose among their tenants (#2232). -
A KMS key of your own for a new deployment.
CustomerManagedKmsKeyArnmakes the stack encrypt its buckets, tables, queues, topics, log groups and secrets with your symmetric key instead of creating one, on CloudFormation and Terraform alike. It can be set only when the stack is created; an update that sets, clears or changes it is refused. See Customer Managed KMS Key for the key policy it needs (#2016). -
Classify pages in the order of their printed page numbers.
classification.document_shape.pageOrder: printed_page_numbersreorders pages by the numbers printed on them, with no model call, so a form whose pages were scanned out of order stays one section. Pages are reordered only when the numbers form one complete run; otherwise a warning says why. Off by default. See Page Order (#623). -
Policy groups in Policy Discovery. Uploads naming the same policy group build one policy class, so a manual too large for one upload stays one policy, and a later upload into the group can replace its whole ruleset (an amended manual) or supersede rules you choose (a rider). Each rule records the upload it came from. Concurrent Policy Discovery saves into one profile also no longer lose each other's rules. See Policy Discovery (#608).
-
Quick Start sets document splitting, long-table extraction and summaries for you. For each profile it creates, Quick Start decides from your description and examples whether a file holds one document, several, or one per page, uses advanced extraction when a document can hold a long table, and turns summaries off unless you ask. It asks only when it can't tell, and changes the setting itself when results come out split wrongly or with rows missing. See A typical conversation.
-
idp-cli fit-check: measured results on your own sample documents. One command runs a folder of samples through a stack and reports each document's class, field presence and confidence, the limitations observed, latency and estimated cost, plus accuracy when you supply ground truth. It works in a profile of its own and leaves the active one untouched. See Fit Check. -
A solution profile with every release. Each GitHub Release now carries
solution-profile-genai-idp-accelerator-<version>.tar.gz: versioned YAML describing what the accelerator does, its extension points, its limitations, sizing inputs and what each release asks users to act on, with an Agent Skill for assessing fit. See Solution Profile. -
Change history for configuration prefix mappings. Every create, edit and delete of a mapping records who made it, when, and the mapping before and after. Open Change history on the Prefix Mappings page, or a mapping's History action. See Change history (#597).
-
Test Studio reports confidence on empty predictions. Test results add AUROC including fields the extractor returned empty, and how many empty predictions were wrong, so a confidence scorer that rates missed fields highly now shows up. The existing figures are unchanged. See Test Studio (#2052).
-
Terraform: state in S3, tags, and pinned module versions.
idp-cli deploy --terraform --terraform-state s3keeps the state in a locked, versioned, encrypted S3 bucket;--tagsnow tags every resource, including those theawsccprovider manages; and--terraform-module-version X.Y.Zdeploys a specific published version, checked against a new versions index in which released versions are immutable. See Keeping the state in S3, Tagging the deployment and The versions index (#1988, #2001, #2015). -
Manual migration steps for
genai-idp-terraformdeployments with a private network, MCP or test datasets. The migration guide gives the steps to run beforemigrate-from-genai-idp-terraform planfor each shape it refuses. They have not yet been run end to end. See Old deployments with a private network, MCP or test datasets (#2002). -
ManageApiGatewayAccountSettingsfor several deployments in one Region. Every deployment logging atINFOorDEBUGpointed the Region's single API Gateway logging role setting at its own role, so deployments overwrote each other. Leave it attrue(the default) on one deployment per Region and set it tofalseon the others. See Monitoring. -
IDP in Action, an illustrated tour of the accelerator. One page walks through the main features with screenshots, an eight-minute narrated overview and feature walkthroughs. See IDP in Action.
Changed
-
A run starts at the step it needs. A run after a completed review starts at the new Apply Review Changes step, a rejected document is recorded without reprocessing, Process Changes shows the steps of its run before you confirm, and hooks fire only for steps that run. Pipeline step names are consistent.
⚠️ Action: read v0.6.15 → v0.6.16 Migration before upgrading:review/status.jsonmoves to schema version 1.1;reprocessDocumentandlistReviewQueuesreturn new shapes; the SDK and CLI reprocess through a Lambda and needlambda:InvokeFunction; a held document runs policy rule validation before and after review; and the old and new step names are listed there. -
New stacks hold documents for review by default. A newly created stack turns Review Routing on (
hitl.enabled) in the profiles it creates, so a document with a confidence alert or a missing required field waits in the Default review queue instead of completing. Updating an existing stack changes no profile, and a headless deployment keeps it off.⚠️ Action: for unattended processing on a new stack (batch jobs, load tests, pipelines that wait forCOMPLETED), turn Review Routing off in the profile, or deploy withhitl.enabled: false. See v0.6.15 → v0.6.16 Migration. -
A classification or extraction prompt containing
{DOCUMENT_IMAGE}more than once is refused. Such a prompt used to be accepted and sent the text without the page image, or the images in the wrong place.⚠️ A configuration that used to process now fails withfound N occurrences, but exactly 1 is required: remove the extra placeholders.idp-cli config-validatereports these prompts; the web UI does not check on save. Turning offmodality.imagesormodality.textnow also removes every placeholder for that content. See Image placement. -
Deleting a document removes its upload from the input bucket completely. The input bucket is versioned, and a delete used to leave the upload readable as a noncurrent version for up to
DataRetentionInDays(365 days by default); every version of the document's key is now deleted.⚠️ Action: a deleted document's upload can no longer be restored from noncurrent versions. A CLI or SDK caller whose own IAM policy lackss3:ListBucketVersionsands3:DeleteObjectVersionon the input bucket now has the document reported as failed. See delete-documents (#2166). -
A document with a failed section is held for review instead of completing unreviewed. With Review Routing on, a section whose extraction failed (blocked by Bedrock's content filter, for example) now holds the document, and the built-in Failed extractions routing rule sends it to the Default queue with an Extraction failed reason. With Review Routing off nothing changes. See The built-in routing rules (#2038).
-
Building the web UI needs Node.js 26. Stack deployments build the web UI with Node.js 26.13.1 instead of 22.14.0, and publishing from source (
idp-cli publish,publish.py) or local development now fails on Node 22 or 24. Action: if you publish from source or develop locally, runnode --versionand install Node 26 if it reports an older major. See Deployment. -
The rule validation sample is a bank statement review. Rule validation, Policy Discovery and the review routing showcase now share one bank-statement sample. The healthcare samples are removed, so the Health Insurance Review sample feature ships no sample document. A stack whose Configuration Preset is
rule-validationtakes the bank statement configuration as itsdefaultprofile on its next update. See Rule Validation. -
Prefix mappings: a mapping to a missing profile refuses the document, and only this solution's own producers bypass mappings. A document whose mapping names a Configuration Profile that does not exist is now recorded as Failed with the reason, instead of being processed under another profile. Only objects whose
submission-sourceistest-studioorpii-anonymizerare exempt from mappings; any other value is mapped like an ordinary upload. A document processed while the mappings could not be read now carries a warning, so it can be found and reprocessed. See A mapping whose profile does not exist (#597). -
Quick Start is for Admins, and
EnableQuickStartWidget=falseturns it off on the server too. Quick Start creates configuration profiles, which only Admins may do, so only Admins see it and both chat routes refuse it from other groups, or from anyone on a stack deployed with the widget off. See Quick Start. -
Policy rule verdicts carry a stable id and a normalised verdict, and a single-section document now gets a verdict for each policy rule. See Rule Validation.
-
Clearer names in the web UI. The configuration sections are Policy Rule Validation (Optional) and Review Routing (Optional), in the order the pipeline runs them, the policy rule report is the Policy Rule Validation Summary, and the Processing Flow viewer shows steps a run left out as Skipped.
-
Amounts read
US$, and times show in your time zone and language. Costs on the document page and in Test Studio showUS$in every language, with thousands separators and no scientific notation; downloaded CSVs keep$. Submitted, completed and version times on the Documents list and the document page are shown in the browser's time zone instead of raw UTC (#1770). -
The Pricing page can restore a default price, and no longer offers to delete a default unit. A deleted default unit came back at its default price after the next save. Delete unit is now disabled on default rows (set the price to 0 instead), and Restore default price resets an override. See Cost calculator.
-
Terraform: parameter combinations CloudFormation refuses now fail at plan. The module enforces the template's cross-parameter rules, such as "
VpcIdis required whenDeployInVPC=true", where it used to apply the combination and leave, for example, the pattern stack outside the VPC.vpc_idcan now come from a VPC created in the same apply. See Using the module beside your own resources. -
Terraform: generated files are
terraform fmt-clean and carry the templates' checkov suppressions. A repository that gates onterraform fmt -checkor on checkov no longer fails on the vendored module or on the root filesidp-cli deploy --terraformwrites. See Security scanner findings on the module (#2008). -
Expanded Terraform and migration guides. The Terraform guide covers using the module from your own root configuration (inputs needed at plan time, provider constraints, module sources), a review-and-apply sequence for change-controlled pipelines, and what still uses CloudFormation. The
genai-idp-terraformmigration guide adds step 1a, turning off the old agent-jobs time-to-live at least an hour before the adoption apply. See Terraform Deployment and Migrating from genai-idp-terraform. -
Each default classification prompt is its own file, and the configuration editor links to it. Stored and exported configurations carry the same prompt text as before. See Classification (#1652).
-
Dependency updates. numpy 2.5.4 (from 1.26.4) in the OCR and multi-document discovery code, pyarrow 26.0.1 (from 23.0.1) in reporting,
stickler-eval1.0.2, and higher minimum versions of pypdf (6.21.4), requests (2.33.0), jinja2, pydantic, aws-lambda-powertools and datamodel-code-generator;idp-sdk[terraform]requires botocore 1.35.99 or later. Results and Parquet output are unchanged. Action: none.
Fixed
-
A content-filter or guardrail block fails only the affected page, section or summary, not the whole document. When Amazon Bedrock's content filter or the stack's guardrail withheld a reply during classification, extraction, the confidence pass or summarization, the document failed, or the guardrail's message was taken as the answer. The page or section is now marked failed or
unclassifiedwith an issue naming the block, and the rest of the document completes; a block on a packet-granularity classification call or inside a Distributed Map shard still fails the document. See Where a failed section shows up (#2038). -
Transient failures are retried instead of failing the document. Bedrock HTTP 5xx and bare 429 replies, read timeouts and dropped connections in OCR, classification (including split-then-classify), extraction, assessment, rule validation and summarization are now retried with backoff, or the state machine retries the step. Errors a retry cannot fix are no longer retried in advanced extraction. See Step Functions Retry Configuration (#2034, #2036, #2049, #2112).
-
A document being retried after a transient failure is no longer shown as failed. Classification and summarization marked a document
FAILEDuntil a retry overwrote it, sometimes for minutes under throttling; it now stays in its in-progress status, and the failed attempt's model usage is recorded. See Cost calculator (#2122). -
Failed workflows report what they spent. The reporting
meteringtable received usage only from workflows that succeeded;FAILED,TIMED_OUTandABORTEDworkflows now report theirs, each execution once, with newexecution_arnandexecution_statuscolumns. Advanced extraction now meters the calls that summarize its conversation, and Word, Excel, CSV and text conversions no longer leave a cost reported as incomplete. See Reporting Database (#1951, #1952, #2167). -
Evaluation no longer scores fields as misses because a read or a judge call failed transiently. A throttled or timed-out S3 read, or LLM-judge call, scored fields 0.0 and silently lowered accuracy; the evaluation step is now retried. See the evaluation module README (#2049, #2129).
-
Evaluation scores more classes, and long lists faster. Lists of scalar values whose method is set on their items (such as
ENDORSEMENTSinlending-package-sample-govcloud), and classes whose name contains a space (such asBank Statementinbank-statement-sample) in some environments, went unscored and are now scored.stickler-eval1.0.2 scores long lists in less than half the time and matches amounts in non-ASCII digits; re-scoring over 3,000 real documents gave identical results. See Lists of scalar values (#2029). -
Test Studio run metrics are reproducible. Aggregating the same evaluation results twice could give different figures; documents and sections are now processed in a fixed order. A run aggregated again can therefore differ slightly from what it showed before, ECARB@30 by whole errors where confidences tie. See Confidence Calibration Metrics (#2133).
-
Classification returns its confidence reliably. The shipped prompts' output-format example omitted the confidence key, so a model that copies it returned none (Claude Sonnet 5.5 at packet granularity left every section unscored). The default example, and any unchanged default block in your prompts, now includes it, and a reply that still omits it records a
classification_confidence_missingwarning. See The output-format example names the key (#2039). -
Packet classification keeps every page and numbers sections in page order. A page the model's page ranges skipped was in no section and nothing was extracted from it; it now joins its neighbour, with a warning. Sections are numbered by first page rather than reply order, which mis-paired them in evaluation, and a reply that is not JSON is re-prompted once instead of failing the document. See Classification (#2035, #2037).
-
Classification issues are accurate. Blank pages are reported even when a document-name regex or a single-class configuration skips the model, the messages name the class a page was actually given, and warnings from a page-limited sample are kept. See Classification.
-
A model setting left out of a configuration uses the stack's Region's model. Built-in defaults always used the
us.inference profile, which Bedrock rejects from EU Regions; they now follow the deploy-time Region mapping.⚠️ A profile you created in an EU stack before this release may store aus.model id: choose the model again for each step that fails with an invalid model identifier. See EU Region Model Support. -
Amazon Nova 2 Lite and Nova Micro are sized for their real context windows. Auto-sizing treated Nova 2 Lite as a 300K-token model (it has 1M) and gave Nova Micro shards larger than its whole window. Output requests are unchanged, through new
max_tokens: 10000defaults includingocr.max_tokens. A stack whose model limits were edited in the web UI keeps them until Restore Defaults is used on the Model Limits page. See Max Tokens Sizing (#2048). -
A stack update records one configuration revision when it changes what a profile runs, and none otherwise. A profile nobody edited could show "New documents do not run this configuration", and some presets gained an identical revision on every update. The next stack update repairs
defaultand stack-managed profiles; save any other affected profile once. See A save that changes nothing records nothing. -
A document or test run pinned to a configuration revision fills missing settings from
default, as the profile does. A setting added after the revision was saved took the code's built-in default (empty, for a prompt). A later change todefaulttherefore now reaches pinned documents too. See Selecting a revision for processing or testing (#1955). -
Configuration validation reports more silent mistakes.
idp-cli config-validateandconfig-uploadwarn whenextraction.modeoverridesagentic.enabled: trueand whenclassification.fallback_classnames no configured class.config-uploadand the SDK'sconfig.upload()now show the warnings at all, and a warning containing brackets is printed as written. See config-upload. -
Agentic table extraction no longer counts a table's header rows as data on some runs. The table tool now parses the section's own OCR text rather than a copy the agent writes, which could differ, and the agent no longer spends output tokens reproducing the document. See Extraction & Confidence.
-
idp-cli reprocessand the SDK's reprocess calls work again. Every request failed withDocument not found; they now reprocess through the stack, as the web UI does, and report the stack's reason for any document not queued. See idp-cli reprocess. -
idp-cli statusanddelete-documentsselect the right documents.status --batch-idleft out documents still processing, aborted, rejected or awaiting review, anddelete-documents --status-filtermatched nothing at all; both now accept exactly the statuses a document can have (notPROCESSING, which none has). Deleting by batch or pattern no longer fails on one malformed record or lists a document once per run, and--format jsonoutput parses. See status and delete-documents (#2165, #2189, #2195, #2199, #2204). -
idp-cli run-inference --monitorstops when documents wait for review. Held documents count as Awaiting Review, the monitor andstatus --waitstop, andstatus --waitexits2for such a batch; the SDK'sbatch.get_statusreports them asawaiting_review. See IDP SDK (#2022). -
idp-cliand the SDK resolve the Region the same way everywhere.deploy,publish,rerun-inference, the Test Studio commands anddiscover-multidocignored the boto3 default session or fell back tous-east-1orus-west-2, and configuration commands could writeus.models from an EU stack whenAWS_REGIONnamed another Region. All now use--region, then boto3's Region, thenAWS_REGION. See Region and its precedence. -
Two batches started with the same prefix in the same second no longer share a batch ID, which let one batch's documents overwrite the other's. Generated IDs now end in a random suffix. See
process/run-inference(#2113). -
Multi-document Discovery reports noise documents and failed embeddings separately.
noise_documentscounted failed embeddings, so real noise went unreported. Code that readnoise_documentsto detect embedding failures should read the newfailed_embeddings. See Multi-document discovery output (#2164). -
Reporting Glue tables keep their columns. A class with an upper-case field name rewrote its table on every document, a field one document lacked was dropped from the table and from Athena, and creating or updating a table could duplicate columns or discard table parameters. A one-time correction may set old non-string section columns to
string, after which Athena may fail to read the oldest partitions. See Automatic Table Creation (#2110, #2200). -
Test sets are no longer overwritten or half-deleted. Creating a set whose id was taken, a stack update deploying a benchmark dataset, or two Test Set Generator jobs with one name could overwrite an existing set, and deleting a set while a job wrote it left a folder that came back as a new set. Each is now refused, or the set is kept as
FAILEDwith the reason, and one failed set no longer stops Test Studio from cleaning up deleted folders. See Deleting test sets. -
Test Studio's "Modified after" filter and Check Files count match what is copied. A relative window was resolved twice, dropping files that aged out between check and copy; the two file-pattern flows read a custom time differently (both now read UTC, with a date picker in each); and the count included
.zipfiles and documents already in the set. Invalid dates are refused at the field and the API, and stale check results no longer linger. See Adding Documents to Existing Test Sets. -
Capacity Planning plans evaluation and escalation, and no longer fails on one unreadable quota. Evaluation's LLM judge and escalation re-extraction are planned on the models that serve them, and a model whose quota cannot be read is left out with a warning instead of failing the whole calculation. See Capacity Planning (#2024).
-
Quick Start saves into a new profile, and no longer shows its own instructions as your messages. Discovery added classes to whichever profile was active, possibly a stack-managed preset; each conversation now saves into a new
quickstart-…profile, and Quick Start,idp-cli bootstrapand the Test Set Generator no longer write intodefaultor a stack-managed profile. See A typical conversation. -
Deleting a stack keeps the KMS key that encrypts its retained buckets, so their data stays readable.
idp-cli deletenames the kept key and the command to schedule its deletion once the data is no longer needed; it costs about $1 a month until then. See The retained KMS key. -
Terraform upgrades keep your parameter values. An
idp-cli deploy --terraformupgrade reset every parameter not passed to an earlier deploy from the same directory to the new default; upgrading a deployment that never passedEnableMCP, for example, deleted its MCP integration. It now reads the values in effect, as a CloudFormation update does. See Upgrading. -
Terraform upgrades no longer stop part way, and plans settle. Upgrades that changed the CloudFront security-headers policy or the Lambda asynchronous-invocation settings failed during
terraform apply, and every plan showed the API stage's access-log destination changing. Apply this release's module, including on a deployment left part way. The security-headers policy now sendsX-XSS-Protection: 0in CloudFormation deployments too. See Upgrading (#1997, #2006, #2183). -
idp-cli delete --terraformdeletes custom-resource-managed resources, and lists what it leaves behind. The S3 Vectors knowledge base was left in the account; it is now deleted, and the report lists the log groups the destroy leaves. See Deleting (#2188). -
Migrating from
genai-idp-terraformkeeps the Region's API Gateway logging role, andrestore-configworks without a backup. Destroying the old deployment could stop API Gateway logging for every API in the Region;plannow detaches that setting andcheck-destroyrefuses a destroy plan that deletes it. See What happens to each resource. -
Rule validation no longer runs a job twice after a
RuntimeError, which repeated every model call and its cost (#2114). -
Every container image is checked before an upgrade or rollback reuses it. Two images were missing from the deploy's image checks, so with ECR image scanning on their functions were not held until their scans finished (#2220).
-
The guided tour no longer stops partway for an Author or Viewer. It skips steps whose page that user cannot see, and is not offered to a Reviewer-only user.
-
Counts of one read in the singular.
1 file,1 document,1 itemand similar replace1 filesanddocument(s)across the Documents list, upload page, review queues, reports, edit page, Agent Chat and Quick Start (#1770). -
A document's processing report no longer says "OCR: no markdown tables" after simple extraction, which counts none.
Templates
- us-west-2:
https://s3.us-west-2.amazonaws.com/aws-ml-blog-us-west-2/artifacts/genai-idp/idp-main_0.6.16.yaml - us-east-1:
https://s3.us-east-1.amazonaws.com/aws-ml-blog-us-east-1/artifacts/genai-idp/idp-main_0.6.16.yaml - eu-central-1:
https://s3.eu-central-1.amazonaws.com/aws-ml-blog-eu-central-1/artifacts/genai-idp/idp-main_0.6.16.yaml - ca-central-1:
https://s3.ca-central-1.amazonaws.com/aws-bigdata-blog-replica-ca-central-1/artifacts/genai-idp/idp-main_0.6.16.yaml