Share via


ProjectsOpenAIModelFactory.AgentResponseItem Method

Definition

Content item used to generate a response. Please note this is the abstract base class. The derived classes available for instantiation are: AgentStructuredOutputsResponseItem, AgentWorkflowActionResponseItem, OAuthConsentRequestResponseItem, LocalShellToolCallAgentResponseItem, LocalShellToolCallOutputAgentResponseItem, and MemorySearchToolCallResponseItem.

public static Azure.AI.Projects.OpenAI.AgentResponseItem AgentResponseItem(string type = default, string id = default, Azure.AI.Projects.OpenAI.AgentResponseItemSource createdBy = default);
static member AgentResponseItem : string * string * Azure.AI.Projects.OpenAI.AgentResponseItemSource -> Azure.AI.Projects.OpenAI.AgentResponseItem
Public Shared Function AgentResponseItem (Optional type As String = Nothing, Optional id As String = Nothing, Optional createdBy As AgentResponseItemSource = Nothing) As AgentResponseItem

Parameters

type
String
id
String
createdBy
AgentResponseItemSource

The information about the creator of the item.

Returns

A new AgentResponseItem instance for mocking.

Applies to