AgentInvocationBase Class
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.
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. |