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) Prevent new definition applications for pending dashboard creation or edits and clear persistent AI mode. | ||
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. AI mode stays active until a successful save, cancellation, or dashboard disconnection; 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. Dashboard building must be enabled by the integrator. Generation progress is cancelled if an assistant message identifies an agent without any registered dashboard skills; chat continues normally. | ||
() => 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.
Prevent new definition applications for pending dashboard creation or edits and clear persistent AI mode.
cancelGeneration: () => void;
Remarks
Does not stop the assistant stream or undo applied changes. A definition application already started is not interrupted and may still complete or be acknowledged after cancellation.
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. AI mode stays active until a successful save, cancellation, or dashboard disconnection; 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. Dashboard building must be enabled by the integrator. Generation progress is cancelled if an assistant message identifies an agent without any registered dashboard skills; chat continues normally.
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;