type-alias
Source: events.ts ↗
ChatDefinitionReceivedEvent
An event emitted when a definition is received in a live assistant response or replayed from chat history.
export type ChatDefinitionReceivedEvent = BaseEvent & IAiAssistantDefinitionReceivedPayload & {
type: "onDefinitionReceived";
visualization?: NonNullable<IChatConversationVisualisationContent["visualization"]>;
alertProposal?: IAlertProposal;
};
References: BaseEvent
Remarks
The payload fields depend on definitionType; not every optional field is populated for every event. The ids, the dashboard draft and the Publisher document drafts are inherited from IAiAssistantDefinitionReceivedPayload, which documents each of them.