new • Rust AI Agent SDK

new: Create new metrics with duration.

new

Method

</div>

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

Create new metrics with duration.

Signature

python
def new(duration: Duration) -> Self

Parameters

ParamField Duration

No description available.

Returns

ResponseField Self

The result of the operation.