Partilhar via


RunStepDeltaCodeInterpreterOutput Class

Definition

The abstract base representation of a streaming run step tool call's Code Interpreter tool output. Please note RunStepDeltaCodeInterpreterOutput 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 RunStepDeltaCodeInterpreterImageOutput and RunStepDeltaCodeInterpreterLogOutput.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownRunStepDeltaCodeInterpreterOutput))]
public abstract class RunStepDeltaCodeInterpreterOutput : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepDeltaCodeInterpreterOutput>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepDeltaCodeInterpreterOutput>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownRunStepDeltaCodeInterpreterOutput))>]
type RunStepDeltaCodeInterpreterOutput = class
    interface IJsonModel<RunStepDeltaCodeInterpreterOutput>
    interface IPersistableModel<RunStepDeltaCodeInterpreterOutput>
Public MustInherit Class RunStepDeltaCodeInterpreterOutput
Implements IJsonModel(Of RunStepDeltaCodeInterpreterOutput), IPersistableModel(Of RunStepDeltaCodeInterpreterOutput)
Inheritance
RunStepDeltaCodeInterpreterOutput
Derived
Attributes
Implements

Constructors

RunStepDeltaCodeInterpreterOutput(Int32)

Initializes a new instance of RunStepDeltaCodeInterpreterOutput.

Properties

Index

The index of the output in the streaming run step tool call's Code Interpreter outputs array.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepDeltaCodeInterpreterOutput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepDeltaCodeInterpreterOutput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepDeltaCodeInterpreterOutput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepDeltaCodeInterpreterOutput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepDeltaCodeInterpreterOutput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to