github vercel/ai @ai-sdk/google-vertex@5.0.152

latest releases: @ai-sdk/vue@3.0.342, @ai-sdk/svelte@4.0.342, @ai-sdk/rsc@2.0.342...
one hour ago

Patch Changes

  • ef46867: feat(google-vertex): support multimodal embedding content

    Embedding models that use the :embedContent endpoint, such as gemini-embedding-2, now accept a per-value content provider option with image, video, PDF and audio parts, merged with the text value like the Google provider. Previously only the text value was sent. The response's usageMetadata, including the per-modality promptTokensDetails, is returned as provider metadata. Models on the :predict endpoint ignore content and return an unsupported warning.

Don't miss a new ai release

NewReleases is sending notifications on new releases.