public sealed class FunctionCall : IMessage<FunctionCall>, IEquatable<FunctionCall>, IDeepCloneable<FunctionCall>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 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.
Implements
IMessageFunctionCall, IEquatableFunctionCall, IDeepCloneableFunctionCall, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
FunctionCall()
public FunctionCall()FunctionCall(FunctionCall)
public FunctionCall(FunctionCall other)| Parameter | |
|---|---|
| Name | Description |
other |
FunctionCall |
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 | |
|---|---|
| Type | Description |
Struct |
|
Id
public string Id { get; set; }Optional. The unique id of the function call. If populated, the client to
execute the function_call and return the response with the matching id.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. The name of the function to call. Matches [FunctionDeclaration.name].
| Property Value | |
|---|---|
| Type | Description |
string |
|