Skip to content

MetadataConfiguration

Structure Class

MetadataConfiguration dataclass

Bases: _SerdeShape

Contains the configuration of a single custom metadata field in a knowledge base, including its name, data type, and whether the field is searchable.

Attributes

name instance-attribute
name: str

The name of the custom metadata field.

searchability instance-attribute
searchability: str

Specifies whether the custom metadata field is searchable. Valid values:

  • ENABLED -- The field is searchable.

  • DISABLED -- The field is not searchable.

type instance-attribute
type: str

The data type of the custom metadata field. Valid values are STRING and STRING_LIST.