Skip to content

Commit e3bf1ff

Browse files
authored
Merge pull request #198207 from HeidiSteen/heidist-fix
Fit and finish on recent changes
2 parents 6df717b + fb7bd1f commit e3bf1ff

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

articles/search/TOC.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,11 @@
251251
- name: Handle concurrent updates
252252
href: search-howto-concurrency.md
253253
- name: Develop in .NET
254-
items:
255-
- name: Use Azure.Search.Documents
256-
href: search-howto-dotnet-sdk.md
257-
- name: Upgrade the SDK
258-
items:
259-
- name: .NET SDK 11.0
260-
href: search-dotnet-sdk-migration-version-11.md
261-
- name: .NET Management SDK
262-
href: search-dotnet-mgmt-sdk-migration.md
254+
href: search-howto-dotnet-sdk.md
255+
- name: Upgrade to 11.0
256+
href: search-dotnet-sdk-migration-version-11.md
257+
- name: Upgrade the Management SDK
258+
href: search-dotnet-mgmt-sdk-migration.md
263259
- name: Upgrade the REST API
264260
href: search-api-migration.md
265261
- name: Indexes

articles/search/knowledge-store-create-rest.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,37 @@ author: HeidiSteen
77
manager: nitinme
88
ms.author: heidist
99
ms.service: cognitive-search
10-
ms.topic: tutorial
10+
ms.topic: how-to
1111
ms.date: 05/11/2022
1212
---
1313
# Create a knowledge store using REST and Postman
1414

1515
Knowledge store is a feature of Azure Cognitive Search that sends skillset output from an [AI enrichment pipeline](cognitive-search-concept-intro.md) to Azure Storage for subsequent knowledge mining, data analysis, or downstream processing. After the knowledge store is populated, you can use tools like [Storage Browser](knowledge-store-view-storage-explorer.md) or [Power BI](knowledge-store-connect-power-bi.md) to explore the content.
1616

17-
In this article, you'll use the REST API to ingest, enrich, and explore a set of customer reviews of hotel stays in a knowledge store in Azure Storage. The end result is a knowledge store that contains original text content pulled from the source, plus AI-generated content that includes a sentiment score, key phrase extraction, language detection, and text translation of non-English customer comments.
17+
In this article, you'll learn how to use the REST API to ingest, enrich, and explore a set of customer reviews of hotel stays in a knowledge store in Azure Storage. The end result is a knowledge store that contains original text content pulled from the source, plus AI-generated content that includes a sentiment score, key phrase extraction, language detection, and text translation of non-English customer comments.
1818

1919
To make the initial data set available, the hotel reviews are first imported into Azure Blob Storage. Post-processing, the results are saved as a knowledge store in Azure Table Storage.
2020

2121
> [!NOTE]
22-
> This articles assumes the [Postman desktop app](https://www.getpostman.com/) for this article. The [source code](https://github.com/Azure-Samples/azure-search-postman-samples/tree/master/knowledge-store) for this article includes a Postman collection containing all of the requests.
22+
> The [source code](https://github.com/Azure-Samples/azure-search-postman-samples/tree/master/knowledge-store) for this article includes a Postman collection containing all of the requests. If you don't want to use Postman, you can [create the same knowledge store in the Azure portal](knowledge-store-create-portal.md) using the Import data wizard.
2323
24-
## Create services and load data
24+
## Prerequisites
2525

26-
This exercise uses Azure Cognitive Search, Azure Blob Storage, and [Azure Cognitive Services](https://azure.microsoft.com/services/cognitive-services/) for the AI.
26+
+ [Postman desktop app](https://www.getpostman.com/)
2727

28-
Because the workload is so small, Cognitive Services is tapped behind the scenes to provide free processing for up to 20 transactions daily. A small workload means that you can skip creating or attaching a Cognitive Services resource.
28+
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/).
2929

30-
1. [Download HotelReviews_Free.csv](https://knowledgestoredemo.blob.core.windows.net/hotel-reviews/HotelReviews_Free.csv?sp=r&st=2019-11-04T01:23:53Z&se=2025-11-04T16:00:00Z&spr=https&sv=2019-02-02&sr=b&sig=siQgWOnI%2FDamhwOgxmj11qwBqqtKMaztQKFNqWx00AY%3D). This data is hotel review data saved in a CSV file (originates from Kaggle.com) and contains 19 pieces of customer feedback about a single hotel.
30+
+ Azure Cognitive Search. [Create a service](search-create-service-portal.md) or [find an existing one](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Search%2FsearchServices). You can use the free service for this exercise.
31+
32+
+ Azure Storage. [Create an account](../storage/common/storage-account-create.md) or [find an existing one](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Storage%2storageAccounts/). The account type must be **StorageV2 (general purpose V2)**.
33+
34+
+ Sample data loaded into Blob Storage (instructions provided in the next section).
3135

32-
1. [Create an Azure Storage account](../storage/common/storage-account-create.md?tabs=azure-portal) or [find an existing account](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Storage%2storageAccounts/). You'll use Azure Storage for both the raw content to be imported, and the knowledge store that is the end result.
36+
## Load data
3337

34-
Choose the **StorageV2 (general purpose V2)** account type.
38+
This uses Azure Cognitive Search, Azure Blob Storage, and [Azure Cognitive Services](https://azure.microsoft.com/services/cognitive-services/) for the AI. Because the workload is so small, Cognitive Services is tapped behind the scenes to provide free processing for up to 20 transactions daily. A small workload means that you can skip creating or attaching a Cognitive Services resource.
39+
40+
1. [Download HotelReviews_Free.csv](https://knowledgestoredemo.blob.core.windows.net/hotel-reviews/HotelReviews_Free.csv?sp=r&st=2019-11-04T01:23:53Z&se=2025-11-04T16:00:00Z&spr=https&sv=2019-02-02&sr=b&sig=siQgWOnI%2FDamhwOgxmj11qwBqqtKMaztQKFNqWx00AY%3D). This data is hotel review data saved in a CSV file (originates from Kaggle.com) and contains 19 pieces of customer feedback about a single hotel.
3541

3642
1. In the Azure Storage resource, use **Storage Browser** to create a blob container named **hotel-reviews**.
3743

@@ -43,7 +49,7 @@ Because the workload is so small, Cognitive Services is tapped behind the scenes
4349

4450
During skillset execution, the indexer connects to Azure Storage and creates the knowledge store. The connection information will be specified in the "knowledgeStore" section of the skillset. You can choose from the following approaches when setting up your connection:
4551

46-
+ Option 1, obtain a full access Azure Storage connection string that includes an access key:
52+
+ Option 1: Obtain a full access Azure Storage connection string that includes an access key:
4753

4854
In the Azure Storage portal page, select **Access Keys** on the left navigation pane.
4955

@@ -57,7 +63,7 @@ During skillset execution, the indexer connects to Azure Storage and creates the
5763
}
5864
```
5965

60-
+ Option 2, use your search service's system managed identity or user-assigned managed identity to connect to Azure Storage. Follow the instructions and examples in [Connect using a managed identity](search-howto-managed-identities-data-sources.md). You'll need to set up the managed identity, assign roles, and assemble a connection string.
66+
+ Option 2: Use your search service's system managed identity or user-assigned managed identity to connect to Azure Storage. Follow the instructions and examples in [Connect using a managed identity](search-howto-managed-identities-data-sources.md). You'll need to set up the managed identity, assign roles, and assemble a connection string.
6167

6268
A connection string for a system managed identity has the following format:
6369

0 commit comments

Comments
 (0)