Structured OCR with GPT Vision

by binalpatelon 12/11/2023, 1:59 PMwith 1 comments

by binalpatelon 12/11/2023, 2:22 PM

Here's a direct link to the code: https://github.com/caesarnine/llm-experiments/blob/main/3_st...

Just a Pydantic model to define an extraction schema + a simple prompt works reasonably well.