Share via


ChatCompletionsNamedToolSelection Class

Definition

An abstract representation of an explicit, named tool selection to use for a chat completions request. Please note ChatCompletionsNamedToolSelection 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 ChatCompletionsNamedFunctionToolSelection.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Inference.UnknownChatCompletionsNamedToolSelection))]
public abstract class ChatCompletionsNamedToolSelection : System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatCompletionsNamedToolSelection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatCompletionsNamedToolSelection>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Inference.UnknownChatCompletionsNamedToolSelection))>]
type ChatCompletionsNamedToolSelection = class
    interface IJsonModel<ChatCompletionsNamedToolSelection>
    interface IPersistableModel<ChatCompletionsNamedToolSelection>
Public MustInherit Class ChatCompletionsNamedToolSelection
Implements IJsonModel(Of ChatCompletionsNamedToolSelection), IPersistableModel(Of ChatCompletionsNamedToolSelection)
Inheritance
ChatCompletionsNamedToolSelection
Derived
Attributes
Implements

Constructors

ChatCompletionsNamedToolSelection()

Initializes a new instance of ChatCompletionsNamedToolSelection.

Explicit Interface Implementations

IJsonModel<ChatCompletionsNamedToolSelection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatCompletionsNamedToolSelection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatCompletionsNamedToolSelection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatCompletionsNamedToolSelection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatCompletionsNamedToolSelection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to