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

Add support for Self Query Retriever #74

Open
aperepel opened this issue Jun 16, 2024 · 0 comments
Open

Add support for Self Query Retriever #74

aperepel opened this issue Jun 16, 2024 · 0 comments
Assignees
Labels
api: spanner Issues related to the googleapis/langchain-google-spanner-python API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@aperepel
Copy link
Contributor

Self Query is one of the most important use cases for production vector store retrieval, adding ability to filter on metadata (columns) and leverage predicate pushdown. At the moment cloud spanner doesn't support it and trying something like
https://python.langchain.com/v0.1/docs/modules/data_connection/retrievers/self_query/

yields a 'not supported' error. From my cursory look, however, it seems to be a relative easy lift, granted how PGVector and other similar RDBMS-like databases already do it in langchain.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/langchain-google-spanner-python API. label Jun 16, 2024
@averikitsch averikitsch added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/langchain-google-spanner-python API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants