Skip to content

Commit 8d634be

Browse files
author
Bob Strahan
committed
update notebooks
1 parent 4649968 commit 8d634be

File tree

3 files changed

+216
-297
lines changed

3 files changed

+216
-297
lines changed

notebooks/examples/demo-lambda/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The custom prompt generator Lambda feature allows you to:
1515
## 📁 Files in This Directory
1616

1717
- **`GENAIIDP-notebook-demo-extractor.py`** - Demo Lambda function with educational business logic
18-
- **`deploy-demo-lambda.yaml`** - CloudFormation SAM template to deploy the demo function
18+
- **`template.yml`** - CloudFormation SAM template to deploy the demo function
1919
- **`README.md`** - This comprehensive documentation and guide
2020

2121
## 🏗️ Architecture
@@ -68,12 +68,6 @@ cd notebooks/examples/demo-lambda
6868
# Deploy using AWS SAM
6969
sam deploy --guided
7070

71-
# Alternative: Deploy using AWS CLI
72-
aws cloudformation create-stack \
73-
--stack-name genaiidp-custom-lambda-demo \
74-
--template-body file://deploy-demo-lambda.yaml \
75-
--capabilities CAPABILITY_IAM
76-
```
7771

7872
### Step 2: Get the Lambda ARN
7973

@@ -88,9 +82,9 @@ aws cloudformation describe-stacks \
8882

8983
### Step 3: Run the Demo Notebook
9084

85+
0. Run `notebooks/examples` steps 0, 1, 2
9186
1. Open `notebooks/examples/step3_extraction_with_custom_lambda.ipynb`
92-
2. Set the `DEMO_LAMBDA_ARN` variable in the notebook
93-
3. Run all cells to see the comparison
87+
2. Run all cells to see the comparison
9488

9589
## Demo Lambda Function Features
9690

notebooks/examples/step0_setup.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"cell_type": "code",
27-
"execution_count": null,
27+
"execution_count": 14,
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
@@ -314,7 +314,7 @@
314314
],
315315
"metadata": {
316316
"kernelspec": {
317-
"display_name": "genaiic-idp-accelerator",
317+
"display_name": "Python 3",
318318
"language": "python",
319319
"name": "python3"
320320
},
@@ -328,7 +328,7 @@
328328
"name": "python",
329329
"nbconvert_exporter": "python",
330330
"pygments_lexer": "ipython3",
331-
"version": "3.13.2"
331+
"version": "3.11.13"
332332
}
333333
},
334334
"nbformat": 4,

0 commit comments

Comments
 (0)