From 40f3d19b92381699f348f354d3f4d0dc2df88bf0 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 30 Sep 2021 21:04:50 -0400 Subject: [PATCH] ignore sample chat (#21000) --- scripts/devops_tasks/test_run_samples.py | 3 +++ .../samples/sample_query_text.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/devops_tasks/test_run_samples.py b/scripts/devops_tasks/test_run_samples.py index aeb14e8cdb35..cc9a908fa543 100644 --- a/scripts/devops_tasks/test_run_samples.py +++ b/scripts/devops_tasks/test_run_samples.py @@ -129,6 +129,9 @@ "azure-ai-formrecognizer": [ "sample_manage_custom_models.py", "sample_manage_custom_models_async.py", + ], + "azure-ai-language-questionanswering": [ + "sample_chat.py" ] } diff --git a/sdk/cognitivelanguage/azure-ai-language-questionanswering/samples/sample_query_text.py b/sdk/cognitivelanguage/azure-ai-language-questionanswering/samples/sample_query_text.py index c394cf640c91..47582b2d106a 100644 --- a/sdk/cognitivelanguage/azure-ai-language-questionanswering/samples/sample_query_text.py +++ b/sdk/cognitivelanguage/azure-ai-language-questionanswering/samples/sample_query_text.py @@ -36,7 +36,7 @@ def sample_query_text(): records=[ qna.TextRecord( text="Power and charging. It takes two to four hours to charge the Surface Pro 4 battery fully from an empty state. " + - "It can take longer if you’re using your Surface for power-intensive activities like gaming or video streaming while you’re charging it.", + "It can take longer if you're using your Surface for power-intensive activities like gaming or video streaming while you're charging it.", id="doc1" ), qna.TextRecord(