AIInferenceModelFactory.ChatCompletionsToolDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ChatCompletionsToolDefinition.
public static Azure.AI.Inference.ChatCompletionsToolDefinition ChatCompletionsToolDefinition (Azure.AI.Inference.ChatCompletionsToolDefinitionType type = default, Azure.AI.Inference.FunctionDefinition function = default);
static member ChatCompletionsToolDefinition : Azure.AI.Inference.ChatCompletionsToolDefinitionType * Azure.AI.Inference.FunctionDefinition -> Azure.AI.Inference.ChatCompletionsToolDefinition
Public Shared Function ChatCompletionsToolDefinition (Optional type As ChatCompletionsToolDefinitionType = Nothing, Optional function As FunctionDefinition = Nothing) As ChatCompletionsToolDefinition
Parameters
The type of the tool. Currently, only function
is supported.
- function
- FunctionDefinition
The function definition details for the function tool.
Returns
A new ChatCompletionsToolDefinition instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET