Cloud AI Platform v1 API - Class FunctionCall (2.22.0)

public sealed class FunctionCall : IMessage<FunctionCall>, IEquatable<FunctionCall>, IDeepCloneable<FunctionCall>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class FunctionCall.

A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.

Inheritance

object > FunctionCall

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

FunctionCall()

public FunctionCall()

FunctionCall(FunctionCall)

public FunctionCall(FunctionCall other)
Parameter
NameDescription
otherFunctionCall

Properties

Args

public Struct Args { get; set; }

Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

Property Value
TypeDescription
Struct

Name

public string Name { get; set; }

Required. The name of the function to call. Matches [FunctionDeclaration.name].

Property Value
TypeDescription
string