AzureAIProjectsModelFactory.InvokeAgentInvocationsApiRoutineAction Method
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.
Dispatches a routine through the raw invocations API. Exactly one of agent_name or agent_endpoint_id must be provided.
public static Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction InvokeAgentInvocationsApiRoutineAction(string agentName = default, string agentEndpointId = default, BinaryData input = default, string sessionId = default);
static member InvokeAgentInvocationsApiRoutineAction : string * string * BinaryData * string -> Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction
Public Shared Function InvokeAgentInvocationsApiRoutineAction (Optional agentName As String = Nothing, Optional agentEndpointId As String = Nothing, Optional input As BinaryData = Nothing, Optional sessionId As String = Nothing) As InvokeAgentInvocationsApiRoutineAction
Parameters
- agentName
- String
The project-scoped agent name for routine dispatch.
- agentEndpointId
- String
Legacy endpoint-scoped agent identifier for routine dispatch.
- input
- BinaryData
Static JSON value sent as the complete downstream input when the routine fires. The value is passed through as-is; no templating is applied.
- sessionId
- String
An optional existing hosted-agent session identifier to continue during the downstream dispatch.
Returns
A new InvokeAgentInvocationsApiRoutineAction instance for mocking.