Skip to content

MetadataAttributeSchemaDict

Dictionary Type

MetadataAttributeSchemaDict

Bases: TypedDict

Dictionary form of MetadataAttributeSchema.

Attributes

description instance-attribute
description: Required[str]

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

key instance-attribute
key: Required[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
type: Required[str]

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