getSourceChunkCount method

Future<int> getSourceChunkCount(
  1. int sourceId
)

Get the number of chunks for a specific source.

Useful for pagination, progress tracking, and batch processing.

Implementation

Future<int> getSourceChunkCount(int sourceId) =>
    _ragService.getSourceChunkCount(sourceId: sourceId);