IUseDashboardCopilotResult
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Props and actions connecting one dashboard to a shared assistant store.
export interface IUseDashboardCopilotResult
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(props?: GenAIAssistantProps) => GenAIAssistantProps | (ALPHA) Get props for the assistant inside the shared GenAiStore. Keeps dashboardSelector controlled by the hook to maintain ambient context; other props pass through unchanged. Attach chat event handlers to the outer store using genAiStoreProps. Call without arguments for defaults. | ||
() => void | (ALPHA) Clear creation intent; this does not cancel an assistant response already streaming. | ||
Omit<ICopilotInteractionComposingWithHandlerProps, “children”> | (ALPHA) Pass to CopilotInteractionComposingWithHandler around the dashboard. | ||
(ALPHA) Hook-owned workflow handler, also usable by custom progress presentations. | |||
(props?: IDashboardProps) => IDashboardProps | (ALPHA) Get props for Dashboard. Appends application event handlers after internal handlers and calls the internal onStateChange before the application callback. Merges config while keeping aiMode controlled by the copilot; other props pass through unchanged. Call without arguments for defaults. | ||
(props?: Omit<GenAiStoreProps, “children”>) => Omit<GenAiStoreProps, “children”> | (ALPHA) Get props for the outer GenAiStore, not the nested assistant. Appends application event handlers after internal handlers and calls the internal onDispatcher before the application callback. Other props pass through unchanged. Call without arguments for the default connection. | ||
(message: string) => void | (ALPHA) Start a new conversation and generate into a new, empty dashboard in edit mode. | ||
() => void | (ALPHA) Select the waiting workflow’s originating conversation in the shared assistant. | ||
(message: string) => void | (ALPHA) Send a message in the current conversation. Ignored until the shared store is ready. |
Property details
IUseDashboardCopilotResult.assistantPropspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Get props for the assistant inside the shared GenAiStore. Keeps dashboardSelector controlled by the hook to maintain ambient context; other props pass through unchanged. Attach chat event handlers to the outer store using genAiStoreProps. Call without arguments for defaults.
assistantProps: (props?: GenAIAssistantProps) => GenAIAssistantProps;
IUseDashboardCopilotResult.cancelGenerationpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Clear creation intent; this does not cancel an assistant response already streaming.
cancelGeneration: () => void;
IUseDashboardCopilotResult.composingPropspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Pass to CopilotInteractionComposingWithHandler around the dashboard.
composingProps: Omit<ICopilotInteractionComposingWithHandlerProps, "children">;
IUseDashboardCopilotResult.copilotpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Hook-owned workflow handler, also usable by custom progress presentations.
copilot: CopilotHandler;
IUseDashboardCopilotResult.dashboardPropspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Get props for Dashboard. Appends application event handlers after internal handlers and calls the internal onStateChange before the application callback. Merges config while keeping aiMode controlled by the copilot; other props pass through unchanged. Call without arguments for defaults.
dashboardProps: (props?: IDashboardProps) => IDashboardProps;
IUseDashboardCopilotResult.genAiStorePropspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Get props for the outer GenAiStore, not the nested assistant. Appends application event handlers after internal handlers and calls the internal onDispatcher before the application callback. Other props pass through unchanged. Call without arguments for the default connection.
genAiStoreProps: (props?: Omit<GenAiStoreProps, "children">) => Omit<GenAiStoreProps, "children">;
IUseDashboardCopilotResult.generateDashboardpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Start a new conversation and generate into a new, empty dashboard in edit mode.
generateDashboard: (message: string) => void;
IUseDashboardCopilotResult.replyInChatpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Select the waiting workflow’s originating conversation in the shared assistant.
replyInChat: () => void;
IUseDashboardCopilotResult.sendMessagepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Send a message in the current conversation. Ignored until the shared store is ready.
sendMessage: (message: string) => void;