Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nit: fix grammar in insurance cookbook #89

Merged
merged 1 commit into from Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions examples/demo_insurance.ipynb
Expand Up @@ -4,9 +4,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# LlamaParse - Fast checking insurance contract for coverage\n",
"# LlamaParse - Fast checking Insurance Contract for Coverage\n",
"\n",
"In this note book we will look at how llama parse can be used to extract structured coverage information from insurance policy."
"In this notebook we will look at how LlamaParse can be used to extract structured coverage information from an insurance policy."
]
},
{
Expand Down Expand Up @@ -39,7 +39,7 @@
"source": [
"## Download an insurance policy fron IRDAI\n",
"\n",
"IRDAI maintain a great ressource: https://policyholder.gov.in/web/guest/non-life-insurance-products where all insurance policy wording available in India are provided for the public! Let's downlaod a complex policy, a health insurance."
"The Insurance Regulatory and Development Authority of India (IRDAI) maintains a great resource: https://policyholder.gov.in/web/guest/non-life-insurance-products where all insurance policies available in India are publicly available for download! Let's download a complex health insurance policy as an example."
]
},
{
Expand Down Expand Up @@ -73,7 +73,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Initializing llama index and LlamaParse"
"## Initializing LlamaIndex and LlamaParse"
]
},
{
Expand Down Expand Up @@ -114,7 +114,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Vanilla approach - just parsing the policy with Llama Parse into markdown"
"## Vanilla Approach - Parse the Policy with LlamaParse into Markdown"
]
},
{
Expand Down Expand Up @@ -170,8 +170,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Markdown Node element parser\n",
"Our markdown node element parser work well for markdown output of LlamaParse"
"### Markdown Element Node Parser\n",
"Our markdown element node parser works well for parsing the markdown output of LlamaParse into a set of table and text nodes."
]
},
{
Expand Down Expand Up @@ -234,7 +234,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Querying the model for cover"
"### Querying the model for coverage"
]
},
{
Expand Down Expand Up @@ -262,7 +262,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"As the information is split accross the document we have issue retrieving it, now let's try some parsing instruction to improve our result."
"The information is split across the document which leads to retrieval issues. Let's try some parsing instructions to improve our result."
]
},
{
Expand Down Expand Up @@ -446,9 +446,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## With and without instruction difference\n",
"## Comparing Instruction-Augmented Parsing vs. Vanilla Parsing\n",
"\n",
"On the document parsed with instruction to add context on coverage, we are able to answer correclty a wide range of query that are not possible on the document parsed using the vanilla method."
"When we parse the document with natural language instructions to add context on insurance coverage, we are able to correctly answer a wide range of queries in our RAG pipeline. In contrast, a RAG pipeline built with the vanilla method is not able to answer these queries."
]
},
{
Expand Down Expand Up @@ -483,7 +483,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Looking at the policy it say in list I expenses not coverd: Baby food"
"Looking at the policy it says in list I that one expense not covered is Baby food"
]
},
{
Expand Down