ComputerToolCallOutputItemParam Constructors
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.
Overloads
| Name | Description |
|---|---|
| ComputerToolCallOutputItemParam() |
Initializes a new instance of ComputerToolCallOutputItemParam for deserialization. |
| ComputerToolCallOutputItemParam(String, ComputerToolCallOutputItemOutput) |
Initializes a new instance of ComputerToolCallOutputItemParam. |
| ComputerToolCallOutputItemParam(ItemType, IDictionary<String, BinaryData>, String, IList<ComputerToolCallSafetyCheck>, ComputerToolCallOutputItemOutput) |
Initializes a new instance of ComputerToolCallOutputItemParam. |
ComputerToolCallOutputItemParam()
Initializes a new instance of ComputerToolCallOutputItemParam for deserialization.
public ComputerToolCallOutputItemParam();
Public Sub New ()
Applies to
ComputerToolCallOutputItemParam(String, ComputerToolCallOutputItemOutput)
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.
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)
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.
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.