Whatever message this page gives is out now! Go check it out!
ragService.ingestAsync().get() on the Future to block until ingestion completes. The resolved value is a Struct with the same shape as the return value of ingest(): totalDocuments, totalSegments, successfulSegments, failedSegments, durationMs, status.future = ragBot.ingestAsync();
// … do other work …
result = future.get(); // blocks until ingestion completes
writeOutput("Status: #result.status#");