-
Notifications
You must be signed in to change notification settings - Fork 94
feat: Add the PGVectorStore class #168
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
Merged
averikitsch
merged 32 commits into
langchain-ai:pg-vectorstore
from
dishaprakash:upstream-langchain
Apr 4, 2025
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a21a8e2
feat: Add the PGVectorStore class
dishaprakash 926f417
Linter and format fix
dishaprakash a34ddbe
update poetry lock
dishaprakash bdd2bf6
minor variable name change
dishaprakash 239b1c3
Fix import test
dishaprakash 544cade
enabled socket in one test file
dishaprakash 03dcac1
enabled socket in all test files
dishaprakash 7b4fa7f
Debug tests being skipped
dishaprakash 1d42314
Debug tests being skipped
dishaprakash dc9a5b8
Debug tests being skipped
dishaprakash 4c3f93f
Debug tests being failed
dishaprakash b3a12b7
revert debug lines
dishaprakash 8b30833
Remove IVFIndex
dishaprakash 1496033
Minor change
dishaprakash cbd0889
Review changes
dishaprakash b436df3
Refactor vectorstore packaging in import
dishaprakash eb6954d
Change test table names
dishaprakash 3e52c56
Linter fix
dishaprakash a24fe73
Minor fix
dishaprakash c74858e
Fix test
dishaprakash e52e609
Fix tests
dishaprakash 1f6a70e
Remove chat message history format
dishaprakash 8029731
Fix test
dishaprakash cf58c2a
Fix indexing tests
dishaprakash b9526c6
Make escape sql string function private
dishaprakash 1d6563a
Rename namespaces
dishaprakash c9ad8f3
Enable support for TypedDict along with Column
dishaprakash a913b5a
Fix import test
dishaprakash 9e539e0
Linter fix
dishaprakash 1daac17
Linter fix
dishaprakash 5062185
Add validation and quotes for indexes
dishaprakash fe62c35
Merge branch 'pg-vectorstore' into upstream-langchain
averikitsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Linter and format fix
- Loading branch information
commit 926f417d2f940b392728c9b3b9193cf484df03a3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Copied from community.""" | ||
|
||
from typing import List | ||
|
||
from langchain_core.embeddings import Embeddings | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.