-
Notifications
You must be signed in to change notification settings - Fork 52
Add vector attribute support for PostgreSQL with pgvector extension #665
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
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
0172a2a
Add vector attribute support for PostgreSQL with pgvector extension
cursoragent 5d5d118
Checkpoint before follow-up message
cursoragent 2130be7
Add getSupportForVectors method to database adapters for vector support
cursoragent f13bb3b
Add vector support configuration and improve type validation
cursoragent 3c6f328
Fix vector type default validation to prevent unnecessary recursion
cursoragent c8b33cc
Checkpoint before follow-up message
cursoragent 04c05f6
Checkpoint before follow-up message
cursoragent 98aacd5
Refactor vector validation to use 'size' instead of 'dimensions'
cursoragent 755e6e8
Add vector type validation checks in Database class
cursoragent aa4798a
Add comprehensive vector query tests for PostgreSQL adapter
cursoragent bd9adb2
Merge remote-tracking branch 'origin/main' into feat/postgresql-vecto…
abnegate 07bdc65
Ensure extension on createCollection
abnegate 4ffcad9
Validate dimensions
abnegate 8fc8ebf
Add HNSW index support
abnegate 9af414f
Fix vector query
abnegate e2ec1cd
Update tests
abnegate dd2443e
Add ext for tests
abnegate 4cbef8c
Fix queries
abnegate ad060b8
Fix query value mapping
abnegate a6561b3
Add byte counting
abnegate e8c8dde
Validate single attribute for indexes
abnegate f1d7daa
Add more tests
abnegate 5752bd0
Fix decode
abnegate 574e129
Fix lint
abnegate a33609c
Merge branch 'main' into feat/postgresql-vector-support
abnegate a7df34f
Fix test
abnegate 89a33de
Fix tests
abnegate 0a8fc09
Merge branch 'feat/postgresql-vector-support' of github.com:utopia-ph…
abnegate 089c706
Fix tests
abnegate a402cb0
Fix tests
abnegate 768fffb
Use const for max dims
abnegate 952ddb7
Improve index validation
abnegate 793be26
Fix tests
abnegate 2aa62af
Merge branch 'main' into feat/postgresql-vector-support
abnegate aedec64
Update src/Database/Validator/Index.php
abnegate 8912d5e
Validate default
abnegate 3a4477e
Format
abnegate c2e3bea
Merge branch 'main' into feat/postgresql-vector-support
abnegate 4310bfd
Merge remote-tracking branch 'origin/main' into feat/postgresql-vecto…
abnegate 2a53c11
Check spatial attribute type in validator
abnegate 2fc601a
Cleanup
abnegate 2faf75a
Use filters instead of manual encode/decode
abnegate e8318df
Add more tests
abnegate 08c1407
Update tests/e2e/Adapter/Scopes/VectorTests.php
abnegate afbf531
Fix tests
abnegate a05d4af
Merge branch 'feat/postgresql-vector-support' of github.com:utopia-ph…
abnegate b28102c
Fix test
abnegate 50c040f
Fix validator
abnegate e16689d
Reject multiple vector queries
abnegate 966b637
Stricter validation
abnegate fc907a3
Fix tests
abnegate ffe9b9a
Fix permission test
abnegate f02aa64
Simplify extension install
abnegate ed69345
Remove dead code
abnegate 363cc8d
Simplify encode
abnegate b5a3c95
Simplify check
abnegate f06ef55
Update src/Database/Validator/Query/Filter.php
abnegate 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
Some comments aren't visible on the classic Files Changed page.
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
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.