With Tokens • Rust AI Agent SDK

with_tokens: Set token counts.

with_tokens

Method

</div>

This is a method of the PerformanceMetrics class in the eval module.

Set token counts.

Signature

python
def with_tokens(mut self, input: usize, output: usize) -> Self

Parameters

ParamField usize

No description available.

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation