Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ebfdba3

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

1 file changed

+10Lines changed: 10 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/aiplatform/v1/tool.proto‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/v1/tool.proto
+10Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.