Udostępnij za pośrednictwem


SubmitToolOutputsAction Class

Definition

The details for required tool calls that must be submitted for an assistant thread run to continue.

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

Properties

ToolCalls

The list of tool calls that must be resolved for the assistant thread run to continue. Please note RequiredToolCall 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 RequiredFunctionToolCall.

Explicit Interface Implementations

IJsonModel<RequiredAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from RequiredAction)
IJsonModel<SubmitToolOutputsAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SubmitToolOutputsAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RequiredAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from RequiredAction)
IPersistableModel<SubmitToolOutputsAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubmitToolOutputsAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SubmitToolOutputsAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to