PDF Data Extraction
This example shows how to generate a tool, through conversation, that extracts target data from a text-based PDF.
Prompt
txt
Help me generate a PDF data extraction tool. The input is a PDF file path, and the results are appended to a CSV file. The PDF text content looks roughly like this:
-------------
Some Company Ltd.
Applicant: Zhang San, phone: 13800000000, email: zhangsan@example.com, address: Haidian District, Beijing. Signed a contract with Some Company Ltd. in a certain year and month; the contract number is 2023001. Agreed that ****
--------------
Extract the following fields: company name, applicant, phone, email, address, contract number, contract content.