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

Parameters

n
usize
required
No description available.

Returns

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

Rust Chunking

Rust RAG