getAdjacentChunks method
Fetch adjacent chunks for a given source and index range.
Useful for "Show More" or "Read Previous/Next" features.
Implementation
Future<List<ChunkSearchResult>> getAdjacentChunks({
required int sourceId,
required int minIndex,
required int maxIndex,
}) {
return rust_rag.getAdjacentChunks(
sourceId: sourceId,
minIndex: minIndex,
maxIndex: maxIndex,
);
}