You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-debug-session.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ ms.date: 12/30/2021
13
13
14
14
# Debug Sessions in Azure Cognitive Search
15
15
16
-
Debug Sessions is a visual editor that works with an existing skillset in the Azure portal, exposing the structure and content of a single enriched document, as its produced by an indexer and skillset, for the duration of the session. Because you are working with a live document, the session is interactive - you can identify errors, modify and invoke skill execution, and validate the results in real time. If your changes resolve the problem, you can commit them to a published skillset to apply the fixes globally.
16
+
Debug Sessions is a visual editor that works with an existing skillset in the Azure portal, exposing the structure and content of a single enriched document, as it's produced by an indexer and skillset, for the duration of the session. Because you are working with a live document, the session is interactive - you can identify errors, modify and invoke skill execution, and validate the results in real time. If your changes resolve the problem, you can commit them to a published skillset to apply the fixes globally.
17
17
18
18
> [!Important]
19
19
> Debug Sessions is a preview feature provided under [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
20
20
21
21
## How a debug session works
22
22
23
-
When you start a session, the search service creates a copy of the skillset, indexer, and a search index containing a single document that will be used to test the skillset. All session state will be saved to a container in an Azure Storage account that you provide.
23
+
When you start a session, the search service creates a copy of the skillset, indexer, and a data source containing a single document that will be used to test the skillset. All session state will be saved to a container in an Azure Storage account that you provide.
24
24
25
25
A cached copy of the enriched document and skillset is loaded into the visual editor so that you can inspect the content and metadata of the enriched document, with the ability to check each document node and edit any aspect of the skillset definition. Any changes made within the session are cached. Those changes will not affect the published skillset unless you commit them. Committing changes will overwrite the production skillset.
26
26
@@ -44,7 +44,7 @@ Skill details includes the following areas:
44
44
45
45
+**Skill Settings** shows a formatted version of the skill definition.
46
46
+**Skill JSON Editor** shows the raw JSON document of the definition.
47
-
+**Executions** shows the number of times a skill was executed.
47
+
+**Executions** shows the data corresponding to each time a skill was executed.
48
48
+**Errors and warnings** shows the messages generated upon session start or refresh.
49
49
50
50
On Executions or Skill Settings, select the **`</>`** symbol to open the [**Expression Evaluator**](#expression-evaluator) used for viewing and editing the expressions of the skills inputs and outputs.
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-how-to-debug-skillset.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.date: 12/31/2021
15
15
16
16
Start a debug session to identify and resolve errors, validate changes, and push changes to a published skillset in your Azure Cognitive Search service.
17
17
18
-
A debug session is a cached indexer and skillset execution, scoped to a single document, that you can edit and test your changes interactively. If you are unfamiliar with how a debug session works, see [Debug sessions in Azure Cognitive Search](cognitive-search-debug-session.md). To practice a debug workflow with a sample document, see [Tutorial: Debug sessions](cognitive-search-tutorial-debug-sessions.md).
18
+
A debug session is a cached indexer and skillset execution, scoped to a single document, that you can use to edit and test your changes interactively. If you are unfamiliar with how a debug session works, see [Debug sessions in Azure Cognitive Search](cognitive-search-debug-session.md). To practice a debug workflow with a sample document, see [Tutorial: Debug sessions](cognitive-search-tutorial-debug-sessions.md).
19
19
20
20
> [!Important]
21
21
> Debug sessions is a preview portal feature, provided under [Supplemental Terms of Use](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -64,7 +64,7 @@ As a best practice, resolve problems with inputs before moving on to outputs.
64
64
65
65
To prove whether a modification resolves an error, follow these steps:
66
66
67
-
1. Select **Save** in Skill Details to preserve your changes.
67
+
1. Select **Save** in the skill details pane to preserve your changes.
68
68
69
69
1. Select **Run** in the session window to invoke skillset execution using the modified definition.
70
70
@@ -103,7 +103,7 @@ The following steps show you how to get information about a skill.
103
103
+**Skill Settings** if you prefer a visual editor
104
104
+**Skill JSON Editor** to edit the JSON document directly
105
105
106
-
1. Check the [path syntax for referencing nodes](cognitive-search-concept-annotations-syntax.md) in an enrichment tree. Inputs are usually one of the following:
106
+
1. Check the [path syntax for referencing nodes](cognitive-search-concept-annotations-syntax.md) in an enrichment tree. Following are some of the most common input paths:
107
107
108
108
+`/document/content` for chunks of text. This node is populated from the blob's content property.
109
109
+`/document/merged_content` for chunks of text in skillets that include Text Merge skill.
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-tutorial-debug-sessions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ You will need the [Postman collection](https://github.com/Azure-Samples/azure-se
103
103
104
104
## Check results in the portal
105
105
106
-
The sample code intentionally creates a buggy index as a consequence of problems that occurred during skillset execution. The problem in the index is missing data.
106
+
The sample code intentionally creates a buggy index as a consequence of problems that occurred during skillset execution. The problem is that the index is missing data.
107
107
108
108
1. In Azure portal, on the search service **Overview** page, select the **Indexes** tab.
109
109
@@ -113,7 +113,7 @@ The sample code intentionally creates a buggy index as a consequence of problems
113
113
114
114
1. Select **Search** to run the query. You should see empty values for "organizations" and "locations".
115
115
116
-
These fields should have been populated through the skillset's [Entity Recognition skill](cognitive-search-skill-entity-recognition-v3.md), used to detect organizations and locations anywhere within the blob's content. In the next exercise, you'll use debug the skillset to determine what went wrong.
116
+
These fields should have been populated through the skillset's [Entity Recognition skill](cognitive-search-skill-entity-recognition-v3.md), used to detect organizations and locations anywhere within the blob's content. In the next exercise, you'll debug the skillset to determine what went wrong.
117
117
118
118
Another way to investigate errors and warnings is through the Azure portal.
0 commit comments