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