Class: Google::Cloud::AIPlatform::V1::CountTokensResponse

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

Overview

Response message for [PredictionService.CountTokens][].

Instance Attribute Summary collapse

Instance Attribute Details

#prompt_tokens_details::Array<::Google::Cloud::AIPlatform::V1::ModalityTokenCount> (readonly)



490
491
492
493
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 490

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

#total_billable_characters::Integer



490
491
492
493
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 490

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

#total_tokens::Integer



490
491
492
493
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 490

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