Skip to content
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

feat: Adding vector_search parameter to fields #4855

Merged
merged 4 commits into from
Dec 18, 2024

Conversation

franciscojavierarceo
Copy link
Member

@franciscojavierarceo franciscojavierarceo commented Dec 17, 2024

What this PR does / why we need it:

This PR adds vector_index and vector_search_metric to the Feature protobuf object (which maps to the Field class) that will be used to declare field-level index behavior for online retrieval. I.e., during ingestion we can declare which fields are indexed as vectors for approximate nearest neighbor search.

  • Update protobuf objects (and impacted protobuf objects)
  • Update class
  • Update Sphinx documentation

Which issue(s) this PR fixes:

N/A

Misc

N/A

…oing to ignore them so it is backwards compatible

Signed-off-by: Francisco Javier Arceo <[email protected]>
Signed-off-by: Francisco Javier Arceo <[email protected]>
Copy link
Contributor

@dmartinol dmartinol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all changes in the sdk/python/feast/protos/feast/core/ folder seem due to some missed compilation of protos in a previous commit, and not related to your actual change, right?
apart of that, lgtm

@franciscojavierarceo
Copy link
Member Author

Yeah it looks like it. I'll make an action to run some checks to verify it from now on.

@franciscojavierarceo
Copy link
Member Author

By the way @dmartinol can you approve?

@franciscojavierarceo franciscojavierarceo merged commit 739eaa7 into master Dec 18, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants