With Rerank • Rust AI Agent SDK

with_rerank: Enable reranking

with_rerank

Method

</div>

This is a method of the KnowledgeConfig class in the config module.

Enable reranking

Signature

python
def with_rerank(mut self) -> Self

Returns

ResponseField Self

The result of the operation.