AIInferenceModelFactory.ChatCompletionsToolCall 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 ChatCompletionsToolCall.
public static Azure.AI.Inference.ChatCompletionsToolCall ChatCompletionsToolCall (string id = default, Azure.AI.Inference.ChatCompletionsToolCallType type = default, Azure.AI.Inference.FunctionCall function = default);
static member ChatCompletionsToolCall : string * Azure.AI.Inference.ChatCompletionsToolCallType * Azure.AI.Inference.FunctionCall -> Azure.AI.Inference.ChatCompletionsToolCall
Public Shared Function ChatCompletionsToolCall (Optional id As String = Nothing, Optional type As ChatCompletionsToolCallType = Nothing, Optional function As FunctionCall = Nothing) As ChatCompletionsToolCall
Parameters
- id
- String
The ID of the tool call.
The type of tool call. Currently, only function
is supported.
- function
- FunctionCall
The details of the function call requested by the AI model.
Returns
A new ChatCompletionsToolCall 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