Patch Changes
-
ef46867: feat(google-vertex): support multimodal embedding content
Embedding models that use the
:embedContentendpoint, such asgemini-embedding-2, now accept a per-valuecontentprovider 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'susageMetadata, including the per-modalitypromptTokensDetails, is returned as provider metadata. Models on the:predictendpoint ignorecontentand return anunsupportedwarning.