36 lines
2.5 KiB
Plaintext
36 lines
2.5 KiB
Plaintext
Smith is a professional to process financial report.
|
|
He want to extract table(s) from PDF, output as markdown format.
|
|
He decides to aks ChatGPT4o to help him for this.
|
|
Smith's prompt is as below:
|
|
--------------------------------------Smith's prompts start--------------------------------------
|
|
Instructions:
|
|
Please read the image carefully.
|
|
Answer below questions:
|
|
1. Please find the table or tables in the image.
|
|
2. Output the table contents as markdown format, it's like:
|
|
|name|age|hobby|
|
|
|Annie|18|music|
|
|
The contents should be exactly precise as the image contents.
|
|
3. Please output the results as JSON format, the result member is with legal markdown table format, the example is:
|
|
{
|
|
"tables": ["
|
|
|name|age|hobby|
|
|
|Annie|18|music|
|
|
"]
|
|
}
|
|
4. Only output JSON with tables
|
|
|
|
Here is the answer from ChatGPT4o:
|
|
--------------------------------------ChatGPT4o start--------------------------------------
|
|
|Share Class|TER for the year (Note 6)|\n|---|---|\n|AI - Shares| |\n|BF - Shares| |\n|BI - Shares| |\n|BP - Shares| |\n|E - Shares|0.30%|\n|HAF - SEK Shares|0.84%|\n|HAI - SEK Shares|1.59%|\n|HB - EUR Shares| |\n|HB - SEK Shares| |\n|HBC - EUR Shares|0.65%|\n|HBF - EUR Shares| |\n|HBF - NOK Shares| |\n|HBF - SEK Shares| |\n|HBI - DKK Shares| |\n|HBI - EUR Shares| |\n|HBI - NOK Shares| |\n|HBI - SEK Shares| |\n|HY - DKK Shares| |\n|HY - EUR Shares| |\n|HY - SEK Shares| |\n|LE - Shares| |\n|LP - Shares| |\n|X - Shares| |\n|Y - Shares|0.09%|
|
|
--------------------------------------ChatGPT4o end--------------------------------------
|
|
|
|
But it's incorrect, the correct answer is as below:
|
|
--------------------------------------correct answer start--------------------------------------
|
|
|Share Class|TER for the year (Note 6)|\n|---|---|\n|AI - Shares| |\n|BF - Shares| |\n|BI - Shares|0.30%|\n|BP - Shares|0.84%|\n|E - Shares|1.59%|\n|HAF - SEK Shares| |\n|HAI - SEK Shares| |\n|HB - EUR Shares| |\n|HB - SEK Shares| |\n|HBC - EUR Shares|0.65%|\n|HBF - EUR Shares| |\n|HBF - NOK Shares| |\n|HBF - SEK Shares| |\n|HBI - DKK Shares| |\n|HBI - EUR Shares| |\n|HBI - NOK Shares| |\n|HBI - SEK Shares| |\n|HY - DKK Shares| |\n|HY - EUR Shares| |\n|HY - SEK Shares| |\n|LE - Shares| |\n|LP - Shares| |\n|X - Shares| |\n|Y - Shares|0.09%|
|
|
--------------------------------------correct answer end--------------------------------------
|
|
|
|
Please analyze the image, incorrect answer, correct answer, help Mr. Smith to optimize the instructions and output as JSON format: {"Instructions": "optimized instructions"}
|
|
|
|
Answer:
|