Skip to content

Commit 030d397

Browse files
add field
1 parent 16fda45 commit 030d397

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

analyzer_templates/insurance_claims_review_pro_mode.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
"description": "VIN of the damaged vehicle. Leave empty if not found.",
2727
"type": "string"
2828
},
29+
"ReportingOfficer": {
30+
"description": "Name of the reporting officer for the incident.",
31+
"type": "string"
32+
},
2933
"LineItemCorroboration": {
3034
"type": "array",
3135
"description": "Validation of all of the line items on the claim, including parts, services, labors, materials, shipping and other costs and fees. When in doubt about adherence to the policy, mark as suspicious.",

notebooks/field_extraction_pro_mode.ipynb

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,38 @@
421421
"display(FileLink(output_path))"
422422
]
423423
},
424+
{
425+
"cell_type": "markdown",
426+
"metadata": {},
427+
"source": [
428+
"### Let's take a look at the analyze result"
429+
]
430+
},
431+
{
432+
"cell_type": "code",
433+
"execution_count": null,
434+
"metadata": {},
435+
"outputs": [],
436+
"source": [
437+
"result_json[\"result\"][\"contents\"][0][\"fields\"]"
438+
]
439+
},
424440
{
425441
"cell_type": "markdown",
426442
"metadata": {},
427443
"source": [
428444
"### Let's take a deeper look at `LineItemCorroboration` field in the result"
429445
]
430446
},
447+
{
448+
"cell_type": "markdown",
449+
"metadata": {},
450+
"source": [
451+
"> We can see that the field `ReportingOfficer` is only available in the car accident report, while fields like `VIN` come solely from the repair estimate document. This shows that information is extracted from both documents to generate a single result. It also illustrates the N:1 relationship between the inputs and the analysis result. \n",
452+
"\n",
453+
"> Multiple input documents are combined to produce one unified output. There is always one analysis result, and this is not a batch model where N input documents would yield N outputs."
454+
]
455+
},
431456
{
432457
"cell_type": "code",
433458
"execution_count": null,
@@ -442,7 +467,7 @@
442467
"cell_type": "markdown",
443468
"metadata": {},
444469
"source": [
445-
"> In the LineItemCorroboration field, we see that each line item is extracted with its corresponding information, claim status, and evidence. Items that are not covered by the policy, such as the Starbucks drink and hotel stay, are marked as suspicious, while damage repairs that are supported by the supplied documents in the claim and are permitted by the policy are confirmed."
470+
"> In the `LineItemCorroboration` field, we see that each line item, generated from *repair estimate document*, is extracted with its corresponding information, claim status, and evidence. Items that are not covered by the policy, such as the Starbucks drink and hotel stay, are marked as suspicious, while damage repairs that are supported by the supplied documents in the claim and are permitted by the policy are confirmed."
446471
]
447472
},
448473
{

0 commit comments

Comments
 (0)