Partager via


RunStepDeltaChunk Class

Definition

Represents a run step delta i.e. any changed fields on a run step during streaming.

public class RunStepDeltaChunk : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepDeltaChunk>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepDeltaChunk>
type RunStepDeltaChunk = class
    interface IJsonModel<RunStepDeltaChunk>
    interface IPersistableModel<RunStepDeltaChunk>
Public Class RunStepDeltaChunk
Implements IJsonModel(Of RunStepDeltaChunk), IPersistableModel(Of RunStepDeltaChunk)
Inheritance
RunStepDeltaChunk
Implements

Properties

Delta

The delta containing the fields that have changed on the run step.

Id

The identifier of the run step, which can be referenced in API endpoints.

Object

The object type, which is always thread.run.step.delta.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepDeltaChunk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RunStepDeltaChunk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepDeltaChunk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepDeltaChunk>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RunStepDeltaChunk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to