Skip to main content

top_chunks

Method
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

n
usize
required
No description available.

Returns

Returns
Vec<&ContextChunk>
The result of the operation.