In this tutorial, I’ll explain how to use the Advanced Step "Extract Text from Entire PDF" on the Tess AI platform. This step is useful for extracting text from a PDF, allowing you to use it to train your model or query the document. Here are the details on how to fill in the fields and examples of use cases:

Fill-in Fields:
Insert the file or PDF link: In this field, you need to provide the link to a PDF file that is published on the internet and has open access. Alternatively, you can use the result from the user input "Upload File" to extract data from files stored on your computer.
Output Result:
The text from the entire PDF will be extracted.
Use Cases:
Importing Contracts for Queries: Imagine that you have a library of contracts in PDF format. Using the "Extract Text from Entire PDF" Step, you can extract the text from all these contracts and create a search model that lets users search for specific terms in the contracts. This is useful for quickly finding important information.
Importing Knowledge Bases for Query: If you have a knowledge base in PDF format, you can use this step to extract the content from all the documents and make it available in a query system. Users can then search and access relevant information effectively.
Importing Documents for Training Across Different Markets: If you are training an AI model for a specific market, such as the financial, legal, or medical sector, you can use the "Extract Text from Entire PDF" Step to collect data from relevant PDF documents. This data can be used to train the model and improve its understanding of the market, allowing it to provide more accurate and contextual information.
Limitations:
It’s important to keep in mind that training your AI based on PDF documents extracted through Tess AI has a size limitation.
Training cannot exceed 80,000 words. So make sure the selected PDF is within this limit. If you have a PDF with more than 80,000 words, consider splitting it into smaller parts or selecting only the most relevant sections.
Otherwise, it’s better to use the GPTs creation mode, adding the file as RAG.
Conclusion
In short, the "Extract Text from Entire PDF" Stage is a powerful tool that lets you extract text from PDFs for several purposes, from contract queries to training models in different industries. It simplifies the process of getting data from PDF documents and makes it easier to use that data in your workflow.