Files
semantic-kernel/dotnet/samples/Demos/VectorStoreRAG/Options/CosmosConfig.cs
T
abf10dd6ea Update CommunityToolkit VectorData package names (#14333)
### 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]>
2026-08-26 15:47:02 +00:00

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;
}