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

python
def top_chunks(&self, n: usize) -> Vec<&ContextChunk>

Parameters

ParamField usize

No description available.


Related Documentation