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

community: Fix pgvector deprecated filter clause usage with OR and AND conditions #20446

Conversation

MartinGotelli
Copy link
Contributor

Description: Support filter by OR and AND for deprecated PGVector version
Issue: #20445
Dependencies: N/A
Twitter handle: @martinferenaz

Copy link

vercel bot commented Apr 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Apr 14, 2024 10:35pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. 🔌: postgres Related to postgres integrations 🤖:improvement Medium size change to existing code to handle new use-cases labels Apr 14, 2024
@MartinGotelli MartinGotelli changed the title Pgvector deprecated or and conditions community: Fix pgvector deprecated filter clause usage with OR and AND conditions Apr 14, 2024
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Apr 16, 2024
@eyurtsev
Copy link
Collaborator

Thanks! Going to merge the fix, though I recommend to folks to move to langchain_postgres which has a more efficient implementation (that has other issues resolved with it as well)

@eyurtsev eyurtsev enabled auto-merge (squash) April 16, 2024 14:05
@eyurtsev eyurtsev merged commit b48add4 into langchain-ai:master Apr 16, 2024
60 checks passed
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
… and AND conditions (#20446)

**Description**: Support filter by OR and AND for deprecated PGVector
version
**Issue**: #20445 
**Dependencies**: N/A
**Twitter** handle: @martinferenaz
@MartinGotelli MartinGotelli deleted the pgvector_deprecated_or_and_conditions branch May 5, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. 🔌: postgres Related to postgres integrations size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants