Tool steps
'Convert PDF to text' Tool step
Use a Tool step to convert PDFs into text for your Agents and Tools to read
The ‘Convert PDF to text’ Tool step allows you to convert a PDF into text for your tools and Agents to use.
Add the ‘Convert PDF to text’ Tool step to your Tool
You can add the ‘Convert PDF to text’ Tool step to your Tool by:
- Creating a new Tool, then searching for the ‘Convert PDF to text’ Tool step
- Click ‘Expand’ to see the full Tool step
- Add the PDF you want to convert to text
- Click ‘Run step’ to run the Tool step
Advanced Settings
Use OCR
OCR (Optical character recognition or optical character reader) is needed for image PDFs (e.g. scanned data). This option uses more credits and therefore should only be activated for image PDFs.
This will not return images in the PDFs you upload, but will convert text in images to text for you to use in your Tools.
OCR Type
This allows you to choose the model used if ‘Use OCR’ is selected. The options available are:
- Fast model (~95% accuracy)
- Quality model (~99% accuracy but slow)
Return PDF Text as Documents (List of Texts)
This can only be selected if ‘Use OCR is selected’.
Toggling this will either return the PDF text as an aggregated text or as a list of texts.