Skip to content

Commit 9f069c5

Browse files
authored
Merge pull request #2 from rajavaid77/main
Update notebooks for GA changes
2 parents cb2cd21 + ed9938d commit 9f069c5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

10-Understanding-BDA/11_getting_started_with_bda.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,10 @@
278278
" 's3Uri': document_s3_uri\n",
279279
" },\n",
280280
" outputConfiguration={'s3Uri': f'{bda_s3_output_location}'},\n",
281-
"\n",
282-
" dataAutomationProfileArn = f'arn:aws:bedrock:{current_region}:{account_id}:data-automation-profile/us.data-automation-v1'\n",
281+
" dataAutomationProfileArn = f'arn:aws:bedrock:{current_region}:{account_id}:data-automation-profile/us.data-automation-v1',\n",
282+
" dataAutomationConfiguration = {\n",
283+
" 'dataAutomationProjectArn': f'arn:aws:bedrock:{current_region}:aws:data-automation-project/public-default',\n",
284+
" }\n",
283285
")\n",
284286
"JSON(response)"
285287
]

10-Understanding-BDA/12_standard_output_extended.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,25 +330,25 @@
330330
" \"extraction\": {\n",
331331
" \"category\": {\n",
332332
" \"state\": \"ENABLED\",\n",
333-
" \"types\": [\"CONTENT_MODERATION\",\"TEXT_DETECTION\",\"TRANSCRIPT\"]\n",
333+
" \"types\": [\"CONTENT_MODERATION\",\"TEXT_DETECTION\", \"TRANSCRIPT\"]\n",
334334
" },\n",
335335
" \"boundingBox\": {\"state\": \"ENABLED\"}\n",
336336
" },\n",
337337
" \"generativeField\": {\n",
338338
" \"state\": \"ENABLED\",\n",
339-
" \"types\": [\"VIDEO_SUMMARY\", \"SCENE_SUMMARY\",\"IAB\"]\n",
339+
" \"types\": [\"VIDEO_SUMMARY\", \"CHAPTER_SUMMARY\",\"IAB\"]\n",
340340
" }\n",
341341
" },\n",
342342
" \"audio\": {\n",
343343
" \"extraction\": {\n",
344344
" \"category\": {\n",
345345
" \"state\": \"ENABLED\",\n",
346-
" \"types\": ['AUDIO_CONTENT_MODERATION','CHAPTER_CONTENT_MODERATION','TRANSCRIPT']\n",
346+
" \"types\": ['AUDIO_CONTENT_MODERATION', 'TOPIC_CONTENT_MODERATION', 'TRANSCRIPT']\n",
347347
" }\n",
348348
" },\n",
349349
" \"generativeField\": {\n",
350350
" \"state\": \"ENABLED\",\n",
351-
" \"types\": ['AUDIO_SUMMARY','CHAPTER_SUMMARY','IAB']\n",
351+
" \"types\": ['AUDIO_SUMMARY', 'TOPIC_SUMMARY', 'IAB']\n",
352352
" }\n",
353353
" }\n",
354354
"}\n",

0 commit comments

Comments
 (0)