RaisedEvent interface
A raised event — the unified shape shared by generative (onLLMResponse.toolCalls) and live (onEvent) evaluation. Fields are decoded native values, validated against the declared event schema; mismatches are surfaced in warnings, never dropped.
Signature:
export interface RaisedEvent
Properties
| Property | Type | Description |
|---|---|---|
Record<string, unknown> |
||
string |
Provider call-id where available, else generated. |
|
string |
||
number |
Media time (seconds) of the frame that produced the event (0 when unknown, e.g. live sessions). |
|
string[] |
Schema validation warnings (undeclared event, missing/unknown fields, type mismatches, enum out of range). |