1
Upload PDF
You can upload a PDF file to CDF one of the following ways:
- Go to CDF > Industrial tools > Canvas and drag your PDF file to the canvas or upload existing files by selecting + Add data.
- Go to CDF > Industrial tools > Data explorer > Files and select Upload.
- Use the Python code.
2
Processing
Once you’ve uploaded the file, wait for it to pass through the RAG pipeline. You can use the Document status API to poll the status.
3
Search
Once the document is fully indexed, search for the the relevant pasages with the Python code.See the response for the test file.The response is a list of matching passages from the given documents. In addition to the relevant text, they contain the page numbers and bounding boxes where you can find the text. The response returns the passages in the order of relevance, where the top passage is the most relevant.