Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix vertex ai multimodal embedding translation #9471

Merged
merged 10 commits into from
Mar 25, 2025

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented Mar 22, 2025

  • remove data:image/jpeg;base64, prefix from base64 image input

vertex_ai's multimodal embeddings endpoint expects a raw base64 string without data:image/jpeg;base64, prefix.

  • Add Vertex Multimodal Embedding Test

  • fix(test_vertex.py): add e2e tests on multimodal embeddings

  • test: unit testing

  • test: remove sklearn dep

  • test: update test with fixed route

  • test: fix test


Co-authored-by: Jonarod [email protected]
Co-authored-by: Emerson Gomes [email protected]

Jonarod and others added 5 commits February 18, 2025 14:52
vertex_ai's multimodal embeddings endpoint expects a raw base64 string without `data:image/jpeg;base64,` prefix.
remove data:image/jpeg;base64, prefix from base64 image input
Strip `data:image/jpeg;base64,` from the base64 image for Vertex AI multimodal embeddings
Add Vertex Multimodal Embedding Test
Copy link

vercel bot commented Mar 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2025 4:33am

@krrishdholakia krrishdholakia merged commit 9288356 into main Mar 25, 2025
36 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants