共用方式為


ChatCompletionsNamedToolChoiceFunction Class

Definition

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

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

Constructors

ChatCompletionsNamedToolChoiceFunction(String)

Initializes a new instance of ChatCompletionsNamedToolChoiceFunction.

Properties

Name

The name of the function that should be called.

Explicit Interface Implementations

IJsonModel<ChatCompletionsNamedToolChoiceFunction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatCompletionsNamedToolChoiceFunction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatCompletionsNamedToolChoiceFunction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatCompletionsNamedToolChoiceFunction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatCompletionsNamedToolChoiceFunction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to