You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2026/02/18 16:09:14 UTC
Re: [PR] Add image embedding support to ml/rag [beam]
damccorm commented on code in PR #37628:
URL: https://github.com/apache/beam/pull/37628#discussion_r2823132464
##########
sdks/python/apache_beam/ml/rag/embeddings/huggingface.py:
##########
@@ -31,19 +37,35 @@
except ImportError:
SentenceTransformer = None
+try:
+ from PIL import Image as PILImage
Review Comment:
Should we just make pillow a standard requirement in setup.py? It is small and I think we use it all over in ML contexts
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org