TeamsAgentExtension.OnFeedbackLoop Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a handler for feedback loop events when a user clicks the thumbsup or thumbsdown button on a response sent from the AI module. AIOptions<TState>.EnableFeedbackLoop must be set to true.
public Microsoft.Agents.Extensions.Teams.App.TeamsAgentExtension OnFeedbackLoop(Microsoft.Agents.Extensions.Teams.App.FeedbackLoopHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
member this.OnFeedbackLoop : Microsoft.Agents.Extensions.Teams.App.FeedbackLoopHandler * uint16 * string[] -> Microsoft.Agents.Extensions.Teams.App.TeamsAgentExtension
Public Function OnFeedbackLoop (handler As FeedbackLoopHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As TeamsAgentExtension
Parameters
- handler
- FeedbackLoopHandler
Function to call when the route is triggered
- rank
- UInt16
- autoSignInHandlers
- String[]