Skip to content

Commit dee4556

Browse files
committed
Fixed code snippet per testing
1 parent 7876215 commit dee4556

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

articles/search/cognitive-search-tutorial-blob-dotnet.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,10 @@ private static SearchIndexerSkillset CreateOrUpdateDemoSkillSet(SearchIndexerCli
514514
{
515515
SearchIndexerSkillset skillset = new SearchIndexerSkillset("demoskillset", skills)
516516
{
517+
// Azure AI services was formerly known as Cognitive Services.
518+
// The APIs still use the old name, so we need to create a CognitiveServicesAccountKey object.
517519
Description = "Demo skillset",
518-
AzureAiServicesAccount = new AzureAiServicesAccountKey(azureAiServicesKey)
520+
CognitiveServicesAccount = new CognitiveServicesAccountKey(azureAiServicesKey)
519521
};
520522

521523
// Create the skillset in your search service.

articles/search/cognitive-search-tutorial-blob-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: heidist
99
ms.service: cognitive-search
1010
ms.devlang: python
1111
ms.topic: tutorial
12-
ms.date: 08/26/2022
12+
ms.date: 09/13/2023
1313
ms.custom: devx-track-python
1414
---
1515

0 commit comments

Comments
 (0)