Class: Aws::BedrockRuntime::Types::CountTokensResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::CountTokensResponse
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#input_tokens ⇒ Integer
The number of tokens in the provided input according to the specified model's tokenization rules.
Instance Attribute Details
#input_tokens ⇒ Integer
The number of tokens in the provided input according to the specified model's tokenization rules. This count represents the number of input tokens that would be processed if the same input were sent to the model in an inference request. Use this value to estimate costs and ensure your inputs stay within model token limits.
1294 1295 1296 1297 1298 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1294 class CountTokensResponse < Struct.new( :input_tokens) SENSITIVE = [] include Aws::Structure end |