From 3ce5151c3f02b36478a5283a34c63d5b95a20354 Mon Sep 17 00:00:00 2001 From: Andrey Vykhodtsev Date: Fri, 9 Feb 2024 10:25:46 +0200 Subject: [PATCH] switch lang services off --- 01-Load-Data-ACogSearch.ipynb | 92 +++++++++++++++++------------------ 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/01-Load-Data-ACogSearch.ipynb b/01-Load-Data-ACogSearch.ipynb index a7446280..35eb3db0 100644 --- a/01-Load-Data-ACogSearch.ipynb +++ b/01-Load-Data-ACogSearch.ipynb @@ -255,52 +255,52 @@ " }\n", " ]\n", " },\n", - " {\n", - " \"@odata.type\": \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\",\n", - " \"context\": \"/document/pages/*\",\n", - " \"maxKeyPhraseCount\": 2,\n", - " \"defaultLanguageCode\": \"en\",\n", - " \"inputs\": [\n", - " {\n", - " \"name\": \"text\", \n", - " \"source\": \"/document/pages/*\"\n", - " }\n", - " ],\n", - " \"outputs\": [\n", - " {\n", - " \"name\": \"keyPhrases\",\n", - " \"targetName\": \"keyPhrases\"\n", - " }\n", - " ]\n", - " },\n", - " {\n", - " \"@odata.type\": \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\",\n", - " \"context\": \"/document/pages/*\",\n", - " \"categories\": [\"Person\", \"URL\", \"Email\"],\n", - " \"minimumPrecision\": 0.5, \n", - " \"defaultLanguageCode\": \"en\",\n", - " \"inputs\": [\n", - " {\n", - " \"name\": \"text\", \n", - " \"source\":\"/document/pages/*\"\n", - " }\n", - " ],\n", - " \"outputs\": [\n", - " {\n", - " \"name\": \"persons\", \n", - " \"targetName\": \"persons\"\n", - " },\n", - " {\n", - " \"name\": \"urls\", \n", - " \"targetName\": \"urls\"\n", - " },\n", - " {\n", - " \"name\": \"emails\", \n", - " \"targetName\": \"emails\"\n", - " }\n", - " ]\n", - " }\n", - " ],\n", + " # {\n", + " # \"@odata.type\": \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\",\n", + " # \"context\": \"/document/pages/*\",\n", + " # \"maxKeyPhraseCount\": 2,\n", + " # \"defaultLanguageCode\": \"en\",\n", + " # \"inputs\": [\n", + " # {\n", + " # \"name\": \"text\", \n", + " # \"source\": \"/document/pages/*\"\n", + " # }\n", + " # ],\n", + " # \"outputs\": [\n", + " # {\n", + " # \"name\": \"keyPhrases\",\n", + " # \"targetName\": \"keyPhrases\"\n", + " # }\n", + " # ]\n", + " # },\n", + " # {\n", + " # \"@odata.type\": \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\",\n", + " # \"context\": \"/document/pages/*\",\n", + " # \"categories\": [\"Person\", \"URL\", \"Email\"],\n", + " # \"minimumPrecision\": 0.5, \n", + " # \"defaultLanguageCode\": \"en\",\n", + " # \"inputs\": [\n", + " # {\n", + " # \"name\": \"text\", \n", + " # \"source\":\"/document/pages/*\"\n", + " # }\n", + " # ],\n", + " # \"outputs\": [\n", + " # {\n", + " # \"name\": \"persons\", \n", + " # \"targetName\": \"persons\"\n", + " # },\n", + " # {\n", + " # \"name\": \"urls\", \n", + " # \"targetName\": \"urls\"\n", + " # },\n", + " # {\n", + " # \"name\": \"emails\", \n", + " # \"targetName\": \"emails\"\n", + " # }\n", + " # ]\n", + " # }\n", + " # ],\n", " \"cognitiveServices\": {\n", " \"@odata.type\": \"#Microsoft.Azure.Search.CognitiveServicesByKey\",\n", " \"description\": os.environ['COG_SERVICES_NAME'],\n",