Partager via


RunStepDeltaCodeInterpreterDetailItemObject Class

Definition

Represents the Code Interpreter tool call data in a streaming run step's tool calls.

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

Properties

Input

The input into the Code Interpreter tool call.

Outputs

The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs) or images (image). Each of these are represented by a different object type. 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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepDeltaCodeInterpreterDetailItemObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepDeltaCodeInterpreterDetailItemObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepDeltaCodeInterpreterDetailItemObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepDeltaCodeInterpreterDetailItemObject>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepDeltaCodeInterpreterDetailItemObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to