alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ResponseTemplateContext

    Provides context information for rendering a response item template within the SfInlineAIAssist component.

    Inheritance
    object
    ResponseTemplateContext
    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 ResponseTemplateContext
    Remarks

    The ResponseTemplateContext supplies the following data to a ResponseItemTemplate:

    • Response the AI-generated response text.
    • ResponseItems the response items associated with this response.

    Constructors

    ResponseTemplateContext()

    Declaration
    public ResponseTemplateContext()

    Properties

    Response

    Gets the response of the 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 PromptResponse in the SfInlineAIAssist component.

    ResponseItems

    Gets the collection of response items for the output.

    Declaration
    public List<ResponseItem> ResponseItems { get; set; }
    Property Value
    Type Description
    List<ResponseItem>

    A list of ResponseItem representing the toolbar items for the response. The default is null.

    Remarks

    This property holds the collection of response items for the response of the PromptResponse component.

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