SDK ReferenceDocument RAG
Add Document to Index with Polling
Add a new document to an existing index and monitor the addition process until completion using polling.
Description
The Add Document to Index with Polling
endpoint allows you to expand an existing searchable index by uploading additional documents. Supported file types include PDF, DOC, DOCX, PPT, PPTX with a maximum file size of 20MB. This operation is asynchronous, and polling is used to monitor its progress until completion.
Caution
Add Document to Index with Polling
with polling is an synchronous process and it'll run until the index creation is completed and it can take upto 300 seconds to complete depending upon the size of the uploaded file.
It's recommended to use our Webhooks
or putting this method inside an async queue.