stats method

Future<RagStats> stats()

Document, chunk, and index-size counts.

Throws SDKException when the session is closed.

Implementation

Future<RagStats> stats() async {
  _requireLive();
  return RagStats.fromProto(DartBridgeRAG.shared.getStatistics());
}