Skip to content

Commit 063c671

Browse files
author
Daniel Lorch
committed
Revert "chore: setup and check AWS access via profile"
This reverts commit 1256231.
1 parent fc1d739 commit 063c671

File tree

1 file changed

+10
-35
lines changed

1 file changed

+10
-35
lines changed

notebooks/misc/e2e-example-with-multimodal-page-classification-few-shot-prompting.ipynb

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,7 @@
2222
"cell_type": "markdown",
2323
"metadata": {},
2424
"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",
5126
"\n",
5227
"The IDP common package supports granular installation through extras. You can install:\n",
5328
"- `[core]` - Just core functionality \n",
@@ -93,7 +68,7 @@
9368
"cell_type": "markdown",
9469
"metadata": {},
9570
"source": [
96-
"## 3. Import Libraries and Set Up Environment"
71+
"## 2. Import Libraries and Set Up Environment"
9772
]
9873
},
9974
{
@@ -170,7 +145,7 @@
170145
"cell_type": "markdown",
171146
"metadata": {},
172147
"source": [
173-
"## 4. Set Up S3 Buckets and Upload Sample File"
148+
"## 3. Set Up S3 Buckets and Upload Sample File"
174149
]
175150
},
176151
{
@@ -221,7 +196,7 @@
221196
"cell_type": "markdown",
222197
"metadata": {},
223198
"source": [
224-
"## 5. Set Up Configuration"
199+
"## 4. Set Up Configuration"
225200
]
226201
},
227202
{
@@ -242,7 +217,7 @@
242217
"cell_type": "markdown",
243218
"metadata": {},
244219
"source": [
245-
"## 6. Process Document with OCR"
220+
"## 5. Process Document with OCR"
246221
]
247222
},
248223
{
@@ -296,7 +271,7 @@
296271
"cell_type": "markdown",
297272
"metadata": {},
298273
"source": [
299-
"## 7. Classify the Document"
274+
"## 6. Classify the Document"
300275
]
301276
},
302277
{
@@ -351,7 +326,7 @@
351326
"cell_type": "markdown",
352327
"metadata": {},
353328
"source": [
354-
"## 8. Extract Information from Document Sections"
329+
"## 7. Extract Information from Document Sections"
355330
]
356331
},
357332
{
@@ -410,7 +385,7 @@
410385
"cell_type": "markdown",
411386
"metadata": {},
412387
"source": [
413-
"## 9. Final Document Status Summary"
388+
"## 8. Final Document Status Summary"
414389
]
415390
},
416391
{
@@ -440,7 +415,7 @@
440415
"cell_type": "markdown",
441416
"metadata": {},
442417
"source": [
443-
"## 10. Evaluate Results\n",
418+
"## 9. Evaluate Results\n",
444419
"\n",
445420
"In this section, we'll demonstrate how to evaluate extraction results by comparing them with expected (ground truth) values. The evaluation process involves:\n",
446421
"\n",
@@ -647,7 +622,7 @@
647622
"cell_type": "markdown",
648623
"metadata": {},
649624
"source": [
650-
"# 11. Clean Up (Optional)"
625+
"# 10. Clean Up (Optional)"
651626
]
652627
},
653628
{

0 commit comments

Comments
 (0)