rebuildIndex method

Future<void> rebuildIndex()

Rebuild the HNSW index after adding documents.

Call this after adding one or more documents for optimal search performance. The index enables fast approximate nearest neighbor search.

Implementation

Future<void> rebuildIndex() => _ragService.rebuildIndex();