Improve contract search accuracy with auto-generated filters in Amazon Bedrock
Amazon Web Services Ariana Lopez
Amazon Web Services describes AIDA, an AI-powered system for searching large contract repositories using retrieval-augmented generation with metadata filtering on Amazon Bedrock Knowledge Bases. The system uses implicit metadata pre-filtering before semantic search, followed by explicit application-layer constraints, to narrow results and reduce retrieval noise in legal documents. Enterprises can now query complex contracts in natural language with improved accuracy, though AWS emphasizes that AI-generated interpretations should still be reviewed by legal professionals.
Why it matters
In this post, we describe how AIDA works at a high level and how it helps address these challenges — grounding users in the right contracts, under the right legal context, and within the right access boundaries. Specifically, we explore how AIDA uses implicit and explicit filtering, along with metadata-enriched chunking in Amazon Bedrock Knowledge Bases, to dramatically improve contract search accuracy.