Support output dimensionality for embedding models #8150
marcelogdeandrade
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Recent Gemini Embedding models support elastic output dimensionality as explained here.
Google's library enables a config called
output_dimensionality
which fixes the desired dimensionality of the model used. This request is basically to do the same thing onGoogleGenerativeAIEmbeddings
Motivation
It is essential to fix output dimensionality for RAG systems, and given recent elastic output dimensionality for state of the art embedding models, such as
gemini-embedding-exp-03-07
, this feature will have a big impact.Proposal (If applicable)
Add new configuration to
GoogleGenerativeAIEmbeddings
and enableoutput_dimensionality
as its config.Beta Was this translation helpful? Give feedback.
All reactions