Share via


ChatCompletionsNamedFunctionToolSelection Class

Definition

A tool selection of a specific, named function tool that will limit chat completions to using the named function.

public class ChatCompletionsNamedFunctionToolSelection : Azure.AI.Inference.ChatCompletionsNamedToolSelection, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatCompletionsNamedFunctionToolSelection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatCompletionsNamedFunctionToolSelection>
type ChatCompletionsNamedFunctionToolSelection = class
    inherit ChatCompletionsNamedToolSelection
    interface IJsonModel<ChatCompletionsNamedFunctionToolSelection>
    interface IPersistableModel<ChatCompletionsNamedFunctionToolSelection>
Public Class ChatCompletionsNamedFunctionToolSelection
Inherits ChatCompletionsNamedToolSelection
Implements IJsonModel(Of ChatCompletionsNamedFunctionToolSelection), IPersistableModel(Of ChatCompletionsNamedFunctionToolSelection)
Inheritance
ChatCompletionsNamedFunctionToolSelection
Implements

Constructors

ChatCompletionsNamedFunctionToolSelection(ChatCompletionsFunctionToolSelection)

Initializes a new instance of ChatCompletionsNamedFunctionToolSelection.

Properties

Function

The function that should be called.

Explicit Interface Implementations

IJsonModel<ChatCompletionsNamedFunctionToolSelection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatCompletionsNamedFunctionToolSelection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ChatCompletionsNamedToolSelection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ChatCompletionsNamedToolSelection)
IPersistableModel<ChatCompletionsNamedFunctionToolSelection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatCompletionsNamedFunctionToolSelection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatCompletionsNamedFunctionToolSelection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ChatCompletionsNamedToolSelection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ChatCompletionsNamedToolSelection)

Applies to