Share via


ToolChoiceObjectCodeInterpreter Class

Definition

The ToolChoiceObjectCodeInterpreter.

public class ToolChoiceObjectCodeInterpreter : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObject, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObjectCodeInterpreter>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObjectCodeInterpreter>
type ToolChoiceObjectCodeInterpreter = class
    inherit ToolChoiceObject
    interface IUtf8JsonSerializable
    interface IJsonModel<ToolChoiceObjectCodeInterpreter>
    interface IPersistableModel<ToolChoiceObjectCodeInterpreter>
Public Class ToolChoiceObjectCodeInterpreter
Inherits ToolChoiceObject
Implements IJsonModel(Of ToolChoiceObjectCodeInterpreter), IPersistableModel(Of ToolChoiceObjectCodeInterpreter)
Inheritance
ToolChoiceObjectCodeInterpreter
Implements

Constructors

Name Description
ToolChoiceObjectCodeInterpreter()

Initializes a new instance of ToolChoiceObjectCodeInterpreter.

ToolChoiceObjectCodeInterpreter(ToolChoiceObjectType, IDictionary<String,BinaryData>)

Initializes a new instance of ToolChoiceObjectCodeInterpreter.

Properties

Name Description
Type

Gets or sets the type.

(Inherited from ToolChoiceObject)

Methods

Name Description
DeserializeToolChoiceObjectCodeInterpreter(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<ToolChoiceObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ToolChoiceObject)
IJsonModel<ToolChoiceObjectCodeInterpreter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ToolChoiceObjectCodeInterpreter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ToolChoiceObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ToolChoiceObject)
IPersistableModel<ToolChoiceObjectCodeInterpreter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ToolChoiceObjectCodeInterpreter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ToolChoiceObjectCodeInterpreter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to