GridSmartBoxAiAssistantSettingsSettingsTagHelper
Example
Razor
<ai-assistant-settings>
<history />
<service />
<speech-to-text-button />
</ai-assistant-settings>
ChildTags
| Tag Name | Details |
|---|---|
| history | GridSmartBoxAiAssistantSettingsHistorySettingsTagHelper |
| service | GridSmartBoxAiAssistantSettingsServiceSettingsTagHelper |
| speech-to-text-button | GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| enabled | Boolean | Enables or disables the AI Assistant mode in the SmartBox. |
| placeholder | String | The placeholder of the input in AI Assistant mode. |
| prompt-suggestions | String[] | An array of prompt suggestions displayed in the AI Assistant mode popup. |
| service | String | String value represents the URL to which the SmartBox tool sends the AI request. When you set this property, the SmartBox tool sends and handles an HTTP request to the provided URL. You can handle the smartBoxAIAssistantPromptRequest event to modify the request options before the tool sends it.The object configuration enables the user to set specific headers configuration and send additional data with the AI request.When service is not configured, the SmartBox tool does not send an HTTP request. You should handle the smartBoxAIAssistantPromptRequest event to send and handle a custom HTTP request. |