Skip to content

Conversational

Structure Class

Conversational dataclass

Bases: _SerdeShape

Contains conversational content for an event payload.

Attributes

content instance-attribute
content: Content

The content of the conversation message.

role instance-attribute
role: str

The role of the participant in the conversation (for example, "user" or "assistant").