Skip to content

Commit 7fbe712

Browse files
author
Daniel Lorch
committed
chore: add comment on PIL requirement for generate_embedding
1 parent b429769 commit 7fbe712

File tree

1 file changed

+1
-0
lines changed
  • lib/idp_common_pkg/idp_common/bedrock

1 file changed

+1
-0
lines changed

lib/idp_common_pkg/idp_common/bedrock/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ def generate_embedding(
720720
Returns:
721721
List of floats representing the embedding vector
722722
"""
723+
# requires PIL
723724
from idp_common.image import (
724725
prepare_image,
725726
prepare_bedrock_image_attachment

0 commit comments

Comments
 (0)