Skip to content

Commit 408f5f6

Browse files
committed
fixed links
1 parent 79eba16 commit 408f5f6

File tree

5 files changed

+18
-23
lines changed

5 files changed

+18
-23
lines changed

articles/search/cognitive-search-debug-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The visual editor is organized into a surface area showing a progression of oper
6363

6464
Select any skill or mapping, and a pane opens to side showing relevant information.
6565

66-
:::image type="content" source="media/cognitive-search-debug/debug-session-skills-pane.png" lightbox="media/cognitive-search-debug/debug-sessions-skills-pane.png" alt-text="Screenshot showing a skill details pane with drilldown for more information.":::
66+
:::image type="content" source="media/cognitive-search-debug/debug-session-skills-pane.png" lightbox="media/cognitive-search-debug/debug-session-skills-pane.png" alt-text="Screenshot showing a skill details pane with drilldown for more information.":::
6767

6868
Follow the links to drill further into skills processing. For example, the following screenshot shows the output of the first iteration of the Text Split skill.
6969

articles/search/cognitive-search-how-to-debug-skillset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Enriched documents are internal, but a debug session gives you access to the con
127127

128128
1. Select a skill.
129129

130-
:::image type="content" source="media/cognitive-search-debug/debug-session-skills-pane.png" lightbox="media/cognitive-search-debug/debug-sessions-skills-pane.png" alt-text="Screenshot showing a skill details pane with drilldown for more information.":::
130+
:::image type="content" source="media/cognitive-search-debug/debug-session-skills-pane.png" lightbox="media/cognitive-search-debug/debug-session-skills-pane.png" alt-text="Screenshot showing a skill details pane with drilldown for more information.":::
131131

132132
1. Follow the links to drill further into skills processing. For example, the following screenshot shows the output of the first iteration of the Text Split skill.
133133

articles/search/cognitive-search-skill-annotation-language.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom:
1010
- ignite-2023
1111
- build-2024
1212
ms.topic: reference
13-
ms.date: 01/27/2022
13+
ms.date: 08/20/2024
1414
---
1515
# Skill context and input annotation language
1616

@@ -24,8 +24,8 @@ The nodes in the tree can be simple values such as strings and numbers, arrays,
2424
Even simple values can be enriched with additional structured information.
2525
For example, a string can be annotated with additional information that is stored beneath it in the enrichment tree.
2626
The expressions used to query that internal structure use a rich syntax that is detailed in this article.
27-
The enriched data structure can be [inspected from debug sessions](cognitive-search-debug-session.md#ai-enrichments-tab--enriched-data-structure).
28-
Expressions querying the structure can also be [tested from debug sessions](cognitive-search-debug-session.md#expression-evaluator).
27+
The enriched data structure can be [inspected from debug sessions](cognitive-search-debug-session.md).
28+
Expressions querying the structure can also be tested from debug sessions.
2929

3030
Throughout the article, we'll use the following enriched data as an example.
3131
This data is typical of the kind of structure you would get when enriching a document using a skillset with [OCR](cognitive-search-skill-ocr.md), [key phrase extraction](cognitive-search-skill-keyphrases.md), [text translation](cognitive-search-skill-text-translation.md), [language detection](cognitive-search-skill-language-detection.md), and [entity recognition](cognitive-search-skill-entity-recognition-v3.md) skills, as well as a custom tokenizer skill.

articles/search/cognitive-search-tutorial-debug-sessions.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ The sample code intentionally creates a buggy index as a consequence of problems
9191
1. Enter this JSON query string in Search explorer's JSON view. It returns fields for specific documents (identified by the unique `metadata_storage_path` field).
9292

9393
```json
94+
"search": "*",
9495
"select": "metadata_storage_path, organizations, locations",
95-
"count"=true`
96+
"count": true
9697
```
9798

9899
1. Run the query. You should see empty values for `organizations` and `locations`.
@@ -117,31 +118,27 @@ Another way to investigate errors and warnings is through the Azure portal.
117118

118119
1. Give the session a name.
119120

120-
1. Connect the session to your storage account. Create a container named "debug sessions". You can use this container repeatedly to store all of your debug session data.
121-
122-
1. If you configured a trusted connection between search and storage, select the user-managed identity or system identity for the connection. Otherwise, use the default (None).
121+
1. Connect the session to your storage account.
123122

124123
1. In Indexer template, provide the indexer name. The indexer has references to the data source, the skillset, and index.
125124

126-
1. Accept the default document choice for the first document in the collection. A debug session only works with a single document. You can choose which document to debug, or just use the first one.
125+
1. If you configured role assignments or a trusted connection between search and storage, select the system identity for the connection.
127126

128-
1. **Save** the session. Saving the session will kick off the enrichment pipeline as defined by the skillset for the selected document.
127+
1. **Save** the session. Saving the session kicks off the enrichment pipeline as defined by the skillset for the selected document.
129128

130-
:::image type="content" source="media/cognitive-search-debug/new-debug-session-screen-required.png" alt-text="Screenshot of configuring a new debug session." border="true":::
129+
1. Accept the default document choice for the first document in the collection. A debug session only works with a single document. You can choose which document to debug, or just use the first one.
131130

132-
1. When the debug session has finished initializing, the session defaults to the **AI Enrichments** tab, highlighting the **Skill Graph**. The Skill Graph provides a visual hierarchy of the skillset and its order of execution sequentially and in parallel.
131+
1. When the debug session has finished initializing, you should see a skills workflow with mappings and a search index. The enriched document data structure appears in a details pane on the side.
133132

134-
:::image type="content" source="media/cognitive-search-debug/debug-execution-complete1.png" alt-text="Screenshot of Debug Session visual editor." border="true":::
133+
:::image type="content" source="media/cognitive-search-debug/debug-execution-complete1.png" lightbox="media/cognitive-search-debug/debug-execution-complete1.png" alt-text="Screenshot of Debug Session visual editor." border="true":::
135134

136135
## Find issues with the skillset
137136

138-
Any issues reported by the indexer can be found in the adjacent **Errors/Warnings** tab.
137+
Any issues reported by the indexer can be found in the adjacent **Errors/Warnings** pane.
139138

140-
:::image type="content" source="media/cognitive-search-debug/debug-session-errors-warnings.png" alt-text="Screenshot of the errors and warnings tab." border="true":::
139+
Notice that the number of errors and warning is a much smaller list than the one displayed earlier because this list is only detailing the errors for a single document. Like the list displayed by the indexer, you can select on a warning message and see the details of this warning.
141140

142-
Notice that the **Errors/Warnings** tab will provide a much smaller list than the one displayed earlier because this list is only detailing the errors for a single document. Like the list displayed by the indexer, you can select on a warning message and see the details of this warning.
143-
144-
Select **Errors/Warnings** to review the notifications. You should see four:
141+
Select **Warnings** to review the notifications. You should see four:
145142

146143
+ "Could not execute skill because one or more skill inputs were invalid. Required skill input is missing. Name: 'text', Source: '/document/content'."
147144

@@ -162,11 +159,9 @@ Because all four notifications are about this skill, your next step is to debug
162159

163160
In the **Errors/Warnings** tab, there are two missing inputs for an operation labeled `EntityRecognitionSkill.#1`. The detail of the first error explains that a required input for 'text' is missing. The second indicates a problem with an input value "/document/languageCode".
164161

165-
1. In **AI Enrichments** > **Skill Graph**, select the skill labeled **#1** to display its details in the right pane.
166-
167-
1. Select the **Executions** tab and locate the input for "text".
162+
1. On the work surface, select the first skill.
168163

169-
1. Select the **</>** symbol to pop open the Expression Evaluator. The displayed result for this input doesn’t look like a text input. It looks like a series of new line characters `\n \n\n\n\n` instead of text. The lack of text means that no entities can be identified, so either this document fails to meet the prerequisites of the skill, or there's another input that should be used instead.
164+
1. On the details pane, select the input to pop open the Expression Evaluator. The displayed result for this input doesn’t look like a text input. It looks like a series of new line characters `\n \n\n\n\n` instead of text. The lack of text means that no entities can be identified, so either this document fails to meet the prerequisites of the skill, or there's another input that should be used instead.
170165

171166
:::image type="content" source="media/cognitive-search-debug/expression-evaluator-text.png" alt-text="Screenshot of Expression Evaluator for the text input." border="true":::
172167

296 KB
Loading

0 commit comments

Comments
 (0)