Real ChatGPT answer · index seedSu6UXYjvLxkcompleteB2B software · AI and automation toolshowto

We need to parse messy unstructured PDF invoices into structured JSON schemas using an LLM, what is the best architecture for this?

ChatGPTgpt-63 queries11/1/2026
Download run

Fan-out diagram

The searches the AI actually ran for this prompt.

SEED QUERY
We need to parse messy unstructured PDF invoices into structured JSON schemas using an LLM, what is the best architecture for this?
3 real searches · 1 real-search pass
OpenAI API structured outputs JSON schema official documentation PDF vision input 2026Google ↗
OBSERVEDOther / navigational
AWS Textract AnalyzeExpense invoices receipts documentation tables key value pairsGoogle ↗
OBSERVEDConsequence
Azure AI Document Intelligence invoice model documentation confidence fields tablesGoogle ↗
OBSERVEDOther / navigational

Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.

Query classes

Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.

ChatGPT real searches (3)
Short factOther / navigational67%ComparisonConsequence33%ReasonDefinitionInstructionYes / no

Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.

Searches and sources

ChatGPT3 real searches · gpt-6
OpenAI API structured outputs JSON schema official documentation PDF vision input 2026 Google ↗
AWS Textract AnalyzeExpense invoices receipts documentation tables key value pairs Google ↗
Azure AI Document Intelligence invoice model documentation confidence fields tables Google ↗

Queries

3 queries · click a column to sort
Query / typeSearchIntentQuery classRouting formatClusterFreq ↓Weight
OpenAI API structured outputs JSON schema official documentation PDF vision input 2026
OBSERVED
Google ↗
AI Mode ↗
—Other / navigational——1x
of 1
AWS Textract AnalyzeExpense invoices receipts documentation tables key value pairs
OBSERVED
Google ↗
AI Mode ↗
—Consequence——1x
of 1
Azure AI Document Intelligence invoice model documentation confidence fields tables
OBSERVED
Google ↗
AI Mode ↗
—Other / navigational——1x
of 1