public sealed class FunctionCallingConfig : IMessage<FunctionCallingConfig>, IEquatable<FunctionCallingConfig>, IDeepCloneable<FunctionCallingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class FunctionCallingConfig.
Function calling config.
Implements
IMessageFunctionCallingConfig, IEquatableFunctionCallingConfig, IDeepCloneableFunctionCallingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
FunctionCallingConfig()
public FunctionCallingConfig()
FunctionCallingConfig(FunctionCallingConfig)
public FunctionCallingConfig(FunctionCallingConfig other)
Parameter | |
---|---|
Name | Description |
other |
FunctionCallingConfig |
Properties
AllowedFunctionNames
public RepeatedField<string> AllowedFunctionNames { get; }
Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Mode
public FunctionCallingConfig.Types.Mode Mode { get; set; }
Optional. Function calling mode.
Property Value | |
---|---|
Type | Description |
FunctionCallingConfigTypesMode |