Skip to content

Commit ebfdba3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add VALIDATED Function Calling mode to v1
PiperOrigin-RevId: 885373782
1 parent 715b3a8 commit ebfdba3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

google/cloud/aiplatform/v1/tool.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ message ToolConfig {
570570
message FunctionCallingConfig {
571571
// Function calling mode.
572572
enum Mode {
573+
reserved 4;
574+
573575
// Unspecified function calling mode. This value should not be used.
574576
MODE_UNSPECIFIED = 0;
575577

@@ -586,6 +588,14 @@ message FunctionCallingConfig {
586588
// Model will not predict any function calls. Model behavior is same as when
587589
// not passing any function declarations.
588590
NONE = 3;
591+
592+
// Model is constrained to predict either function calls or natural language
593+
// response.
594+
// If [allowed_function_names][FunctionCallingConfig.allowed_function_names]
595+
// are set, the predicted function calls will be limited to any one of
596+
// `allowed_function_names`, else the predicted function calls will be any
597+
// one of the provided [FunctionDeclaration].
598+
VALIDATED = 5;
589599
}
590600

591601
// Optional. Function calling mode.

0 commit comments

Comments
 (0)