SmartBox.aiAssistantSettings
configurationConfigures the initial settings for the AI Assistant mode.
Enables or disables the AI Assistant mode in the SmartBox.
Default: false
smartBox.aiAssistantSettings.history
Boolean|ObjectSets the settings for the history queries in AI Assistant mode. Overrides the global smartBox.history setting for this mode.
The placeholder of the input in AI Assistant mode.
A list of prompts to be suggested to the user in AI Assistant mode.
smartBox.aiAssistantSettings.service
String|ObjectString 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.
smartBox.aiAssistantSettings.speechToTextButton
Boolean|ObjectSets the settings for the Speech to Text button in AI Assistant mode. When set to true, enables speech-to-text with default settings.
Default: false