We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545907e commit 989a677Copy full SHA for 989a677
lib/idp_common_pkg/idp_common/extraction/service.py
@@ -434,13 +434,17 @@ def _build_few_shot_examples_content(
434
dynamic_few_shot_lambda_arn, payload
435
)
436
437
- logger.info(f"Retrieved {len(examples)} examples from few-shot Lambda invocation")
+ logger.info(
438
+ f"Retrieved {len(examples)} examples from few-shot Lambda invocation"
439
+ )
440
441
# flatten examples content
442
for example in examples:
443
content.append({"text": example.get("attributes_prompt")})
444
for image_content in example.get("image_content", []):
- content.append(image.prepare_bedrock_image_attachment(image_content))
445
+ content.append(
446
+ image.prepare_bedrock_image_attachment(image_content)
447
448
449
logger.info(content)
450
0 commit comments