Share via


IAgentResponseHandler Interface

Definition

Handler for processing responses from the agent. This is typically used to send messages to the user.

public interface IAgentResponseHandler
type IAgentResponseHandler = interface
Public Interface IAgentResponseHandler

Methods

Name Description
OnAgentResponseAsync(AgentResponse, CancellationToken)

Handles a discrete response from the agent. This is typically used to send messages to the user.

OnStreamingResponseUpdateAsync(IAsyncEnumerable<AgentResponseUpdate>, CancellationToken)

Handles a streaming response update from the agent. This is typically used to send messages to the user.

Applies to