-
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
Python: Adds a memory connector for Azure Cosmos DB for NoSQL #6195
Python: Adds a memory connector for Azure Cosmos DB for NoSQL #6195
Conversation
Need to update the pyproject.toml and poetry.lock file once the new version is released for azure-cosmos |
…/semantic-kernel into users/akataria/CosmosDB-NoSql
@moonbox3 , can you please review this PR as priority, we need this to be merged by this Friday for the Build Conference. The python SDK will be released today EOD, and I will update the azure-cosmos dependency accordingly. I have tested the functionality in my local, where it works correctly. |
@aayush3011 Yes, I will review first thing in the morning. Tagging @eavanvalkenburg if he can look during his morning, too, which is before mine. |
@aayush3011 you need to run |
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 thing in the tests, but looks good otherwise, would be nice to have a sample with this as well, but that is optional!
python/tests/integration/connectors/memory/test_azure_cosmosdb_no_sql_memory_store.py
Outdated
Show resolved
Hide resolved
...emantic_kernel/connectors/memory/azure_cosmosdb_no_sql/azure_cosmosdb_no_sql_memory_store.py
Show resolved
Hide resolved
...emantic_kernel/connectors/memory/azure_cosmosdb_no_sql/azure_cosmosdb_no_sql_memory_store.py
Outdated
Show resolved
Hide resolved
@moonbox3 @eavanvalkenburg Please review again, once you get a chance. |
python/tests/integration/connectors/memory/test_azure_cosmosdb_no_sql_memory_store.py
Show resolved
Hide resolved
…/semantic-kernel into users/akataria/CosmosDB-NoSql
Unfortunately the new integration tests for this integration were not updated for the new function names, please have a look @aayush3011 |
…/semantic-kernel into users/akataria/CosmosDB-NoSql
…/semantic-kernel into users/akataria/CosmosDB-NoSql
Head branch was pushed to by a user without write access
…/semantic-kernel into users/akataria/CosmosDB-NoSql
…oft#6195) ### 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. This adds a Memory Connector implementation for Azure Cosmos DB's, including support for the new vector search functionality coming soon in Cosmos DB. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Co-authored-by: Eduard van Valkenburg <[email protected]> Co-authored-by: Evan Mattson <[email protected]>
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.
This adds a Memory Connector implementation for Azure Cosmos DB's, including support for the new vector search functionality coming soon in Cosmos DB.
Description
Contribution Checklist