clear • Rust AI Agent SDK

clear: Clear all documents

clear

Method

</div>

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

Clear all documents

Signature

python
def clear(&mut self) -> ()

Returns

ResponseField ()

The result of the operation.