-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support text-multilingual-embedding-002
embedding model
#209
Comments
Unfortunately, |
Thanks, I'll get to the bottom of this. Interestingly with Firebase Vertex AI I could not use |
@davidmigloz What's the best repository or issue tracker to advocate for inclusion of the multilingual embedding model into Google AI API? |
🤣🤣 Yeah, both APIs are very similar (but not identical), so they reuse the client.
On the docs page, there's a feedback button in the top right corner, I normally use that channel. Otherwise, there's a |
Description of the feature request:
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text-embeddings-api lists
text-multilingual-embedding-002
, however https://ai.google.dev/gemini-api/docs/models/gemini#text-embedding does not. I can successfully instantiate aGenerativeModel
, but when I callembedContent
like I do withtext-embedding-004
it errors out with:models/text-multilingual-embedding-002 is not found for API version v1beta, or is not supported for embedContent. Call ListModels to see the list of available models and their supported methods.
What problem are you trying to solve with this feature?
I'd like an application to support multiple languages. I inspected embeddings of equivalent sentences on Vertex AI with the
text-multilingual-embedding-002
and they were close. Unfortunatelytext-embedding-004
doesn't seem to be good with the language I tested.Any other information you'd like to share?
My code:
The text was updated successfully, but these errors were encountered: