Skip to content

Commit

Permalink
feat: LVM - Released MultiModalEmbeddingModel to GA
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 557054564
  • Loading branch information
Ark-kun authored and Copybara-Service committed Aug 15, 2023
1 parent fd5cb02 commit e99f366
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/system/aiplatform/test_vision_models.py
Expand Up @@ -72,7 +72,7 @@ def test_image_q_and_a_model_ask_question(self):
def test_multi_modal_embedding_model(self):
aiplatform.init(project=e2e_base._PROJECT, location=e2e_base._LOCATION)

model = vision_models.MultiModalEmbeddingModel.from_pretrained(
model = ga_vision_models.MultiModalEmbeddingModel.from_pretrained(
"multimodalembedding@001"
)
image = _create_blank_image()
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/aiplatform/test_vision_models.py
Expand Up @@ -280,7 +280,7 @@ def test_image_embedding_model_with_only_text(self):
_IMAGE_EMBEDDING_PUBLISHER_MODEL_DICT
),
):
model = vision_models.MultiModalEmbeddingModel.from_pretrained(
model = ga_vision_models.MultiModalEmbeddingModel.from_pretrained(
"multimodalembedding@001"
)

Expand Down
4 changes: 4 additions & 0 deletions vertexai/vision_models/__init__.py
Expand Up @@ -18,10 +18,14 @@
Image,
ImageCaptioningModel,
ImageQnAModel,
MultiModalEmbeddingModel,
MultiModalEmbeddingResponse,
)

__all__ = [
"Image",
"ImageCaptioningModel",
"ImageQnAModel",
"MultiModalEmbeddingModel",
"MultiModalEmbeddingResponse",
]

0 comments on commit e99f366

Please sign in to comment.