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
AttachedFiles
Gets or sets the collection of files attached to this prompt in the SfAIAssistView component.
Declaration
public List<FileInfo> AttachedFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<FileInfo> | A list of FileInfo objects representing files that were uploaded and associated with this specific prompt. |
Remarks
Used to display files attached to the prompt, making it easy to view, manage, and interact with attachments directly within the AI assistance interface.
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.