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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.