AIPromptGeneratedEventArgs Class

Supplies information about a Generated event.

Inheritance

Object

AIPromptGeneratedEventArgs

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class AIPromptGeneratedEventArgs

Constructors

AIPromptGeneratedEventArgsLink to this section

Supplies information about a Generated event.

Declaration
public AIPromptGeneratedEventArgs()

Properties

CommandLink to this section

Gets the command that produced the output, or null when the prompt was typed or picked from the suggestions.

Declaration
public AIPromptCommand Command { get; set; }
Property Value
Type Description
AIPromptCommandGets the command that produced the output, or null when the prompt was typed or picked from the suggestions.

OutputLink to this section

Gets the generated output.

Declaration
public string Output { get; set; }
Property Value
Type Description
stringGets the generated output.

PromptLink to this section

Gets the prompt that was sent to the model.

Declaration
public string Prompt { get; set; }
Property Value
Type Description
stringGets the prompt that was sent to the model.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙