Skip to content

Commit 989a677

Browse files
author
Daniel Lorch
committed
chore: ruff format
1 parent 545907e commit 989a677

File tree

1 file changed

+6
-2
lines changed
  • lib/idp_common_pkg/idp_common/extraction

1 file changed

+6
-2
lines changed

lib/idp_common_pkg/idp_common/extraction/service.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,17 @@ def _build_few_shot_examples_content(
434434
dynamic_few_shot_lambda_arn, payload
435435
)
436436

437-
logger.info(f"Retrieved {len(examples)} examples from few-shot Lambda invocation")
437+
logger.info(
438+
f"Retrieved {len(examples)} examples from few-shot Lambda invocation"
439+
)
438440

439441
# flatten examples content
440442
for example in examples:
441443
content.append({"text": example.get("attributes_prompt")})
442444
for image_content in example.get("image_content", []):
443-
content.append(image.prepare_bedrock_image_attachment(image_content))
445+
content.append(
446+
image.prepare_bedrock_image_attachment(image_content)
447+
)
444448

445449
logger.info(content)
446450

0 commit comments

Comments
 (0)