AIPromptCommand
Class
A command that is used within the RadAIPrompt to display a pre-defined action/instruction to send to the AI model.
Definition
Namespace:Telerik.Maui.Controls.AIPrompt
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class AIPromptCommand : AIPromptCommandBase, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseAIPromptCommandBaseAIPromptCommand
Implements:
Inherited Members
Constructors
C#
public AIPromptCommand()
Properties
Gets or sets the command that is executed when the AIPrompt command is tapped. When this property is null the Text is used to make a request to the AI model, i.e. the PromptRequest event is raised.
C#
public ICommand Command { get; set; }