Class ResponseItemTemplateContext
Inheritance
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class ResponseItemTemplateContext : Object
Constructors
ResponseItemTemplateContext()
Declaration
public ResponseItemTemplateContext()
Properties
Index
Gets the index of the response item.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the response item. The default is |
Remarks
This property specifies the index for the response item in the AssistViewPrompt component.
Prompt
Gets 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 AssistViewPrompt in the SfAIAssistView component.
Response
Gets the response of the 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 AssistViewPrompt in the SfAIAssistView component.
ToolbarItems
Gets the collection of toolbar items for the output.
Declaration
public List<AssistViewToolbarItem> ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AssistViewToolbarItem> | A list of AssistViewToolbarItem representing the toolbar items for the response. The default is |
Remarks
This property holds the collection of toolbar items for the response of the AssistViewPrompt component.