ingestAll method
Index every document in documents.
Throws SDKException when the session is closed or ingestion fails.
Implementation
Future<void> ingestAll(List<RagDocument> documents) async {
for (final document in documents) {
await ingest(document);
}
}