View a markdown version of this page

Filters and scoping a connection - AWS Context

Filters and scoping a connection

Scoping and filtering control which data reaches an Agent Context, so that agents work only from relevant context. For example, you can leave out non-production databases, or documents that were last updated before a date that you choose. For an unstructured source, filtering also limits the number of documents that AWS Context ingests.

You choose the data in two places:

  • The data scope of a connection sets the data that the connection includes from its data source. Every Agent Context that uses the connection is limited to that data.

  • Data filtering in a connection’s configuration narrows what AWS Context ingests from the connection into one Agent Context. Agent Contexts that use the same connection can each use different filters.