Skip to main content

top_k

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

Signature

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

Parameters

k
usize
required
No description available.

Returns

Returns
Self
The result of the operation.