Share via


ComputerToolCallOutputItemParam Constructors

Definition

Overloads

ComputerToolCallOutputItemParam()

Source:
ComputerToolCallOutputItemParam.cs

Initializes a new instance of ComputerToolCallOutputItemParam for deserialization.

public ComputerToolCallOutputItemParam();
Public Sub New ()

Applies to

ComputerToolCallOutputItemParam(String, ComputerToolCallOutputItemOutput)

Source:
ComputerToolCallOutputItemParam.cs

Initializes a new instance of ComputerToolCallOutputItemParam.

public ComputerToolCallOutputItemParam(string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput output);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemParam : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemParam
Public Sub New (callId As String, output As ComputerToolCallOutputItemOutput)

Parameters

callId
String

The ID of the computer tool call that produced the output.

output
ComputerToolCallOutputItemOutput

Please note ComputerToolCallOutputItemOutput is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ComputerToolCallOutputItemOutputComputerScreenshot.

Exceptions

callId or output is null.

Applies to

ComputerToolCallOutputItemParam(ItemType, IDictionary<String, BinaryData>, String, IList<ComputerToolCallSafetyCheck>, ComputerToolCallOutputItemOutput)

Source:
ComputerToolCallOutputItemParam.cs

Initializes a new instance of ComputerToolCallOutputItemParam.

public ComputerToolCallOutputItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string callId, System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallSafetyCheck> acknowledgedSafetyChecks, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput output);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallSafetyCheck> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), callId As String, acknowledgedSafetyChecks As IList(Of ComputerToolCallSafetyCheck), output As ComputerToolCallOutputItemOutput)

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

callId
String

The ID of the computer tool call that produced the output.

acknowledgedSafetyChecks
IList<ComputerToolCallSafetyCheck>

The safety checks reported by the API that have been acknowledged by the developer.

output
ComputerToolCallOutputItemOutput

Please note ComputerToolCallOutputItemOutput is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ComputerToolCallOutputItemOutputComputerScreenshot.

Applies to