{"_id": {"$oid": "69d4eb12b877594bc57188e4"}, "test_id": "T0196", "benchmark": "business_letters", "date": "2025-09-30", "tags": {"document-type": ["letter"], "writing": ["typed", "handwritten"], "century": [20], "language": ["de"], "layout": ["prose"], "entry-type": ["person", "location"], "task": ["information-extraction"]}, "contributors": ["eric_decker", "maximilian_hindermann", "lea_kasper", "anthea_alberto", "pema_frick", "jose_luis_losada_palenzuela", "sorin_marti", "elena_spadini"], "hidden": false, "config": {"provider": "genai", "model": "gemini-2.5-flash", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with keyword knowledge and an expert in the field of 20th century Swiss history", "prompt_file": "prompt.txt", "legacy_test": false}, "prompt": "            IDENTITY and PURPOSE:\n\n            You are presented with a series of images constituting a historical letter. Your task is to extract the\n            values of the following keys from the letter and return them in a JSON file where the values\n            corresponding to each key should be stored as a list, even if there is only a single value for a\n            key:\n\n            - letter_title: Title of the letter.\n            - sender_persons: Name(s) of the person(s) who wrote the letter.\n            - send_date: The exact or approximate date the letter was written.\n            - receiver_persons: Name(s) of the person(s) who received the letter.\n\n            Take a deep breath and think step by step about how to best accomplish this goal. Map out all the claims\n            and implications on a virtual whiteboard in your mind. Do not use OCR. Use the ISO format YYYY-MM-DD for\n            dates. If a piece of information is not included in the letter, set the value for the corresponding key\n            to \"null\". Do not return anything except the JSON file.\n\n            EXAMPLE:\n\n            {\n                \"letter_title\": [\"Petition for Environmental Protection\"],\n                \"send_date\": [\"1993-03-12\"],\n                \"sender_persons\": [\"Lisa Simpson\"],\n                \"receiver_persons\": [\"Mayor Joe Quimby\", \"Seymour Skinner\"],\n            }\n\n            OUTPUT:", "results": {"provider": "genai", "model": "gemini-2.5-flash", "duration": 6.71971869468689, "timestamp": "2025-09-30T23:16:22.749357", "parsed": {"metadata": {"send_date": ["1928-05-15"], "letter_title": null, "sender_persons": null, "receiver_persons": ["Basler Rheinschifffahrt - Aktiengesellschaft"]}}, "text": "{\"metadata\": {\"send_date\": [\"1928-05-15\"], \"letter_title\": null, \"sender_persons\": null, \"receiver_persons\": [\"Basler Rheinschifffahrt - Aktiengesellschaft\"]}}", "raw_response": {"text": "{\"metadata\": {\"send_date\": [\"1928-05-15\"], \"letter_title\": null, \"sender_persons\": null, \"receiver_persons\": [\"Basler Rheinschifffahrt - Aktiengesellschaft\"]}}", "usage_metadata": {"prompt_token_count": 573, "candidates_token_count": 53, "total_token_count": 1510}}, "usage": {"input_tokens": 573, "output_tokens": 53, "total_tokens": 1510}, "finish_reason": "stop"}, "scoring": {"f1_macro": 0.53, "f1_micro": 0.54, "cost_summary": {"total_input_tokens": 43280, "total_output_tokens": 3502, "total_tokens": 46782, "input_cost_usd": 0.012984, "output_cost_usd": 0.008755, "total_cost_usd": 0.021739, "pricing_date": "2025-09-30", "input_price_per_million": 0.3, "output_price_per_million": 2.5}}, "normalized_score": 53.0}