Top Chunks • Rust AI Agent SDK
top_chunks: Get top chunks by score
top_chunks
Method
</div>
This is a method of the RetrievalResult class in the rag module.
Get top chunks by score
Signature
def top_chunks(&self, n: usize) -> Vec<&ContextChunk>Parameters
ParamField
usizeNo description available.