Skip to content

Commit 0c487bb

Browse files
add sample highlight
1 parent c875091 commit 0c487bb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

notebooks/field_extraction_pro_mode.ipynb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,30 @@
351351
"display(FileLink(output_path))\n"
352352
]
353353
},
354+
{
355+
"cell_type": "markdown",
356+
"metadata": {},
357+
"source": [
358+
"> Let's take a deeper look at `LineItemCorroboration` field in the result"
359+
]
360+
},
361+
{
362+
"cell_type": "code",
363+
"execution_count": null,
364+
"metadata": {},
365+
"outputs": [],
366+
"source": [
367+
"fields = result_json[\"result\"][\"contents\"][0][\"fields\"][\"LineItemCorroboration\"]\n",
368+
"print(json.dumps(fields, indent=2))"
369+
]
370+
},
371+
{
372+
"cell_type": "markdown",
373+
"metadata": {},
374+
"source": [
375+
"> 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 not confirmed, while damage repairs that are supported by the supplied documents in the claim and are permitted by the policy are confirmed."
376+
]
377+
},
354378
{
355379
"cell_type": "code",
356380
"execution_count": null,

0 commit comments

Comments
 (0)