ProjectsOpenAIModelFactory.AzureFunctionToolCall 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.
An Azure Function tool call.
public static Azure.AI.Projects.OpenAI.AzureFunctionToolCall AzureFunctionToolCall(string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, string name = default, string arguments = default, Azure.AI.Projects.OpenAI.ToolCallStatus status = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress);
static member AzureFunctionToolCall : string * Azure.AI.Projects.OpenAI.AgentReference * string * string * string * string * Azure.AI.Projects.OpenAI.ToolCallStatus -> Azure.AI.Projects.OpenAI.AzureFunctionToolCall
Public Shared Function AzureFunctionToolCall (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional callId As String = Nothing, Optional name As String = Nothing, Optional arguments As String = Nothing, Optional status As ToolCallStatus = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress) As AzureFunctionToolCall
Parameters
- id
- String
- agentReference
- AgentReference
The agent that created the item.
- responseId
- String
The response on which the item is created.
- callId
- String
The unique ID of the tool call generated by the model.
- name
- String
The name of the Azure Function being called.
- arguments
- String
A JSON string of the arguments to pass to the tool.
- status
- ToolCallStatus
The status of the tool call.
Returns
A new AzureFunctionToolCall instance for mocking.