共用方式為


RunStepDelta Class

Definition

Represents the delta payload in a streaming run step delta chunk.

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

Properties

StepDetails

The details of the run step. Please note RunStepDeltaDetail 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 RunStepDeltaMessageCreation and RunStepDeltaToolCallObject.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepDelta>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepDelta>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepDelta>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepDelta>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepDelta>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to