Class: Google::Cloud::AIPlatform::V1::FunctionCallingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::FunctionCallingConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/tool.rb
Overview
Function calling config.
Defined Under Namespace
Modules: Mode
Instance Attribute Summary collapse
-
#allowed_function_names ⇒ ::Array<::String>
Optional.
-
#mode ⇒ ::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode
Optional.
Instance Attribute Details
#allowed_function_names ⇒ ::Array<::String>
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 583 class FunctionCallingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Function calling mode. module Mode # Unspecified function calling mode. This value should not be used. MODE_UNSPECIFIED = 0 # Default model behavior, model decides to predict either function calls # or natural language response. AUTO = 1 # Model is constrained to always predicting function calls only. # If "allowed_function_names" are set, the predicted function calls will be # limited to any one of "allowed_function_names", else the predicted # function calls will be any one of the provided "function_declarations". ANY = 2 # Model will not predict any function calls. Model behavior is same as when # not passing any function declarations. NONE = 3 end end |
#mode ⇒ ::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 583 class FunctionCallingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Function calling mode. module Mode # Unspecified function calling mode. This value should not be used. MODE_UNSPECIFIED = 0 # Default model behavior, model decides to predict either function calls # or natural language response. AUTO = 1 # Model is constrained to always predicting function calls only. # If "allowed_function_names" are set, the predicted function calls will be # limited to any one of "allowed_function_names", else the predicted # function calls will be any one of the provided "function_declarations". ANY = 2 # Model will not predict any function calls. Model behavior is same as when # not passing any function declarations. NONE = 3 end end |