metadata • Rust AI Agent SDK

metadata: Set metadata

metadata

Method

</div>

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

Set metadata

Signature

python
def metadata(mut self, key: impl Into<String>, value: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.