Docs/SDK/Functions/Top K • Rust AI Agent SDKPreviousNextTop K • Rust AI Agent SDKtop_k: Set top_ktop_k Method </div> This is a method of the RAGConfig class in the rag module. Set top_k Signature pythondef top_k(mut self, k: usize) -> Self Parameters ParamField usizeNo description available. Returns ResponseField SelfThe result of the operation.PreviousNext