Share via


IAgentInvocation Interface

Definition

Defines the contract for agent invocation implementations.

public interface IAgentInvocation
type IAgentInvocation = interface
Public Interface IAgentInvocation
Derived

Methods

Name Description
InvokeAsync(CreateResponseRequest, AgentInvocationContext, CancellationToken)

Invokes the agent asynchronously and returns a complete response.

InvokeStreamAsync(CreateResponseRequest, AgentInvocationContext, CancellationToken)

Invokes the agent asynchronously with streaming support.

Applies to