ComputerToolCallOutputItemResource 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 |
|---|---|
| ComputerToolCallOutputItemResource() |
Initializes a new instance of ComputerToolCallOutputItemResource for deserialization. |
| ComputerToolCallOutputItemResource(String, ComputerToolCallOutputItemResourceStatus, String, ComputerToolCallOutputItemOutput) |
Initializes a new instance of ComputerToolCallOutputItemResource. |
| ComputerToolCallOutputItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ComputerToolCallOutputItemResourceStatus, String, IReadOnlyList<ComputerToolCallSafetyCheck>, ComputerToolCallOutputItemOutput) |
Initializes a new instance of ComputerToolCallOutputItemResource. |
ComputerToolCallOutputItemResource()
Initializes a new instance of ComputerToolCallOutputItemResource for deserialization.
public ComputerToolCallOutputItemResource();
Public Sub New ()
Applies to
ComputerToolCallOutputItemResource(String, ComputerToolCallOutputItemResourceStatus, String, ComputerToolCallOutputItemOutput)
Initializes a new instance of ComputerToolCallOutputItemResource.
public ComputerToolCallOutputItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResourceStatus status, string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput output);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResource : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResourceStatus * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResource
Public Sub New (id As String, status As ComputerToolCallOutputItemResourceStatus, callId As String, output As ComputerToolCallOutputItemOutput)
Parameters
- id
- String
The status of the item. One of in_progress, completed, or
incomplete. Populated when items are returned via API.
- 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
id, callId or output is null.
Applies to
ComputerToolCallOutputItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ComputerToolCallOutputItemResourceStatus, String, IReadOnlyList<ComputerToolCallSafetyCheck>, ComputerToolCallOutputItemOutput)
Initializes a new instance of ComputerToolCallOutputItemResource.
public ComputerToolCallOutputItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResourceStatus status, string callId, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallSafetyCheck> acknowledgedSafetyChecks, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput output);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResourceStatus * string * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallSafetyCheck> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemOutput -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerToolCallOutputItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As ComputerToolCallOutputItemResourceStatus, callId As String, acknowledgedSafetyChecks As IReadOnlyList(Of ComputerToolCallSafetyCheck), output As ComputerToolCallOutputItemOutput)
Parameters
- type
- ItemType
- id
- String
- createdBy
- CreatedBy
The information about the creator of the item.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
The status of the item. One of in_progress, completed, or
incomplete. Populated when items are returned via API.
- callId
- String
The ID of the computer tool call that produced the output.
- acknowledgedSafetyChecks
- IReadOnlyList<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.