Dela via


FunctionCall(String, String) Constructor

Definition

Initializes a new instance of FunctionCall.

public FunctionCall (string name, string arguments);
new Azure.AI.Inference.FunctionCall : string * string -> Azure.AI.Inference.FunctionCall
Public Sub New (name As String, arguments As String)

Parameters

name
String

The name of the function to call.

arguments
String

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.

Applies to