View a markdown version of this page

Comparing the two paths - AWS Context

Comparing the two paths

The following table compares how the structured and unstructured paths build and serve an Agent Context.

Aspect Structured path Unstructured path

Input

Database, table, and column schema from a catalog or database.

Shared business knowledge in documents, wiki pages, playbooks, support content, and application data.

How AWS Context processes the source

AWS Context ingests the source schema deterministically as database, table, and column nodes.

Managed ingestion processes content into passages and embeddings for semantic retrieval.

How it enriches the graph

The source schema creates nodes that reflect the source structure. Linking connects those nodes to shared ontology types.

Ontology-guided extraction identifies business entities and relationships and adds them to the Agent Context graph.

Extraction used?

No. AWS Context ingests the schema directly.

Yes. The applied ontology guides extraction from unstructured text.

Semantic retrieval

Use ExecuteSql to run one read-only SQL statement over tables in a linked AWS Glue Data Catalog connection.

The Context retrieval agent retrieves relevant passages from the managed knowledge base and can use them to return a grounded answer.

Typical sources

AWS Glue Data Catalog, Databricks Unity Catalog, Snowflake Horizon, uploaded CSV files.

Amazon Bedrock Managed Knowledge Bases, including SharePoint, OneDrive, Confluence, Amazon S3, and supported application connectors.

Value to agents

Gives agents governed access to structured business data and relationships.

Gives agents centrally managed semantic retrieval and shared business meaning without separate retrieval pipelines.

Identity behavior

Access follows the identity of the requesting user or agent and respects source permissions, such as AWS Lake Formation fine-grained access control.

Access follows the identity of the requesting user or agent and respects the access controls of the underlying knowledge base and source.