alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AssistViewPrompt

    Represents a prompt in the SfAIAssistView component.

    Inheritance
    object
    AssistViewPrompt
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AssistViewPrompt
    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
    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 bool? IsResponseHelpful { get; set; }
    Property Value
    Type Description
    bool?

    A boolean indicating if the response is helpful, or null if not applicable. The default value is null.

    Prompt

    Gets or sets the text of the prompt in the SfAIAssistView component.

    Declaration
    public string Prompt { get; set; }
    Property Value
    Type Description
    string

    The text of the prompt. The default is String.Empty.

    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
    string

    The output response of the prompt. The default is String.Empty.

    Remarks

    This property specifies the output response for the SfAIAssistView component.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved