你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResponseCodeInterpreterCallCodeDeltaEvent Constructors

Definition

Overloads

ResponseCodeInterpreterCallCodeDeltaEvent()

Source:
ResponseCodeInterpreterCallCodeDeltaEvent.cs

Initializes a new instance of ResponseCodeInterpreterCallCodeDeltaEvent for deserialization.

public ResponseCodeInterpreterCallCodeDeltaEvent();
Public Sub New ()

Applies to

ResponseCodeInterpreterCallCodeDeltaEvent(Int32, Int32, String, String)

Source:
ResponseCodeInterpreterCallCodeDeltaEvent.cs

Initializes a new instance of ResponseCodeInterpreterCallCodeDeltaEvent.

public ResponseCodeInterpreterCallCodeDeltaEvent(int sequenceNumber, int outputIndex, string itemId, string delta);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent : int * int * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent
Public Sub New (sequenceNumber As Integer, outputIndex As Integer, itemId As String, delta 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 being streamed.

itemId
String

The unique identifier of the code interpreter tool call item.

delta
String

The partial code snippet being streamed by the code interpreter.

Exceptions

itemId or delta is null.

Applies to

ResponseCodeInterpreterCallCodeDeltaEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Int32, String, String)

Source:
ResponseCodeInterpreterCallCodeDeltaEvent.cs

Initializes a new instance of ResponseCodeInterpreterCallCodeDeltaEvent.

public ResponseCodeInterpreterCallCodeDeltaEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, int outputIndex, string itemId, string delta);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * int * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), outputIndex As Integer, itemId As String, delta 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 being streamed.

itemId
String

The unique identifier of the code interpreter tool call item.

delta
String

The partial code snippet being streamed by the code interpreter.

Applies to