Class ResponseStoppedEventArgs
Provides event data for the ResponseStopped event in the SfAIAssistView component.
Inheritance
System.Object
ResponseStoppedEventArgs
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class ResponseStoppedEventArgs : Object
Constructors
ResponseStoppedEventArgs()
Declaration
public ResponseStoppedEventArgs()
Properties
DataIndex
Gets the index of the prompt data in the SfAIAssistView component.
Declaration
public int DataIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The zero-based index representing the position of the prompt in the component.
Defaults to |
Remarks
- This property helps track which prompt instance was active when "Stop Responding" was clicked.
- If a response is dynamically appended to an existing prompt, this index helps reference the correct prompt.
Prompt
Gets the text of the prompt associated with the response being stopped.
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text of the prompt. The default is |
Remarks
This property provides access to the original user prompt that triggered the AI response, allowing to manage stopped responses effectively.