I have invoice pdfs files in the same layout (structure ). Businesse name, date and invoice number and then a table containing 4 columns. I want to extract this informations using 4o-mini.
However, In some cases the model doesnt output correct data from table rows (sometimes extracts wrong values when they are not present at all). Is there a way to prompt it to make it better. Can I chain prompts? Like ask it to extract data and then again ask it to recheck the values?
Or is there a better way to do it?