This example demonstrates the usage of dialogs in the AI AssistView component. You can display the generated responses in the notes view.
In this example, the AI AssistView is shown inside a dialog component, which opens with a floating action button (FAB) click.
It uses predefined promptSuggestions
that are displayed based on user configuration and a custom toolbar item as a close icon to close the dialog.
The promptRequest
event finds matching prompts and displays the responses.