Skip to content

MetadataAttributeSchema

Source code in docs_src/capo_bedrock/types/metadata_attribute_schema.py
class MetadataAttributeSchema(TypedDict, closed=True):
    key: "str"
    """<p>The unique identifier for the metadata attribute. This key is used to reference the attribute in filter expressions and reranking configurations.</p>"""
    type: "capo_bedrock.types.attribute_type.AttributeType"
    """<p>The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.</p>"""
    description: "str"
    """<p>An optional description of the metadata attribute that provides additional context about its purpose and usage.</p>"""

description instance-attribute

description: str

An optional description of the metadata attribute that provides additional context about its purpose and usage.

key instance-attribute

key: str

The unique identifier for the metadata attribute. This key is used to reference the attribute in filter expressions and reranking configurations.

type instance-attribute

The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.