Class
AIPromptPromptRequestEventArgs

The class that describes the event arguments of the OnRequest event of the AIPrompt component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class AIPromptPromptRequestEventArgs

Inheritance: objectAIPromptPromptRequestEventArgs

Constructors

AIPromptPromptRequestEventArgs()

Declaration

cs-api-definition
public AIPromptPromptRequestEventArgs()

Properties

IsCancelled

Can cancel the request event.

Declaration

cs-api-definition
public bool IsCancelled { get; set; }

Property Value

bool

Output

Output should be populated by the user of the component.

Declaration

cs-api-definition
public string Output { get; set; }

Property Value

string

OutputItem

If the request is being retried, this property will hold the previous outputed item.

Declaration

cs-api-definition
public AIPromptOutputItemDescriptor OutputItem { get; set; }

Property Value

AIPromptOutputItemDescriptor

Prompt

Prompt of the request.

Declaration

cs-api-definition
public string Prompt { get; set; }

Property Value

string