Share via


AgentInvocationBase Class

Definition

Base class for agent invocations that provides common functionality for executing agents.

public abstract class AgentInvocationBase : Azure.AI.AgentServer.Responses.Invocation.IAgentInvocation
type AgentInvocationBase = class
    interface IAgentInvocation
Public MustInherit Class AgentInvocationBase
Implements IAgentInvocation
Inheritance
AgentInvocationBase
Derived
Implements

Constructors

Name Description
AgentInvocationBase()

Methods

Name Description
DoInvokeStreamAsync(CreateResponseRequest, AgentInvocationContext, CancellationToken)

Executes the agent invocation with streaming support.

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