SDK ReferenceType aliases
UiAction
Type Alias: UiAction
UiAction = {
type:"SHOW_FEEDBACK_FORM"; } | {type:"SHOW_ESCALATE_TO_HUMAN"; } | {questions:string[];type:"SHOW_SUGGESTED_QUESTIONS"; } | {fields: ("name"|"email"|"phone")[];type:"COLLECT_CONTACT"; } | {label:string;type:"LINK";url:string; }
Defined in: packages/sdk/src/backend/agents.ts:21
A UI action the model proposed and the backend allowed (rendered by the client).