New to Telerik UI for .NET MAUIStart a free 30-day trial

Contains information about a response received from the AI model based on a request from the end-user.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class AIPromptOutputItem : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseAIPromptOutputItem

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

C#
public AIPromptOutputItem()

Properties

Gets or sets some custom information about the particular item. The RadAIPrompt does not use this property anywhere, use this to carry a payload of information for your convenience.

C#
public object Data { get; set; }

Gets or sets the input text (the end-user's request) that was sent to the AI model.

C#
public string InputText { get; set; }

Gets or sets the end-user rating for this response.

C#
public double Rating { get; set; }

Gets or sets the text response from the AI model.

C#
public string ResponseText { get; set; }

Gets or sets the title.

C#
public string Title { get; set; }