jrmccluskey commented on code in PR #35677:
URL: https://github.com/apache/beam/pull/35677#discussion_r2277033311


##########
sdks/python/apache_beam/ml/transforms/embeddings/vertex_ai_test.py:
##########
@@ -286,5 +290,97 @@ def test_improper_dimension(self):
           dimension=127)
 
 
+image_feature_column: str = "img_feature"
+text_feature_column: str = "txt_feature"
+video_feature_column: str = "vid_feature"
+
+
+@unittest.skipIf(
+    VertexAIMultiModalEmbeddings is None,
+    'Vertex AI Python SDK is not installed.')
+class VertexAIMultiModalEmbeddingsTest(unittest.TestCase):
+  def setUp(self) -> None:
+    self.artifact_location = tempfile.mkdtemp(
+        prefix='_vertex_ai_multi_modal_test')
+    self.gcs_artifact_location = os.path.join(
+        'gs://temp-storage-for-perf-tests/vertex_ai_multi_modal',
+        uuid.uuid4().hex)
+    self.model_name = "multimodalembedding"
+    self.image_path = 
"gs://apache-beam-ml/testing/inputs/vertex_images/sunflowers/1008566138_6927679c8a.jpg"
  # pylint: disable=line-too-long
+    self.video_path = 
"gs://cloud-samples-data/vertex-ai-vision/highway_vehicles.mp4"  # pylint: 
disable=line-too-long

Review Comment:
   Can move this to the apache-beam-ml bucket for stability



-- 
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-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to