ChatEvent
Home > @gooddata/sdk-ui-gen-ai > ChatEvent
ChatEvent type
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A union type for all chat events.
Signature:
export type ChatEvent = ChatOpenedEvent | ChatClosedEvent | ChatResetEvent | ChatUserMessageEvent | ChatAssistantMessageEvent | ChatFeedbackEvent;
References: ChatOpenedEvent, ChatClosedEvent, ChatResetEvent, ChatUserMessageEvent, ChatAssistantMessageEvent, ChatFeedbackEvent