-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Adopt Embedding abstraction from M.E.AI #10126
Comments
Some thoughts/questions:
|
Just to clarify,
Yeah, my expectation is we'd have another
We don't currently have any use of it, but we added it because we have such a dictionary on many of the other types in the M.E.AI object model in order to facilitate implementations passing along whatever arbitrary additional information they have that might be associated with the embedding. We could remove it for now if it's problematic.
Not to my knowledge. |
No, definitely not. If we gave it that meaning, it would cease to be a loosely-typed bag of provider-specific stuff, and would become a first class API (which would awkwardly overlap with the "bag of provider-specific stuff" use case). |
Right. Yeah, at the very least we'll need to disambiguate this a little bit naming-wise - I can absolutely see users getting confused and thinking this is metadata to go into the vector DB, as opposed to arbitrary stuff produced by the embedding generator (which is what it is, right?). Do we have specific scenarios on how this bag will get used? Since I'm not sure the vector database actually cares about anything inside Embedding other than the ROM (I think), maybe having it accept an Embedding is more trouble than it's worth... I do love it for the strong typing/overload disambiguation, and for simplifying usage when an Embedding is generated via IEmbeddingGenerator; but still... |
No description provided.
The text was updated successfully, but these errors were encountered: