-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Postgres connector for Semantic Memory #946
Postgres connector for Semantic Memory #946
Conversation
@microsoft-github-policy-service agree |
d7a1a14
to
4dda575
Compare
I need some help, because some packages depend on different versions of nuget and cause conflict warnings when compiling. Pgvector 0.1.2 -> Npgsql 7.0.0 -> Microsoft.Bcl.HashCode (>= 1.1.1) UpdateAfter merge #955, it seems normal. |
4dda575
to
fb79006
Compare
76960ea
to
a449a73
Compare
a449a73
to
7ab1cbd
Compare
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.
Thanks for the PR, looks great overall. If you could add a readme with instructions on quickly setting up postgres locally or even just a link to documentation would be helpful.
7ab1cbd
to
d83ccc6
Compare
I have added the README.md file. |
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.
Tested, works! Thanks again for putting this together. One minor change potentially in the readme. Otherwise LGTM.
dotnet/src/Connectors/Connectors.UnitTests/Memory/Postgres/PostgresMemoryStoreTests.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresMemoryStore.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresMemoryStore.cs
Outdated
Show resolved
Hide resolved
Hi, @adrianwyatt, Can you review these new commits and let me know if there is anything else that can be done? Thank you! |
Hi @lemillermicrosoft. It looks like the formatting style of the .cs file was changed by #1030. Can you retrigger these actions? |
### Motivation and Context Postgres supports cosine similarity search by installing the [pgvector extension](https://github.com/pgvector/pgvector). ### Description Add a new Semantic Memory Connector leveraging Postgres with pgvector extension. Update the syntax example to demonstrate how it is used.
Motivation and Context
Postgres supports cosine similarity search by installing the pgvector extension.
Description
Add a new Semantic Memory Connector leveraging Postgres with pgvector extension. Update the syntax example to demonstrate how it is used.
Contribution Checklist
dotnet format
Close #945