New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring GridSmartBoxAiAssistantSettingsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridSmartBoxAiAssistantSettingsSettingsBuilder<T> where T : class

Inheritance: objectGridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the GridSmartBoxAiAssistantSettingsSettingsBuilder<T> class.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder(GridSmartBoxAiAssistantSettingsSettings<T> container)
Parameters:containerGridSmartBoxAiAssistantSettingsSettings<T>

Properties

Gets the container settings.

C#
protected GridSmartBoxAiAssistantSettingsSettings<T> Container { get; }

Methods

Enables or disables the AI Assistant mode in the SmartBox.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> Enabled()
Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current GridSmartBoxAiAssistantSettingsSettingsBuilder<T> instance.

Enables or disables the AI Assistant mode in the SmartBox.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> Enabled(bool value)
Parameters:valuebool

The value for Enabled

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current GridSmartBoxAiAssistantSettingsSettingsBuilder<T> instance.

Sets the settings for the history queries in AI Assistant mode. Overrides the global smartBox.history setting for this mode.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> History(Action<GridSmartBoxAiAssistantSettingsHistorySettingsBuilder<T>> configurator)
Parameters:configuratorAction<GridSmartBoxAiAssistantSettingsHistorySettingsBuilder<T>>

The GridSmartBoxAiAssistantSettingsHistorySettingsBuilder<T> for the history setting.

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsSettingsBuilder<T> .

Sets the settings for the history queries in AI Assistant mode. Overrides the global smartBox.history setting for this mode.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> History(bool enabled)
Parameters:enabledbool

Enables or disables the history option.

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsHistorySettingsBuilder<T> .

The placeholder of the input in AI Assistant mode.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> Placeholder(string value)
Parameters:valuestring

The value for Placeholder

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current GridSmartBoxAiAssistantSettingsSettingsBuilder<T> instance.

A list of prompts to be suggested to the user in AI Assistant mode.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> PromptSuggestions(params string[] suggestions)
Parameters:suggestionsstring[]Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

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.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> Service(Action<GridSmartBoxAiAssistantSettingsServiceSettingsBuilder<T>> configurator)
Parameters:configuratorAction<GridSmartBoxAiAssistantSettingsServiceSettingsBuilder<T>>

The GridSmartBoxAiAssistantSettingsServiceSettingsBuilder<T> for the service setting.

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsSettingsBuilder<T> .

Sets the settings for the Speech to Text button in AI Assistant mode. When set to true, enables speech-to-text with default settings.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> SpeechToTextButton()
Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder<T> .

Sets the settings for the Speech to Text button in AI Assistant mode. When set to true, enables speech-to-text with default settings.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> SpeechToTextButton(Action<GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder<T>> configurator)
Parameters:configuratorAction<GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder<T>>

The GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder<T> for the speechtotextbutton setting.

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsSettingsBuilder<T> .

Sets the settings for the Speech to Text button in AI Assistant mode. When set to true, enables speech-to-text with default settings.

C#
public GridSmartBoxAiAssistantSettingsSettingsBuilder<T> SpeechToTextButton(bool enabled)
Parameters:enabledbool

Enables or disables the speechtotextbutton option.

Returns:

GridSmartBoxAiAssistantSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder<T> .