Skip to content

Commit a2b39a9

Browse files
diberryCopilot
andcommitted
fix: restore .NET quickstart to match upstream (remove from Python PR)
Remove duplicated front matter/title/intro block that was accidentally spliced into the .NET quickstart article body. Revert azure.yaml and gpt-4.1-mini cross-cutting fixes so this file matches upstream/main exactly and drops out of the Python PR #4702 diff. Those fixes live in their own PRs (#4700, #4701, #4705). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 42abd1a commit a2b39a9

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

articles/cosmos-db/quickstart-vector-store-dotnet.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,6 @@ ms.custom:
2222

2323
Learn to use vector search in Azure Cosmos DB to store and query vector data efficiently. This quickstart provides a guided tour of key vector search techniques using a [.NET sample app](https://github.com/Azure-Samples/cosmos-db-vector-samples/tree/main/nosql-vector-search-dotnet) on GitHub.
2424

25-
The app uses a sample hotel dataset in a ---
26-
27-
title: Quickstart - Azure Cosmos DB vector search with .NET
28-
description: Learn how to use vector search in Azure Cosmos DB with .NET. Store and query vector data efficiently in your applications.
29-
author: alexwolfmsft
30-
ms.author: alexwolf
31-
ms.reviewer: khelanmodi
32-
ms.devlang: csharp
33-
ms.topic: quickstart-sdk
34-
ms.date: 02/06/2026
35-
ms.service: azure-cosmos-db
36-
ms.subservice: nosql
37-
ai-usage: ai-assisted
38-
ms.custom:
39-
- devx-track-dotnet
40-
- devx-track-dotnet-ai
41-
- devx-track-data-ai
42-
# CustomerIntent: As a developer, I want to learn how to use vector search in .NET applications with Azure Cosmos DB.
43-
---
44-
45-
# Quickstart: Vector search with .NET in Azure Cosmos DB
46-
47-
Learn to use vector search in Azure Cosmos DB to store and query vector data efficiently. This quickstart provides a guided tour of key vector search techniques using a [.NET sample app](https://github.com/Azure-Samples/cosmos-db-vector-samples/tree/main/nosql-vector-search-dotnet) on GitHub.
48-
4925
The app uses a sample hotel dataset in a JSON file with calculated vectors from the `text-embedding-3-small` model. The hotel data includes hotel names, locations, descriptions, and vector embeddings.
5026

5127
## Prerequisites
@@ -108,7 +84,7 @@ To provision resources:
10884
git clone https://github.com/Azure-Samples/cosmos-db-vector-samples.git
10985
```
11086

111-
1. Navigate to the root folder of the cloned repository (where `azure.yaml` is located), for example:
87+
1. Navigate to the root folder of the cloned repository (where `azure.yml` is located), for example:
11288

11389
```bash
11490
cd cosmos-db-vector-samples
@@ -127,7 +103,7 @@ Follow the prompts to select your Azure subscription and environment.
127103
* **Azure Cosmos DB**: Serverless account with the `Hotels` database and containers
128104
* **Azure OpenAI**: Resource with deployments for:
129105
* Embedding model: `text-embedding-3-small`
130-
* Chat model: `gpt-4.1-mini`
106+
* Chat model: `gpt-4o-mini`
131107
* **Managed Identity**: User-assigned identity for secure access.
132108
* Azure RBAC role assignments that enable Microsoft Entra ID (passwordless) access for the managed identity to Azure Cosmos DB and Azure OpenAI.
133109

@@ -330,4 +306,4 @@ In the preceding code, the `CosmosDBService` performs the following tasks:
330306
- [Vector search in Azure Cosmos DB](gen-ai/vector-search-overview.md)
331307
- [Document Indexer for Azure Cosmos DB (preview)](gen-ai/document-indexer.md)
332308
- [Vector embeddings in Azure Cosmos DB](gen-ai/vector-embeddings.md)
333-
- [Azure RBAC built-in roles](/azure/role-based-access-control/built-in-roles)
309+
- [Azure RBAC built-in roles](/azure/role-based-access-control/built-in-roles)

0 commit comments

Comments
 (0)