Partilhar via


ChatCompletionsToolDefinition(FunctionDefinition) Constructor

Definition

Initializes a new instance of ChatCompletionsToolDefinition.

public ChatCompletionsToolDefinition (Azure.AI.Inference.FunctionDefinition function);
new Azure.AI.Inference.ChatCompletionsToolDefinition : Azure.AI.Inference.FunctionDefinition -> Azure.AI.Inference.ChatCompletionsToolDefinition
Public Sub New (function As FunctionDefinition)

Parameters

function
FunctionDefinition

The function definition details for the function tool.

Exceptions

function is null.

Applies to