|
22 | 22 | "cell_type": "markdown", |
23 | 23 | "metadata": {}, |
24 | 24 | "source": [ |
25 | | - "## 1. Setup AWS Access" |
26 | | - ] |
27 | | - }, |
28 | | - { |
29 | | - "cell_type": "code", |
30 | | - "execution_count": null, |
31 | | - "metadata": {}, |
32 | | - "outputs": [], |
33 | | - "source": [ |
34 | | - "%reload_ext autoreload\n", |
35 | | - "%autoreload 2\n", |
36 | | - "\n", |
37 | | - "import boto3\n", |
38 | | - "import os\n", |
39 | | - "\n", |
40 | | - "os.environ['AWS_PROFILE'] = 'default' # change to desired AWS profile\n", |
41 | | - "\n", |
42 | | - "sts_client = boto3.client('sts')\n", |
43 | | - "sts_client.get_caller_identity()['Arn']" |
44 | | - ] |
45 | | - }, |
46 | | - { |
47 | | - "cell_type": "markdown", |
48 | | - "metadata": {}, |
49 | | - "source": [ |
50 | | - "## 2. Install Dependencies\n", |
| 25 | + "## 1. Install Dependencies\n", |
51 | 26 | "\n", |
52 | 27 | "The IDP common package supports granular installation through extras. You can install:\n", |
53 | 28 | "- `[core]` - Just core functionality \n", |
|
93 | 68 | "cell_type": "markdown", |
94 | 69 | "metadata": {}, |
95 | 70 | "source": [ |
96 | | - "## 3. Import Libraries and Set Up Environment" |
| 71 | + "## 2. Import Libraries and Set Up Environment" |
97 | 72 | ] |
98 | 73 | }, |
99 | 74 | { |
|
170 | 145 | "cell_type": "markdown", |
171 | 146 | "metadata": {}, |
172 | 147 | "source": [ |
173 | | - "## 4. Set Up S3 Buckets and Upload Sample File" |
| 148 | + "## 3. Set Up S3 Buckets and Upload Sample File" |
174 | 149 | ] |
175 | 150 | }, |
176 | 151 | { |
|
221 | 196 | "cell_type": "markdown", |
222 | 197 | "metadata": {}, |
223 | 198 | "source": [ |
224 | | - "## 5. Set Up Configuration" |
| 199 | + "## 4. Set Up Configuration" |
225 | 200 | ] |
226 | 201 | }, |
227 | 202 | { |
|
242 | 217 | "cell_type": "markdown", |
243 | 218 | "metadata": {}, |
244 | 219 | "source": [ |
245 | | - "## 6. Process Document with OCR" |
| 220 | + "## 5. Process Document with OCR" |
246 | 221 | ] |
247 | 222 | }, |
248 | 223 | { |
|
296 | 271 | "cell_type": "markdown", |
297 | 272 | "metadata": {}, |
298 | 273 | "source": [ |
299 | | - "## 7. Classify the Document" |
| 274 | + "## 6. Classify the Document" |
300 | 275 | ] |
301 | 276 | }, |
302 | 277 | { |
|
351 | 326 | "cell_type": "markdown", |
352 | 327 | "metadata": {}, |
353 | 328 | "source": [ |
354 | | - "## 8. Extract Information from Document Sections" |
| 329 | + "## 7. Extract Information from Document Sections" |
355 | 330 | ] |
356 | 331 | }, |
357 | 332 | { |
|
410 | 385 | "cell_type": "markdown", |
411 | 386 | "metadata": {}, |
412 | 387 | "source": [ |
413 | | - "## 9. Final Document Status Summary" |
| 388 | + "## 8. Final Document Status Summary" |
414 | 389 | ] |
415 | 390 | }, |
416 | 391 | { |
|
440 | 415 | "cell_type": "markdown", |
441 | 416 | "metadata": {}, |
442 | 417 | "source": [ |
443 | | - "## 10. Evaluate Results\n", |
| 418 | + "## 9. Evaluate Results\n", |
444 | 419 | "\n", |
445 | 420 | "In this section, we'll demonstrate how to evaluate extraction results by comparing them with expected (ground truth) values. The evaluation process involves:\n", |
446 | 421 | "\n", |
|
647 | 622 | "cell_type": "markdown", |
648 | 623 | "metadata": {}, |
649 | 624 | "source": [ |
650 | | - "# 11. Clean Up (Optional)" |
| 625 | + "# 10. Clean Up (Optional)" |
651 | 626 | ] |
652 | 627 | }, |
653 | 628 | { |
|
0 commit comments