ProjectsOpenAIModelFactory.AgentResponseItem 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.
The AgentResponseItem. Please note this is the abstract base class. The derived classes available for instantiation are: AgentStructuredOutputsResponseItem, AgentWorkflowPreviewActionResponseItem, OAuthConsentRequestResponseItem, MemorySearchToolCallResponseItem, BingGroundingToolCall, BingGroundingToolCallOutput, SharepointGroundingToolCall, SharepointGroundingToolCallOutput, AzureAISearchToolCall, AzureAISearchToolCallOutput, BingCustomSearchToolCall, BingCustomSearchToolCallOutput, OpenApiToolCall, OpenApiToolCallOutput, BrowserAutomationToolCall, BrowserAutomationToolCallOutput, FabricDataAgentToolCall, FabricDataAgentToolCallOutput, AzureFunctionToolCall, AzureFunctionToolCallOutput, A2AToolCall, and A2AToolCallOutput.
public static Azure.AI.Projects.OpenAI.AgentResponseItem AgentResponseItem(string type = default, string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default);
static member AgentResponseItem : string * string * Azure.AI.Projects.OpenAI.AgentReference * string -> Azure.AI.Projects.OpenAI.AgentResponseItem
Public Shared Function AgentResponseItem (Optional type As String = Nothing, Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing) As AgentResponseItem
Parameters
- type
- String
- id
- String
- agentReference
- AgentReference
The agent that created the item.
- responseId
- String
The response on which the item is created.
Returns
A new AgentResponseItem instance for mocking.