GridSmartBoxAIAssistantConfigProps
Configuration options for the AI assistant mode.
The AI assistant supports three operational modes:
- Auto mode: Set
requestOptions(withurlproperty) - SmartBox handles the request automatically - Controlled mode: Set
requestUrlwithoutrequestOptions- SmartBox makes requests but you control loading state - Manual mode: Don't set
requestUrlorrequestOptions- Handle requests yourself viaonAIPromptRequest
Definition
Package:@progress/kendo-react-grid
Properties
enabled?
boolean
Enables or disables the AI assistant mode.
history?
boolean | GridSmartBoxHistoryProps
Configures the AI assistant history settings. Can be a boolean to enable/disable or an object with detailed settings.
Optional custom HTTP client for the AI assistant. When provided, overrides the built-in fetch-based transport.
placeholder?
string
Sets the placeholder text for the AI assistant input.
promptSuggestions?
string[]
List of suggested prompts to display in the popup.
Defines the options for the HTTP request.
Accepts both GridAIRequestConfig (recommended) and AxiosRequestConfig (legacy).
requestUrl?
string
Defines the URL to which the AI request will be sent.
When set without requestOptions, enables controlled mode.
speechToTextButton?
boolean | SpeechToTextButtonProps
Enables the speech-to-text functionality. Can be a boolean to enable/disable or an object with SpeechToTextButton props.