ProjectsOpenAIModelFactory.AgentWorkflowPreviewActionResponseItem Method

Definition

The AgentWorkflowPreviewActionResponseItem.

public static Azure.AI.Projects.OpenAI.AgentWorkflowPreviewActionResponseItem AgentWorkflowPreviewActionResponseItem(string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default, string kind = default, string actionId = default, string parentActionId = default, string previousActionId = default, Azure.AI.Projects.OpenAI.AgentWorkflowPreviewActionStatus? status = default);
static member AgentWorkflowPreviewActionResponseItem : string * Azure.AI.Projects.OpenAI.AgentReference * string * string * string * string * string * Nullable<Azure.AI.Projects.OpenAI.AgentWorkflowPreviewActionStatus> -> Azure.AI.Projects.OpenAI.AgentWorkflowPreviewActionResponseItem
Public Shared Function AgentWorkflowPreviewActionResponseItem (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = 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 AgentWorkflowPreviewActionStatus) = Nothing) As AgentWorkflowPreviewActionResponseItem

Parameters

id
String
agentReference
AgentReference

The agent that created the item.

responseId
String

The response on which the item is created.

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<AgentWorkflowPreviewActionStatus>

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

Returns

A new AgentWorkflowPreviewActionResponseItem instance for mocking.

Applies to