You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build a database to perform similarity search on inorganic materials. It would be very useful it there is a filter that allows the users to filter based on the elemental composition. For example, if vector A represents a material containing ["Si", "O", "Al"], vector B represents a material containing ["Mg", "Ni", "O"]. The filter should have a contains/excludes logic.
This could also be useful for general purpose, e.g. filtering text based on topics.
Describe the proposed solution
To add contains/excludes logic to meta data filters.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered:
I might be wrong, but my understanding is that the document filter where_document only works for text. In my case, however, the vector comes from an encoder that converts a 3D structure into a 1D vector; there is no actual document to search within. Therefore, I don't think I can treat the 3D structure as "the document" in the case of a RAG task. A field in the metadata might look like this:
Describe the problem
Trying to build a database to perform similarity search on inorganic materials. It would be very useful it there is a filter that allows the users to filter based on the elemental composition. For example, if vector A represents a material containing ["Si", "O", "Al"], vector B represents a material containing ["Mg", "Ni", "O"]. The filter should have a
contains
/excludes
logic.This could also be useful for general purpose, e.g. filtering text based on topics.
Describe the proposed solution
To add
contains
/excludes
logic to meta data filters.Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: