Skip to content

PayloadTypeDict

Union Type

PayloadTypeDict module-attribute

Dictionary form of PayloadType, setting exactly one variant.

Union Member Types

PayloadTypeConversationalDict

Bases: TypedDict

Attributes

conversational instance-attribute

The conversational content of the payload.

PayloadTypeBlobDict

Bases: TypedDict

Attributes

blob instance-attribute
blob: Document

The binary content of the payload.

PayloadTypeJsonDict

Bases: TypedDict

Attributes

json instance-attribute

The JSON content of the payload. Use this type to store non-conversational, JSON-formatted data, such as behavioral events, activity logs, or system events.