getSourceChunks method

Future<List<String>> getSourceChunks({
  1. required int sourceId,
})

Get all chunk texts for a specific source.

Returns the raw text content of each chunk in order. Useful for displaying full document content reconstructed from chunks.

Implementation

Future<List<String>> getSourceChunks({required int sourceId}) async {
  return await rust_rag.getSourceChunks(sourceId: sourceId);
}