Class
AIPromptPromptRequestEventArgsBase

Definition

Namespace:Telerik.Blazor.Components.Common.AIPrompt

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class AIPromptPromptRequestEventArgsBase

Inheritance: objectAIPromptPromptRequestEventArgsBase

Derived Classes: AIPromptPromptRequestEventArgsInlineAIPromptPromptRequestEventArgs

Constructors

AIPromptPromptRequestEventArgsBase()

Declaration

cs-api-definition
public AIPromptPromptRequestEventArgsBase()

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

Prompt

Prompt of the request.

Declaration

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

Property Value

string

PromptContext

Additional prompt context. It will be added after the prompt.

Declaration

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

Property Value

string

Request

Specifies a default request object if a component that uses the AI Prompt can populate it, e.g. the Grid. Not applicable in other cases.

Declaration

cs-api-definition
public object Request { get; set; }

Property Value

object

Response

Specifies the result of an AI request that can be processed by another component that uses the AI prompt, e.g. the Grid. This is usually the text content of an AI service call. Not applicable in other cases.

Declaration

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

Property Value

string