GenAIChatProps
Home > @gooddata/sdk-ui-gen-ai > GenAIChatProps
GenAIChatProps interface
Properties for the GenAIChat component.
Signature:
export interface GenAIChatProps
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
allowNativeLinks? | boolean | (Optional) When true, allows the chat to render links that open in a new tab or window. This is handy only when embedding the chat in same environment where GD platform is running because chat always create full URLs to the links. | |
backend? | IAnalyticalBackend | (Optional) Analytical backend to use for server communication. | |
catalogItems? | CatalogItem[] | (Optional) Catalog items for autocomplete. | |
colorPalette? | IColorPalette | (Optional) Color palette to use for the chat UI. | |
disableAnalyze? | boolean | (Optional) This will disable analyze permissions for the user even if the user has them defined. | |
disableFullControl? | boolean | (Optional) This will disable full control permissions for the user even if the user has them defined. | |
disableManage? | boolean | (Optional) This will disable manage permissions for the user even if the user has them defined. | |
eventHandlers? | ChatEventHandler[] | (Optional) Event handlers to subscribe to chat events. | |
locale? | string | (Optional) The locale to use for the chat UI. | |
onLinkClick? | (linkClickEvent: LinkHandlerEvent) => void | (Optional) When provided, references to the metadata objects will be rendered as clickable links. Otherwise, the metadata objects will be rendered as plain text (using object title). | |
workspace? | string | (Optional) The workspace ID the user is working with. |