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

Update _parse_proto_output function to include the entity_id as part of the metadata returned #648

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

lizau
Copy link
Contributor

@lizau lizau commented Dec 17, 2024

PR Description

Allow similarity_search_by_vector() to return the entity_id as part of the metadata that is returned.

Currently similarity_search_by_vector() returns slightly different information when looking at a BQ store versus a Feature Store. When executed against a BQ store the nearest neighbor entity ID is returned, but when executed against the Feature Store no entity ID is returned. To bring both into alignment we should include the entity_id for the Online Feature Store as well.

Relevant issues

Type

🆕 New Feature
🐛 Bug Fix

Changes(optional)

Testing(optional)

Note(optional)

…of the metadata returned.

Currently similarity_search_by_vector() returns slightly different information when looking at a BQ store versus a Feature Store. When executed against a BQ store the nearest neighbor ID is returned, but when executed against the Feature Store no ID is returned. To bring both into alignment we should include the entity_id for the Online Feature Store as well.
@lkuligin lkuligin merged commit 7382d23 into langchain-ai:main Dec 22, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants