Uses of Interface
software.amazon.awssdk.services.bedrockagentcore.model.TokenUsage.Builder
Packages that use TokenUsage.Builder
-
Uses of TokenUsage.Builder in software.amazon.awssdk.services.bedrockagentcore.model
Methods in software.amazon.awssdk.services.bedrockagentcore.model that return TokenUsage.BuilderModifier and TypeMethodDescriptionstatic TokenUsage.BuilderTokenUsage.builder()TokenUsage.Builder.inputTokens(Integer inputTokens) The number of tokens consumed for input processing during the evaluation.TokenUsage.Builder.outputTokens(Integer outputTokens) The number of tokens generated by the evaluator model in its response.TokenUsage.toBuilder()TokenUsage.Builder.totalTokens(Integer totalTokens) The total number of tokens consumed during the evaluation, calculated as the sum of input and output tokens.Methods in software.amazon.awssdk.services.bedrockagentcore.model that return types with arguments of type TokenUsage.BuilderModifier and TypeMethodDescriptionstatic Class<? extends TokenUsage.Builder>TokenUsage.serializableBuilderClass()Method parameters in software.amazon.awssdk.services.bedrockagentcore.model with type arguments of type TokenUsage.BuilderModifier and TypeMethodDescriptiondefault EvaluationResultContent.BuilderEvaluationResultContent.Builder.tokenUsage(Consumer<TokenUsage.Builder> tokenUsage) The token consumption statistics for this evaluation, including input tokens, output tokens, and total tokens used by the underlying language model during the evaluation process.