AIPromptCommand Class

A command shown under the output of RadzenAIPrompt that transforms the output with another instruction, for example "Make it shorter".

Inheritance

Object

AIPromptCommand

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class AIPromptCommand

Constructors

AIPromptCommandLink to this section

A command shown under the output of RadzenAIPrompt that transforms the output with another instruction, for example "Make it shorter".

Declaration
public AIPromptCommand()

Properties

IconLink to this section

Gets or sets the icon of the command button.

Declaration
public string Icon { get; set; }
Property Value
Type Description
stringGets or sets the icon of the command button.

PromptLink to this section

Gets or sets the instruction sent to the model together with the current output.

Declaration
public string Prompt { get; set; }
Property Value
Type Description
stringGets or sets the instruction sent to the model together with the current output.

TextLink to this section

Gets or sets the text of the command button.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets or sets the text of the command button.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙