Skip to content

Commit 7383b46

Browse files
author
Daniel Lorch
committed
chore: add comment on PIL requirement for generate_embedding
1 parent 3de37ca commit 7383b46

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
@@ -733,6 +733,7 @@ def generate_embedding(
733733
Returns:
734734
List of floats representing the embedding vector
735735
"""
736+
# requires PIL
736737
from idp_common.image import (
737738
prepare_image,
738739
prepare_bedrock_image_attachment

0 commit comments

Comments
 (0)