FunctionCall Class

A predicted FunctionCall returned from the model that contains a string representing the Name with the arguments and their values.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class FunctionCall
Inheritance
Object    FunctionCall

Constructors

FunctionCallInitializes a new instance of the FunctionCall class

Properties

Args Optional. The function parameters and values in JSON object format.
Id Optional. The unique id of the function call. If populated, the client to execute the FunctionCall and return the response with the matching Id.
Name Required. The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also