-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Python: Add vector search to Postgres connector #10213
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, thanks for adding, left a couple of notes!
python/samples/getting_started/third_party/postgres-memory.ipynb
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
@eavanvalkenburg thanks for the review! I believe I addressed all your comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of small notes, really close!
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_collection.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/connectors/memory/postgres/postgres_store.py
Outdated
Show resolved
Hide resolved
@eavanvalkenburg thanks - ready for re-review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit, but looking good!
Motivation and Context
Following up on #8951, this PR adds an implementation of
VectorSearchBase
toPostgresCollection
. This implementation provides vectorized search and does not implement text search or vectorizable text search.Unit and integration tests are added, and the
python/samples/getting_started/third_party/postgres-memory.ipynb
notebook was expanded to include vector search in the example.Contribution Checklist