ChatCompletionsFunctionToolCall Class
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.
A tool call to a function tool, issued by the model in evaluation of a configured function tool, that represents a function invocation needed for a subsequent chat completions request to resolve.
public class ChatCompletionsFunctionToolCall : Azure.AI.Inference.ChatCompletionsToolCall, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatCompletionsFunctionToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatCompletionsFunctionToolCall>
type ChatCompletionsFunctionToolCall = class
inherit ChatCompletionsToolCall
interface IJsonModel<ChatCompletionsFunctionToolCall>
interface IPersistableModel<ChatCompletionsFunctionToolCall>
Public Class ChatCompletionsFunctionToolCall
Inherits ChatCompletionsToolCall
Implements IJsonModel(Of ChatCompletionsFunctionToolCall), IPersistableModel(Of ChatCompletionsFunctionToolCall)
- Inheritance
- Implements
Constructors
ChatCompletionsFunctionToolCall(String, FunctionCall) |
Initializes a new instance of ChatCompletionsFunctionToolCall. |
ChatCompletionsFunctionToolCall(String, String, String) |
Initializes a new instance of ChatCompletionsFunctionToolCall. |
Properties
Arguments |
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. |
Id |
The ID of the tool call. (Inherited from ChatCompletionsToolCall) |
Name |
The name of the function to call. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET