Share via


ProjectsOpenAIModelFactory.AgentWorkflowActionResponseItem Method

Definition

The AgentWorkflowActionResponseItem.

public static Azure.AI.Projects.OpenAI.AgentWorkflowActionResponseItem AgentWorkflowActionResponseItem(string id = default, Azure.AI.Projects.OpenAI.AgentResponseItemSource createdBy = default, string kind = default, string actionId = default, string parentActionId = default, string previousActionId = default, Azure.AI.Projects.OpenAI.AgentWorkflowActionStatus? status = default);
static member AgentWorkflowActionResponseItem : string * Azure.AI.Projects.OpenAI.AgentResponseItemSource * string * string * string * string * Nullable<Azure.AI.Projects.OpenAI.AgentWorkflowActionStatus> -> Azure.AI.Projects.OpenAI.AgentWorkflowActionResponseItem
Public Shared Function AgentWorkflowActionResponseItem (Optional id As String = Nothing, Optional createdBy As AgentResponseItemSource = Nothing, Optional kind As String = Nothing, Optional actionId As String = Nothing, Optional parentActionId As String = Nothing, Optional previousActionId As String = Nothing, Optional status As Nullable(Of AgentWorkflowActionStatus) = Nothing) As AgentWorkflowActionResponseItem

Parameters

id
String
createdBy
AgentResponseItemSource

The information about the creator of the item.

kind
String

The kind of CSDL action (e.g., 'SetVariable', 'InvokeAzureAgent').

actionId
String

Unique identifier for the action.

parentActionId
String

ID of the parent action if this is a nested action.

previousActionId
String

ID of the previous action if this action follows another.

status
Nullable<AgentWorkflowActionStatus>

Status of the action (e.g., 'in_progress', 'completed', 'failed', 'cancelled').

Returns

A new AgentWorkflowActionResponseItem instance for mocking.

Applies to