AIInferenceModelFactory.ChatCompletionsNamedToolChoice 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 ChatCompletionsNamedToolChoice.
public static Azure.AI.Inference.ChatCompletionsNamedToolChoice ChatCompletionsNamedToolChoice (Azure.AI.Inference.ChatCompletionsNamedToolChoiceType type = default, Azure.AI.Inference.ChatCompletionsNamedToolChoiceFunction function = default);
static member ChatCompletionsNamedToolChoice : Azure.AI.Inference.ChatCompletionsNamedToolChoiceType * Azure.AI.Inference.ChatCompletionsNamedToolChoiceFunction -> Azure.AI.Inference.ChatCompletionsNamedToolChoice
Public Shared Function ChatCompletionsNamedToolChoice (Optional type As ChatCompletionsNamedToolChoiceType = Nothing, Optional function As ChatCompletionsNamedToolChoiceFunction = Nothing) As ChatCompletionsNamedToolChoice
Parameters
The type of the tool. Currently, only function
is supported.
The function that should be called.
Returns
A new ChatCompletionsNamedToolChoice instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET