--- title: GridSmartBoxAIAssistantConfigProps description: "Learn how to build custom functionality when working with the React Grid by Kendo UI with the help of the GridSmartBoxAIAssistantConfigProps." api_reference: true type: inner_api slug: api_grid_gridsmartboxaiassistantconfigprops --- # GridSmartBoxAIAssistantConfigProps Configuration options for the AI assistant mode. The AI assistant supports three operational modes: - **Auto mode**: Set `requestOptions` (with `url` property) - SmartBox handles the request automatically - **Controlled mode**: Set `requestUrl` without `requestOptions` - SmartBox makes requests but you control loading state - **Manual mode**: Don't set `requestUrl` or `requestOptions` - Handle requests yourself via `onAIPromptRequest`
| Name | Type | Default | Description |
|---|---|---|---|
| #### enabled? |
boolean
|
Enables or disables the AI assistant mode. | |
| #### history? |
boolean | [GridSmartBoxHistoryProps]({% slug api_grid_gridsmartboxhistoryprops %})
|
Configures the AI assistant history settings. Can be a boolean to enable/disable or an object with detailed settings. | |
| #### httpClient? |
[GridAIHttpClient]({% slug api_grid_gridaihttpclient %})
|
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.
```tsx
|
|
| #### requestOptions? |
[GridAIRequestConfig]({% slug api_grid_gridairequestconfig %})
|
Defines the options for the HTTP request.
Accepts both `GridAIRequestConfig` (recommended) and `AxiosRequestConfig` (legacy).
```tsx
// Auto mode - SmartBox handles everything
|
|
| #### requestUrl? |
string
|
Defines the URL to which the AI request will be sent.
When set without `requestOptions`, enables controlled mode.
```tsx
// Controlled mode
|
|
| #### speechToTextButton? |
boolean | SpeechToTextButtonProps
|
Enables the speech-to-text functionality. Can be a boolean to enable/disable or an object with SpeechToTextButton props. |