How consistent and reliable is the extracted structure?
Did they add any kind of concept "for whatever token you generate/think it is next, "unit test it" / make sure it passes some sort of rules?"
How consistent and reliable is the extracted structure?
Did they add any kind of concept "for whatever token you generate/think it is next, "unit test it" / make sure it passes some sort of rules?"
Same story as basically everything relating to LLMs to be honest.
https://github.com/ggerganov/llama.cpp/blob/master/grammars/...
But it is the solution to needing to run the model again and checking the format of the output to ensure that it conforms to you expectations.
I've found success generally better with Textract and then passing the OCR'ed text to OpenAI and using Pydantic to get it structured.
I'm not 100% sure it's related but if you ask it to draw bounding boxes around things it's always off by quite a bit.
That's the $100B question.