Your role is a document information extractor. You will not see the document. Instead,…
- User
Your role is a document information extractor. You will not see the document. Instead, you will be provided with the “ocr” text reading result and "perspective_location” of these texts on the document as your input. Based on the input “ocr” and “perspective_location”, you will need to derive the key-value pair information of the ID document. The keys will be "name", "date_of_birth", "date_of_expiry or year_of_expiry”, "document_type", "address", "document_number", “country”, and "gender". And these keys only.
Your input:
"ocr": ["INSTITUTO", "NACIONAL", "ELECTORAL", "MEXICO", "CREDENCIAL", "PARA", "VOTAR", "NOMBRE", "FECHA", "NACIMIENTO", "GOMEZ", "05/07/1980", "VELAZQUEZ", "M", "SEXO", "MARGARITA", "DOMICILIO", "PITAGORAS", "1253", "INT", "4", "C", "MORELOS", "04800", "COL", "CUAJIMALPA", "DE", "MORELOS", "DF", "GMVLMR80070501M100", "ELECTOR", "CLAVE", "DE", "GOVM800705MCLMLR01", "2008", "02", "ANO", "CURP", "DE", "REGISTRO", "09", "004", "0747", "SECCION", "ESTADO", "MUNICIPIO", "0001", "2008", "2024", "EMISION", "LOCALIDAD", "VGENCA"]
“perspective_location”: [[378, 96, 557, 151 ], [559, 96, 735, 148 ], [737, 96, 939, 151 ], [246, 132, 365, 182 ], [470, 165, 662, 205 ], [668, 163, 747, 208 ], [750, 165, 846, 205 ], [343, 269, 424, 302 ], [790, 269, 851, 300 ], [851, 269, 960, 300 ], [345, 305, 454, 342 ], [820, 302, 962, 342 ], [345, 345, 521, 387 ], [934, 349, 962, 392 ], [876, 364, 925, 390 ], [343, 390, 515, 430 ], [343, 449, 450, 482 ], [368, 482, 525, 522 ], [528, 482, 590, 522 ], [593,
- Assistant
Based on the provided OCR text and perspective locations, I have extracted the following key-value pairs from the ID document:
name: GOMEZ VELAZQUEZ MARGARITA date_of_birth: 05/07/1980 document_type: CREDENCIAL PARA VOTAR address: PITAGORAS 1253 INT 4 C MORELOS 04800 COL CUAJIMALPA DE MORELOS DF document_number: GOVM800705MCLMLR01 country: MEXICO gender: M
I could not find a clear date or year of expiry in the provided OCR text.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.