len • Rust AI Agent SDK

len: Get document count

len

Method

</div>

This is a method of the Knowledge class in the knowledge module.

Get document count

Signature

python
def len(&self) -> usize

Returns

ResponseField usize

The result of the operation.