New to Telerik UI for BlazorStart a free 30-day trial

Definition

Namespace:Telerik.Blazor.Components.Common.AIPrompt

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class AIPromptPromptRequestEventArgsBase

Inheritance: objectAIPromptPromptRequestEventArgsBase

Derived Classes: AIPromptPromptRequestEventArgsInlineAIPromptPromptRequestEventArgs

Constructors

C#
public AIPromptPromptRequestEventArgsBase()

Properties

Can cancel the request event.

C#
public bool IsCancelled { get; set; }

Output should be populated by the user of the component.

C#
public string Output { get; set; }

Prompt of the request.

C#
public string Prompt { get; set; }

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

C#
public string PromptContext { get; set; }

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.

C#
public object Request { get; set; }

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.

C#
public string Response { get; set; }