Skip to content

IngestPayloadType

Union Type

IngestPayloadType module-attribute

A single content payload item to ingest. A payload item contains either conversational or JSON content.

Union Member Types

IngestPayloadTypeConversational dataclass

Bases: _SerdeShape

The conversational content for this payload item.

Attributes

value instance-attribute

IngestPayloadTypeJson dataclass

Bases: _SerdeShape

The JSON content for this payload item.

Attributes

value instance-attribute

IngestPayloadTypeUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str