Class ResponseTemplateContext
Provides context information for rendering a response item template within the SfInlineAIAssist component.
Inherited Members
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 |
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 |
Remarks
This property holds the collection of response items for the response of the PromptResponse component.