Skip to content

Commit 57628ee

Browse files
Merge pull request #261490 from gmndrg/patch-9
Update cognitive-search-custom-skill-web-api.md
2 parents 0e0c165 + 10dd8f0 commit 57628ee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

articles/search/cognitive-search-custom-skill-web-api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: cognitive-search
88
ms.custom:
99
- ignite-2023
1010
ms.topic: conceptual
11-
ms.date: 08/20/2022
11+
ms.date: 12/18/2023
1212
---
1313

1414
# Custom Web API skill in an Azure AI Search enrichment pipeline
@@ -207,7 +207,7 @@ In addition to your Web API being unavailable, or sending out non-successful sta
207207

208208
* If the Web API returns a success status code but the response indicates that it is not `application/json` then the response is considered invalid and no enrichments will be performed.
209209

210-
* If there are invalid records (for example, `recordId` is missing or duplicated) in the response `values` array, no enrichment will be performed for the invalid records.
210+
* If there are invalid records (for example, `recordId` is missing or duplicated) in the response `values` array, no enrichment will be performed for the invalid records. It's important to adhere to the Web API skill contract when developing custom skills. You can refer to [this example](https://github.com/Azure-Samples/azure-search-power-skills/blob/main/Common/WebAPISkillContract.cs) provided in the [Power Skill repository](https://github.com/Azure-Samples/azure-search-power-skills/tree/main) that follows the expected contract.
211211

212212
For cases when the Web API is unavailable or returns an HTTP error, a friendly error with any available details about the HTTP error will be added to the indexer execution history.
213213

@@ -216,3 +216,4 @@ For cases when the Web API is unavailable or returns an HTTP error, a friendly e
216216
+ [How to define a skillset](cognitive-search-defining-skillset.md)
217217
+ [Add custom skill to an AI enrichment pipeline](cognitive-search-custom-skill-interface.md)
218218
+ [Example: Creating a custom skill for AI enrichment](cognitive-search-create-custom-skill-example.md)
219+
+ [Power Skill repository](https://github.com/Azure-Samples/azure-search-power-skills/tree/main)

0 commit comments

Comments
 (0)