你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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