Skip to content

MetadataSchemaEntry

Structure Class

MetadataSchemaEntry dataclass

Bases: _SerdeShape

A metadata field definition within a strategy's schema.

Attributes

extraction_config class-attribute instance-attribute
extraction_config: ExtractionConfig | None = ...

Configuration for extracting this metadata value from conversational content. Applicable only if extractionType is LLM inferred.

extraction_type class-attribute instance-attribute
extraction_type: str | None = ...

Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.

key instance-attribute
key: str

The metadata field name. Must match an indexed key to be queryable via metadata filters.

type class-attribute instance-attribute
type: str | None = ...

The MetadataValueType.