[PR #62] [MERGED] Add support for the Negation('$not') operator #145

Closed
opened 2026-02-16 05:16:45 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/62
Author: @Raj725
Created: 6/3/2024
Status: Merged
Merged: 6/10/2024
Merged by: @eyurtsev

Base: mainHead: pgvector_not_operator


📝 Commits (5)

📊 Changes

3 files changed (+70 additions, -12 deletions)

View changed files

📝 langchain_postgres/vectorstores.py (+33 -10)
📝 tests/unit_tests/fixtures/filtering_test_cases.py (+35 -2)
📝 tests/unit_tests/test_vectorstore.py (+2 -0)

📄 Description

Add support for the Negation($not) operator in PGVector


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/62 **Author:** [@Raj725](https://github.com/Raj725) **Created:** 6/3/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `pgvector_not_operator` --- ### 📝 Commits (5) - [`57c5125`](https://github.com/langchain-ai/langchain-postgres/commit/57c51253e886e8ea6429ac8710b97975c05fd7bb) Add support for '$not' operator - [`daffaa3`](https://github.com/langchain-ai/langchain-postgres/commit/daffaa3aa067d6d82a211d3b4b342317295b2110) Merge branch 'main' into pgvector_not_operator - [`fb66437`](https://github.com/langchain-ai/langchain-postgres/commit/fb66437c6e98987796cd0c86f15b10183aea41e1) qxqx - [`3711723`](https://github.com/langchain-ai/langchain-postgres/commit/3711723d6d1985de418435f1c230024b3cd43749) x - [`270a933`](https://github.com/langchain-ai/langchain-postgres/commit/270a933f1d5f1803add890c2e9cb78b764bf1f5f) qxqx ### 📊 Changes **3 files changed** (+70 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/vectorstores.py` (+33 -10) 📝 `tests/unit_tests/fixtures/filtering_test_cases.py` (+35 -2) 📝 `tests/unit_tests/test_vectorstore.py` (+2 -0) </details> ### 📄 Description Add support for the Negation(`$not`) operator in PGVector --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:16:45 -05:00
yindo closed this issue 2026-02-16 05:16:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#145