ClassGridToolBarAIAssistantToolPromptSettings
Specifies settings.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class GridToolBarAIAssistantToolPromptSettings : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentGridToolBarAIAssistantToolPromptSettings
Implements:
Inherited Members
Constructors
GridToolBarAIAssistantToolPromptSettings()
Declaration
public GridToolBarAIAssistantToolPromptSettings()
Properties
EnableSpeechToText
Specifies whether to enable speech to text functionality.
Declaration
[Parameter]
public bool EnableSpeechToText { get; set; }
Property Value
Height
Defines the height of the component.
OnCommandExecute
Called when the user stops a Prompt Request.
Declaration
[Parameter]
public EventCallback<AIPromptCommandExecuteEventArgs> OnCommandExecute { get; set; }
Property Value
OnPromptRequest
Called when the user sends a Prompt Request.
Declaration
[Parameter]
public EventCallback<AIPromptPromptRequestEventArgs> OnPromptRequest { get; set; }
Property Value
OutputItemTemplate
Defines the Output Item Template of the component.
Declaration
[Parameter]
public RenderFragment<AIPromptOutputItemTemplateContext> OutputItemTemplate { get; set; }
Property Value
PromptPlaceholder
The placeholder for the prompt input.
Declaration
[Parameter]
public string PromptPlaceholder { get; set; }
Property Value
PromptSuggestionItemTemplate
Defines the Prompt Suggestion Item template of the component.
Declaration
[Parameter]
public RenderFragment<AIPromptSuggestionItemTemplateContext> PromptSuggestionItemTemplate { get; set; }
Property Value
PromptSuggestions
Defines the Prompt Suggestions of the component.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides