Class: Google::Cloud::AIPlatform::V1::ComputeTokensRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ComputeTokensRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb
Overview
Request message for ComputeTokens RPC call.
Instance Attribute Summary collapse
-
#endpoint ⇒ ::String
Required.
-
#instances ⇒ ::Array<::Google::Protobuf::Value>
Required.
Instance Attribute Details
#endpoint ⇒ ::String
Returns Required. The name of the Endpoint requested to get lists of tokens and token ids.
34 35 36 37 |
# File 'proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb', line 34 class ComputeTokensRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#instances ⇒ ::Array<::Google::Protobuf::Value>
Returns Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
34 35 36 37 |
# File 'proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb', line 34 class ComputeTokensRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |