Top K • Rust AI Agent SDK

top_k: Set top_k

top_k

Method

</div>

This is a method of the RAGConfig class in the rag module.

Set top_k

Signature

python
def top_k(mut self, k: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.