Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.

Rust Chunking

Rust RAG