yera.runtime.models.out_event

Event model for events block events.

Symbols

class OutputEvent — Outbound event from Yera.

OutputEvent

Inherits: BaseModel

Outbound event from Yera.

Fields

event_class
type: Literal['content', 'prompt', 'progress', 'structure', 'control', 'context', 'lifecycle', 'logging'] (required)
block_type
type: str (required)
block_id
type: str (required)
data
type: yera.runtime.models.block_data.MarkdownData | yera.runtime.models.block_data.ButtonsData | yera.runtime.models.block_data.SpinnerData | yera.runtime.models.block_data.SuccessResultData | yera.runtime.models.block_data.ErrorResultData | yera.runtime.models.block_data.DatePickerData | yera.runtime.models.block_data.SliderData | yera.runtime.models.block_data.TableData | yera.runtime.models.block_data.BarChartData | yera.runtime.models.block_data.LineChartData | yera.runtime.models.block_data.InputRequestData | yera.runtime.models.block_data.SystemPromptData | yera.runtime.models.block_data.InputEchoData | yera.runtime.models.block_data.SuccessExitEventData | yera.runtime.models.block_data.FailureExitEventData | yera.runtime.models.block_data.SessionMetaData | yera.runtime.models.block_data.ThinkingData | yera.runtime.models.block_data.StructData | yera.runtime.models.block_data.SectionData | yera.runtime.models.block_data.BlockEndData | yera.runtime.models.block_data.TreeSelectorData | yera.runtime.models.block_data.ImageData | yera.runtime.models.block_data.FormData | yera.runtime.models.block_data.FormEchoData | yera.runtime.models.block_data.LoggingData (required)
chunk_id
type: int (required)
app_instance
type: yera.apps.dataclasses.AppInstance (required)
parent_block_id
type: str | None = None
operation_id
type: uuid.UUID | None = None
timestamp
type: datetime.datetime = <factory>