ChatCompletionsFunctionToolCall Constructors
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.
Overloads
ChatCompletionsFunctionToolCall(String, FunctionCall) |
Initializes a new instance of ChatCompletionsFunctionToolCall. |
ChatCompletionsFunctionToolCall(String, String, String) |
Initializes a new instance of ChatCompletionsFunctionToolCall. |
ChatCompletionsFunctionToolCall(String, FunctionCall)
Initializes a new instance of ChatCompletionsFunctionToolCall.
public ChatCompletionsFunctionToolCall (string id, Azure.AI.Inference.FunctionCall function);
new Azure.AI.Inference.ChatCompletionsFunctionToolCall : string * Azure.AI.Inference.FunctionCall -> Azure.AI.Inference.ChatCompletionsFunctionToolCall
Public Sub New (id As String, function As FunctionCall)
Parameters
- id
- String
The ID of the tool call.
- function
- FunctionCall
The details of the function invocation requested by the tool call.
Exceptions
id
or function
is null.
Applies to
ChatCompletionsFunctionToolCall(String, String, String)
Initializes a new instance of ChatCompletionsFunctionToolCall.
public ChatCompletionsFunctionToolCall (string id, string name, string arguments);
new Azure.AI.Inference.ChatCompletionsFunctionToolCall : string * string * string -> Azure.AI.Inference.ChatCompletionsFunctionToolCall
Public Sub New (id As String, name As String, arguments As String)
Parameters
- id
- String
The ID of the function tool call.
- name
- String
The name of the function that is called by the tool.
- arguments
- String
The arguments to the function that is called by the tool.
Remarks
This constructor is intended for use with ChatRequestAssistantMessage when constructing request messages for conversation history from accumulated streaming tool call updates.
Applies to
Azure SDK for .NET