PDF to text chunks for RAG and LLMs
Splits PDFs into overlapping text chunks that are ready for embeddings, vector databases and LLM prompts. Each chunk keeps its page numbers, and tables are kept as Markdown tables. Text PDFs are read directly from the text layer, scanned pages go through OCR. The example is a public US government form.
Input
Output fields
Sign up on Apify or log in
The PDF to Text & Markdown with OCR for Scans (19 Languages) Actor is ready to run with the inputs already set for "PDF to text chunks for RAG and LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "PDF to text chunks for RAG and LLMs" task
The PDF to Text & Markdown with OCR for Scans (19 Languages) Actor will start running based on the input automatically. You can also change all the input fields, like PDF files, split into chunks for rag, and more, to match your specific use case.
Receive the "PDF to text chunks for RAG and LLMs" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file, status, pages, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "PDF to text chunks for RAG and LLMs" task via API.
