Skip to content

Commit e99f366

Browse files
Ark-kuncopybara-github
authored andcommitted
feat: LVM - Released MultiModalEmbeddingModel to GA
PiperOrigin-RevId: 557054564
1 parent fd5cb02 commit e99f366

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tests/system/aiplatform/test_vision_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_image_q_and_a_model_ask_question(self):
7272
def test_multi_modal_embedding_model(self):
7373
aiplatform.init(project=e2e_base._PROJECT, location=e2e_base._LOCATION)
7474

75-
model = vision_models.MultiModalEmbeddingModel.from_pretrained(
75+
model = ga_vision_models.MultiModalEmbeddingModel.from_pretrained(
7676
"multimodalembedding@001"
7777
)
7878
image = _create_blank_image()

tests/unit/aiplatform/test_vision_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_image_embedding_model_with_only_text(self):
280280
_IMAGE_EMBEDDING_PUBLISHER_MODEL_DICT
281281
),
282282
):
283-
model = vision_models.MultiModalEmbeddingModel.from_pretrained(
283+
model = ga_vision_models.MultiModalEmbeddingModel.from_pretrained(
284284
"multimodalembedding@001"
285285
)
286286

vertexai/vision_models/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@
1818
Image,
1919
ImageCaptioningModel,
2020
ImageQnAModel,
21+
MultiModalEmbeddingModel,
22+
MultiModalEmbeddingResponse,
2123
)
2224

2325
__all__ = [
2426
"Image",
2527
"ImageCaptioningModel",
2628
"ImageQnAModel",
29+
"MultiModalEmbeddingModel",
30+
"MultiModalEmbeddingResponse",
2731
]

0 commit comments

Comments
 (0)