AI Cloud Architect

Automate schema generation for intelligent document processing

AWSHow-to by Grace Lang, David Kaleko, Spencer Romo and Bob StrahanAWS 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.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.

The same at other vendors