Ttft Ms • Rust AI Agent SDK

ttft_ms: Time To First Token in milliseconds

ttft_ms

Method

</div>

This is a method of the StreamMetrics class in the streaming module.

Time To First Token in milliseconds

Signature

python
def ttft_ms(&self) -> u64

Returns

ResponseField u64

The result of the operation.