Share via


RunStepCodeInterpreterToolCall Class

Definition

A record of a call to a code interpreter tool, issued by the model in evaluation of a defined tool, that represents inputs and outputs consumed and emitted by the code interpreter.

public class RunStepCodeInterpreterToolCall : Azure.AI.OpenAI.Assistants.RunStepToolCall, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.RunStepCodeInterpreterToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.RunStepCodeInterpreterToolCall>
type RunStepCodeInterpreterToolCall = class
    inherit RunStepToolCall
    interface IJsonModel<RunStepCodeInterpreterToolCall>
    interface IPersistableModel<RunStepCodeInterpreterToolCall>
Public Class RunStepCodeInterpreterToolCall
Inherits RunStepToolCall
Implements IJsonModel(Of RunStepCodeInterpreterToolCall), IPersistableModel(Of RunStepCodeInterpreterToolCall)
Inheritance
RunStepCodeInterpreterToolCall
Implements

Properties

Id

The ID of the tool call. This ID must be referenced when you submit tool outputs.

(Inherited from RunStepToolCall)
Input

The input provided by the model to the code interpreter tool.

Outputs

The outputs produced by the code interpreter tool back to the model in response to the tool call. Please note RunStepCodeInterpreterToolCallOutput 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 RunStepCodeInterpreterImageOutput and RunStepCodeInterpreterLogOutput.

Explicit Interface Implementations

IJsonModel<RunStepCodeInterpreterToolCall>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepCodeInterpreterToolCall>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RunStepToolCall>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RunStepToolCall)
IJsonModel<RunStepToolCall>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RunStepToolCall)
IPersistableModel<RunStepCodeInterpreterToolCall>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepCodeInterpreterToolCall>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepCodeInterpreterToolCall>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RunStepToolCall>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RunStepToolCall)
IPersistableModel<RunStepToolCall>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RunStepToolCall)
IPersistableModel<RunStepToolCall>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RunStepToolCall)

Applies to