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
Is your feature request related to a problem? Please describe.
Currently we define vector search using existing FeatureViews and the Field(name="Embeddings", dtype=Array(Float32)), syntax defined in the FeatureView schema.
This is inefficient and requires the client to make two calls if the client wants both features and the most similar documents.
Describe the solution you'd like
We should specify the vector retrieval requirement declaratively in the FeatureView and use that to orchestrate the retrieval. This would enable us to move the existing retrieve_online_documents into get_online_features and do document search and feature retrieval.
Describe alternatives you've considered
Keeping things the same is a suboptimal option.
Instead of using some Boolean or equivalent, we could declare an explicit DocumentFeatureView class or something equivalent but we should move away from creating more feature views as that is a primitive that we want to centralize on (discussed further in #4584).
Is your feature request related to a problem? Please describe.
Currently we define vector search using existing FeatureViews and the
Field(name="Embeddings", dtype=Array(Float32)),
syntax defined in theFeatureView
schema.Then at online retrieval we make the client use:
This is inefficient and requires the client to make two calls if the client wants both features and the most similar documents.
Describe the solution you'd like
We should specify the vector retrieval requirement declaratively in the FeatureView and use that to orchestrate the retrieval. This would enable us to move the existing
retrieve_online_documents
intoget_online_features
and do document search and feature retrieval.Describe alternatives you've considered
Keeping things the same is a suboptimal option.
Instead of using some Boolean or equivalent, we could declare an explicit DocumentFeatureView class or something equivalent but we should move away from creating more feature views as that is a primitive that we want to centralize on (discussed further in #4584).
Additional context
@HaoXuAI @tokoko
The text was updated successfully, but these errors were encountered: