-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
.Net: Adds a memory connector for Azure Cosmos DB for NoSQL #6148
Merged
markwallace-microsoft
merged 27 commits into
microsoft:main
from
Pilchie:CosmosDB-NoSQL
May 20, 2024
Merged
.Net: Adds a memory connector for Azure Cosmos DB for NoSQL #6148
markwallace-microsoft
merged 27 commits into
microsoft:main
from
Pilchie:CosmosDB-NoSQL
May 20, 2024
Conversation
This file contains 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
markwallace-microsoft
added
.NET
Issue or Pull requests regarding .NET code
kernel
Issues or pull requests impacting the core kernel
memory
labels
May 7, 2024
github-actions
bot
changed the title
Adds a memory connector for Azure Cosmos DB
.Net: Adds a memory connector for Azure Cosmos DB
May 7, 2024
Pilchie
commented
May 7, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/CosmosSystemTextJSonSerializer.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
dmytrostruk
changed the title
.Net: Adds a memory connector for Azure Cosmos DB
.Net: Adds a memory connector for Azure Cosmos DB for NoSQL
May 8, 2024
.../Connectors/Connectors.Memory.AzureCosmosDBNoSQL/Connectors.Memory.AzureCosmosDBNoSQL.csproj
Outdated
Show resolved
Hide resolved
westey-m
requested changes
May 17, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
stephentoub
reviewed
May 17, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
stephentoub
reviewed
May 17, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
stephentoub
reviewed
May 17, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/CosmosSystemTextJSonSerializer.cs
Outdated
Show resolved
Hide resolved
stephentoub
reviewed
May 17, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/CosmosSystemTextJSonSerializer.cs
Show resolved
Hide resolved
westey-m
approved these changes
May 17, 2024
I believe this is ready to go now @westey-m, @markwallace-microsoft, @stephentoub. (Of course I spoke too soon. Rebased and fixed a couple of warnings now). |
* Make helper types internal * Ensure there is an appropriate embedding policy * Fix doc comment copy/paste mistake * Re-use constant in another place
Co-authored-by: Stephen Toub <[email protected]>
Setting this after the `CosmosClient` can't be relied upon to work (it won't if a connection has already been established in the current implementation).
stephentoub
reviewed
May 18, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
stephentoub
reviewed
May 18, 2024
dotnet/src/Connectors/Connectors.Memory.AzureCosmosDBNoSQL/AzureCosmosDBNoSQLMemoryStore.cs
Outdated
Show resolved
Hide resolved
stephentoub
approved these changes
May 19, 2024
Thanks so much everyone! |
LudoCorporateShark
pushed a commit
to LudoCorporateShark/semantic-kernel
that referenced
this pull request
Aug 25, 2024
…t#6148) ### Motivation and Context Azure Cosmos DB is adding Vector Similarity APIs to the NoSQL project, and would like Semantic Kernel users to be able to leverage them. ### Description This adds a Memory Connector implementation for Azure Cosmos DB's, including support for the new vector search functionality coming soon in Cosmos DB. It is mostly based off the existing connector for Azure Cosmos DB for Mongo DB vCore. ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Stephen Toub <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation and Context
Azure Cosmos DB is adding Vector Similarity APIs to the NoSQL project, and would like Semantic Kernel users to be able to leverage them.
Description
This adds a Memory Connector implementation for Azure Cosmos DB's, including support for the new vector search functionality coming soon in Cosmos DB. It is mostly based off the existing connector for Azure Cosmos DB for Mongo DB vCore.
Contribution Checklist