getStats method

Future<SourceStats> getStats()

Get statistics about stored sources and chunks.

Implementation

Future<SourceStats> getStats() async {
  return await rust_rag.getSourceStatsInCollection(
    collectionId: collectionId,
  );
}