alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PromptResponse

    Represents the prompt and its corresponding AI-generated response in the SfInlineAIAssist component.

    Inheritance
    object
    PromptResponse
    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.InteractiveChat.dll
    Syntax
    public class PromptResponse
    Remarks

    This class is used to encapsulate a prompt-response pair returned by the AI engine within the SfInlineAIAssist component. The Prompt property holds the original input text submitted by the user, while the Response property contains the AI-generated output corresponding to that prompt.

    Constructors

    PromptResponse()

    Declaration
    public PromptResponse()

    Properties

    Prompt

    Gets or sets the text of the prompt in the SfInlineAIAssist 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 holds the raw prompt text entered by the user before it is processed by the AI engine.

    Response

    Gets or sets the response of the specified prompt in the SfInlineAIAssist 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 SfInlineAIAssist component.

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