ResponseCodeInterpreterCallCodeDoneEvent 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 |
|---|---|
| ResponseCodeInterpreterCallCodeDoneEvent() |
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent for deserialization. |
| ResponseCodeInterpreterCallCodeDoneEvent(Int32, Int32, String, String) |
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent. |
| ResponseCodeInterpreterCallCodeDoneEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Int32, String, String) |
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent. |
ResponseCodeInterpreterCallCodeDoneEvent()
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent for deserialization.
public ResponseCodeInterpreterCallCodeDoneEvent();
Public Sub New ()
Applies to
ResponseCodeInterpreterCallCodeDoneEvent(Int32, Int32, String, String)
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent.
public ResponseCodeInterpreterCallCodeDoneEvent(int sequenceNumber, int outputIndex, string itemId, string code);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent : int * int * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent
Public Sub New (sequenceNumber As Integer, outputIndex As Integer, itemId As String, code As String)
Parameters
- sequenceNumber
- Int32
The sequence number for this event.
- outputIndex
- Int32
The index of the output item in the response for which the code is finalized.
- itemId
- String
The unique identifier of the code interpreter tool call item.
- code
- String
The final code snippet output by the code interpreter.
Exceptions
itemId or code is null.
Applies to
ResponseCodeInterpreterCallCodeDoneEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Int32, String, String)
Initializes a new instance of ResponseCodeInterpreterCallCodeDoneEvent.
public ResponseCodeInterpreterCallCodeDoneEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, int outputIndex, string itemId, string code);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * int * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), outputIndex As Integer, itemId As String, code As String)
Parameters
- sequenceNumber
- Int32
The sequence number for this event.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- outputIndex
- Int32
The index of the output item in the response for which the code is finalized.
- itemId
- String
The unique identifier of the code interpreter tool call item.
- code
- String
The final code snippet output by the code interpreter.