Skip to content

Bedrock  >  Structures  >  FilterAttribute

FilterAttribute

Structure Class

FilterAttribute dataclass

Specifies the name of the metadata attribute/field to apply filters. You must match the name of the attribute/field in your data source/document metadata.

Attributes

key instance-attribute
key: str

The name of metadata attribute/field, which must match the name in your data source/document metadata.

value instance-attribute
value: Document

The value of the metadata attribute/field.