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

usize
required
No description available.

Returns

Vec<&ContextChunk>
The result of the operation.

Rust Chunking

Rust RAG