Class
SmartBoxAIAssistantSettings

Specifies settings.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class SmartBoxAIAssistantSettings : SmartBoxSearchSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentSmartBoxSearchSettingsBaseSmartBoxAIAssistantSettings

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members SmartBoxSearchSettingsBase.ChildContentSmartBoxSearchSettingsBase.EnabledBaseComponent.ShouldRender()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)

Constructors

SmartBoxAIAssistantSettings()

Declaration

cs-api-definition
public SmartBoxAIAssistantSettings()

Properties

ChatClientKey

The unique key that identifies the client service used by the component for AI operations.

Declaration

cs-api-definition
[Parameter]
public string ChatClientKey { get; set; }

Property Value

string

EnableSpeechToText

Specifies whether to enable speech to text functionality.

Declaration

cs-api-definition
[Parameter]
public bool EnableSpeechToText { get; set; }

Property Value

bool

OnPromptRequest

Specifies the prompt request event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SmartBoxAIAssistantPromptRequestEventArgs> OnPromptRequest { get; set; }

Property Value

EventCallback<SmartBoxAIAssistantPromptRequestEventArgs>

OnPromptRequestStop

Specifies the prompt request stop event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SmartBoxAIAssistantPromptRequestStopEventArgs> OnPromptRequestStop { get; set; }

Property Value

EventCallback<SmartBoxAIAssistantPromptRequestStopEventArgs>

Placeholder

Specifies the placeholder.

Declaration

cs-api-definition
[Parameter]
public string Placeholder { get; set; }

Property Value

string

PromptSuggestionTemplate

Specifies the prompt suggestion template.

Declaration

cs-api-definition
[Parameter]
public RenderFragment<SmartBoxPromptSuggestionTemplateContext> PromptSuggestionTemplate { get; set; }

Property Value

RenderFragment<SmartBoxPromptSuggestionTemplateContext>

PromptSuggestions

Specifies the prompt suggestions.

Declaration

cs-api-definition
[Parameter]
public List<string> PromptSuggestions { get; set; }

Property Value

List<string>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides BaseComponent.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)