Whatever message this page gives is out now! Go check it out!
ask() or chat().ragService.ingest()Key | Description |
|---|---|
totalDocuments | Total number of source documents loaded. |
totalSegments | Total number of text segments created after splitting. |
successfulSegments | Number of segments successfully embedded and stored. |
failedSegments | Number of segments that failed during embedding or storage. |
durationMs | Total ingestion time in milliseconds. |
status | String status of the ingestion operation (e.g., "completed"). |
result = ragBot.ingest();
writeOutput("Ingested: #result.successfulSegments# / #result.totalSegments# segments");