IAgentInvocation Interface
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.
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. |