Skip to content

Commit

Permalink
fix: textembedding gecko 003 change from latest (#1572)
Browse files Browse the repository at this point in the history
# Description

As described in the issue #1571 the gecko version can't load if it's specified as the latest, it's also
not recommended by the documentation, I've changed it to the version
003.

Fixes #1571 🦕
  • Loading branch information
bgdnvk authored Dec 26, 2024
1 parent ee4ba39 commit b5f6f35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from vertexai.vision_models import Image as vision_model_Image
from vertexai.vision_models import MultiModalEmbeddingModel

text_embedding_model = TextEmbeddingModel.from_pretrained("textembedding-gecko@latest")
text_embedding_model = TextEmbeddingModel.from_pretrained("textembedding-gecko@003")
multimodal_embedding_model = MultiModalEmbeddingModel.from_pretrained(
"multimodalembedding@001"
)
Expand Down

0 comments on commit b5f6f35

Please sign in to comment.