JavaScript/jQuery TreeList - AIAssistantRequestCreatingEvent

The argument type in the aIAssistantRequestCreating event.

import { AIAssistantRequestCreatingEvent } from "devextreme/ui/tree_list"
Type:

Object

Accepted Values: 'context' | 'responseSchema' | 'additionalInfo'

In addition to the fields described in this section, AIAssistantRequestCreatingEvent includes the following fields:

  • additionalInfo: Additional information included in the AI Assistant request.
  • context: TreeList context included in the AI Assistant request, such as data and component state information.
  • responseSchema: The JSON schema for the AI Assistant response.

cancel

Specifies whether the event is cancelable.

Type:

Boolean

component

The UI component's instance.

Type:

TreeList

element

The UI component's container.