Class: Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Instance Attribute Summary collapse
-
#computed_input_token_length ⇒ Fixnum
The length computed by backends using the formatter & tokenizer specific to the model Corresponds to the JSON property
computedInputTokenLength. -
#model_id ⇒ String
Corresponds to the JSON property
modelId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata
constructor
A new instance of LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata
Returns a new instance of LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata.
30882 30883 30884 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computed_input_token_length ⇒ Fixnum
The length computed by backends using the formatter & tokenizer specific to
the model
Corresponds to the JSON property computedInputTokenLength
30875 30876 30877 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30875 def computed_input_token_length @computed_input_token_length end |
#model_id ⇒ String
Corresponds to the JSON property modelId
30880 30881 30882 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30880 def model_id @model_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30887 30888 30889 30890 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30887 def update!(**args) @computed_input_token_length = args[:computed_input_token_length] if args.key?(:computed_input_token_length) @model_id = args[:model_id] if args.key?(:model_id) end |