Dela via


RunStepToolCallDetails Class

Definition

The detailed information associated with a run step calling tools.

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

Properties

ToolCalls

A list of tool call details for this run step. Please note RunStepToolCall 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 RunStepCodeInterpreterToolCall, RunStepFunctionToolCall and RunStepRetrievalToolCall.

Explicit Interface Implementations

IJsonModel<RunStepDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from RunStepDetails)
IJsonModel<RunStepToolCallDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepToolCallDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from RunStepDetails)
IPersistableModel<RunStepToolCallDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepToolCallDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepToolCallDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to