Automate schema generation for intelligent document processing
AWS•How-to••by Grace Lang, David Kaleko, Spencer Romo and Bob Strahan•AWS Artificial Intelligence Blog
In this post, we’ll show you how our multi-document discovery feature solves this problem. It serves as an automated pre-processing step, analyzing unknown documents, clustering them by type, and generating schemas ready for the IDP Accelerator. You’ll learn how the new capability uses visual embeddings for automatic clustering and agents for schema generation. We’ll also walk you through running the solution on your own document collections.
The IDP Accelerator gains a multi-document discovery feature that clusters unlabeled documents by visual embeddings and uses agents to generate extraction schemas.
Who it is for
Teams with large unlabeled document collections who want to set up IDP Accelerator extraction without manually defining document classes.
Key points
Embeddings use Cohere Embed v4 on Amazon Bedrock; only the first page of each PDF is processed.
Clustering tests k from 2 to 20 by default using silhouette score.
Multi-page packets are not yet supported; the post says each file should be a single document.
A quality report flags overlapping clusters and suggests merges before schemas are finalized.
AI:Both target schema-shaped structured extraction from messy documents, using a managed Azure analyzer where the AWS item uses an open-source accelerator with agents.
Related posts
AWS•How-to••by Erik Cordsen, Sourabh Jain and Vivek Mittal•AWS Artificial Intelligence Blog
AI:Shows how to deploy a multi-agent system on Bedrock AgentCore that classifies documents, extracts fields with LLMs, validates them and saves learned extraction instructions for reuse on similar documents.
AI:AWS offers a catalog of 23 open source reusable generative AI assets, such as RAG pipelines, document processors and agent templates, to avoid rebuilding common components.
AI:A reference architecture shows how Nova Multimodal Embeddings and AgentCore agents assemble part substitution evidence (spec scoring, visual similarity, chart retrieval) while the engineer makes the decision.