diff --git a/examples/demo_insurance.ipynb b/examples/demo_insurance.ipynb index 0a14ea6..4ed9dc5 100644 --- a/examples/demo_insurance.ipynb +++ b/examples/demo_insurance.ipynb @@ -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." ] }, { @@ -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." ] }, { @@ -73,7 +73,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Initializing llama index and LlamaParse" + "## Initializing LlamaIndex and LlamaParse" ] }, { @@ -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" ] }, { @@ -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." ] }, { @@ -234,7 +234,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Querying the model for cover" + "### Querying the model for coverage" ] }, { @@ -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." ] }, { @@ -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." ] }, { @@ -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" ] }, {