Class: Aws::BedrockAgentCore::Types::HarnessTokenUsage
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::HarnessTokenUsage
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Token usage counts for the invocation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cache_read_input_tokens ⇒ Integer
The number of input tokens read from cache.
-
#cache_write_input_tokens ⇒ Integer
The number of input tokens written to cache.
-
#input_tokens ⇒ Integer
The number of input tokens consumed.
-
#output_tokens ⇒ Integer
The number of output tokens generated.
-
#total_tokens ⇒ Integer
The total number of tokens consumed.
Instance Attribute Details
#cache_read_input_tokens ⇒ Integer
The number of input tokens read from cache.
5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5308 class HarnessTokenUsage < Struct.new( :input_tokens, :output_tokens, :total_tokens, :cache_read_input_tokens, :cache_write_input_tokens) SENSITIVE = [] include Aws::Structure end |
#cache_write_input_tokens ⇒ Integer
The number of input tokens written to cache.
5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5308 class HarnessTokenUsage < Struct.new( :input_tokens, :output_tokens, :total_tokens, :cache_read_input_tokens, :cache_write_input_tokens) SENSITIVE = [] include Aws::Structure end |
#input_tokens ⇒ Integer
The number of input tokens consumed.
5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5308 class HarnessTokenUsage < Struct.new( :input_tokens, :output_tokens, :total_tokens, :cache_read_input_tokens, :cache_write_input_tokens) SENSITIVE = [] include Aws::Structure end |
#output_tokens ⇒ Integer
The number of output tokens generated.
5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5308 class HarnessTokenUsage < Struct.new( :input_tokens, :output_tokens, :total_tokens, :cache_read_input_tokens, :cache_write_input_tokens) SENSITIVE = [] include Aws::Structure end |
#total_tokens ⇒ Integer
The total number of tokens consumed.
5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5308 class HarnessTokenUsage < Struct.new( :input_tokens, :output_tokens, :total_tokens, :cache_read_input_tokens, :cache_write_input_tokens) SENSITIVE = [] include Aws::Structure end |