Class
AIPromptOutputItem

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:

cs-api-definition
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

AIPromptOutputItem()

Declaration

cs-api-definition
public AIPromptOutputItem()

Properties

Data

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.

Declaration

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

Property Value

object

InputText

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

Declaration

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

Property Value

string

Rating

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

Declaration

cs-api-definition
public double Rating { get; set; }

Property Value

double

ResponseText

Gets or sets the text response from the AI model.

Declaration

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

Property Value

string

Title

Gets or sets the title.

Declaration

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

Property Value

string