Create a Knowledge Store using REST - Postman
This Postman collection uses the Azure Search REST APIs to create the resources associated with a knowledge store: a data source, a skillset, an index, and an indexer. Requests are provided in the V2 collection format, which you can import and then modify for connections to your Azure Search service.
The knowledge store and index configuration are based on the source document being structured like the CSV file HotelReviews-Free.csv. This is discussed in the tutorial Create an Azure Search knowledge store using REST.
The purpose of this sample is to demonstrate how, if you have an existing document store such as the hotel reviews CSV file, you can create a knowledge store by first creating the index, datasource, skillset, and indexer.
||Import into Postman|
||Guidelines for contributing to the sample.|
||This README file.|
||The license for the sample.|
- Clone or download this sample repository.
- Extract contents if the download is a zip file. Make sure the files are read-write.
- Put HotelReviews-Free.csv in Azure Blob Storage. This is discussed in the tutorial Create an Azure Search knowledge store using REST.
- Start Postman and import KnowledgeStore.postman_collection.json
- In the collection, open the Edit dialog and the Variables tab
admin-key. You'll find the value for
admin-keyin the Search Service's Keys tab.
storage-account-name. These must be set to the name of your search service and the name of the storage account at which you've stored the source document .
storage-connection-stringto the value in the Storage Account's Access Keys tab.
- Send each request to the service.
You can learn more about Azure Search on the official documentation site.