semantic-kernel
semantic-kernel copied to clipboard
Redis connector for Semantic Memory
Motivation and Context
Redis supports cosine similarity search by the RediSearch module.
Description
Add a new Semantic Memory Connector leveraging Redis with RediSearch module. Update the syntax example to demonstrate how it is used.
Contribution Checklist
- [x] The code builds clean without any errors or warnings
- [x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with
dotnet format
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone :smile:
Close: #1177
Hello @lemillermicrosoft, Would you be willing to review this PR, please? Thank you so much for your time!
@JadynWong
There's a conflict over pgvector versioning due to PostgresMemoryStore depending on 0.1.2 and this depending on 0.1.3. I don't have a preference of one over the other unless up/downgrading the version breaks one of the memory stores.
@JadynWong
There's a conflict over pgvector versioning due to PostgresMemoryStore depending on 0.1.2 and this depending on 0.1.3. I don't have a preference of one over the other unless up/downgrading the version breaks one of the memory stores.
Hi @awharrison-28,
I merged the latest main branch and fixed the conflict. I have tested them and they work fine. Thanks.
This is great to see. Thank you @JadynWong! @awharrison-28 will help verify and approve this change.
Hi @awharrison-28, it's been a while, is there anything that needs to be changed? Thank you.
Hi @dmytrostruk, The workflows exception does not seem to be caused by the current PR changing the content, does it affect the merge?
Hi @dmytrostruk, The workflows exception does not seem to be caused by the current PR changing the content, does it affect the merge?
Hi @JadynWong, something wrong with pipelines, we will fix that. As far as I know, these are not blocking to merge. We expect to merge this PR to main
today 😃