mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context
CommunityToolkit/AI renamed the Cosmos MongoDB and Cosmos NoSQL
VectorData providers. Semantic Kernel references should point to the
renamed packages and source locations.
### Description
- **README links**
- Updated Cosmos MongoDB README to `MEVD/src/AzureDocumentDB`
- Updated Cosmos NoSQL README to `MEVD/src/AzureCosmosDB`
- **Central package versions**
- `CommunityToolkit.VectorData.CosmosMongoDB` →
`CommunityToolkit.VectorData.AzureDocumentDB`
- `CommunityToolkit.VectorData.CosmosNoSql` →
`CommunityToolkit.VectorData.AzureCosmosDB`
- **Sample references**
- Updated affected sample project package references.
- Updated renamed extension method call sites:
- `AddCosmosMongo...` → `AddDocumentDB...`
- `AddCosmosNoSql...` → `AddCosmos...`
### 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: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: adamsitnik <[email protected]>
Co-authored-by: Adam Sitnik <[email protected]>
21 lines
556 B
C#
21 lines
556 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace VectorStoreRAG.Options;
|
|
|
|
/// <summary>
|
|
/// Azure DocumentDB and Azure Cosmos DB service settings.
|
|
/// </summary>
|
|
internal sealed class CosmosConfig
|
|
{
|
|
public const string DocumentDBConfigSectionName = "AzureDocumentDB";
|
|
public const string NoSqlConfigSectionName = "CosmosNoSql";
|
|
|
|
[Required]
|
|
public string ConnectionString { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string DatabaseName { get; set; } = string.Empty;
|
|
}
|