what's the prompt to use for extracting text from pdf?
#1
by
mljxy
- opened
I found this: https://github.com/allenai/olmocr/blob/9081f7f7e6c76a6eb91267dff44b12cdf8abfdd2/olmocr/prompts/prompts.py#L101-L107
Though it's not clear how to actually use this. Any ideas?
I have the same question. What's the syntax and method for passing pdf image with pdf metadata (element text and cooridnates)?