Class: Google::Cloud::AIPlatform::V1::ComputeTokensResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb

Overview

Response message for ComputeTokens RPC call.

Instance Attribute Summary collapse

Instance Attribute Details

#tokens_info::Array<::Google::Cloud::AIPlatform::V1::TokensInfo>

Returns Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.

Returns:

  • (::Array<::Google::Cloud::AIPlatform::V1::TokensInfo>)

    Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.



68
69
70
71
# File 'proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb', line 68

class ComputeTokensResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end