Class AssistViewPrompt
Represents a prompt in the SfAIAssistView component.
Inheritance
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class AssistViewPrompt : Object
Remarks
This class is used to define prompts that are displayed in the AI Assist view.
Constructors
AssistViewPrompt()
Declaration
public AssistViewPrompt()
Properties
IsResponseHelpful
Gets or sets a value indicating whether the response is considered helpful. Represents the state of whether the generated response is useful or not.
Declaration
public Nullable<bool> IsResponseHelpful { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | A boolean indicating if the response is helpful, or |
Prompt
Gets or sets the text of the prompt in the SfAIAssistView component.
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text of the prompt. The default is |
Remarks
This property specifies the text for the SfAIAssistView component.
Response
Gets or sets the response of the specified prompt in the SfAIAssistView component.
Declaration
public string Response { get; set; }
Property Value
Type | Description |
---|---|
System.String | The output response of the prompt. The default is |
Remarks
This property specifies the output response for the SfAIAssistView component.