Skip to content

Commit 7138f19

Browse files
authored
fix tests after deplying ci projects and re-record (Azure#24058)
1 parent 5fe5b74 commit 7138f19

16 files changed

+91
-93
lines changed

sdk/cognitivelanguage/azure-ai-language-conversations/tests/async/recordings/test_conversation_app_async.test_conversation_app.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
Accept:
99
- application/json
1010
Content-Length:
11-
- '260'
11+
- '269'
1212
Content-Type:
1313
- application/json
1414
User-Agent:
@@ -18,20 +18,20 @@ interactions:
1818
response:
1919
body:
2020
string: '{"kind":"CustomConversationResult","results":{"query":"Send an email
21-
to Carol about the tomorrow''s demo","prediction":{"topIntent":"Read","projectKind":"conversation","intents":[{"category":"Read","confidenceScore":0.53281987},{"category":"Send","confidenceScore":0.2706726},{"category":"Setup","confidenceScore":0.12964208},{"category":"Find","confidenceScore":0.056024347},{"category":"Set","confidenceScore":0.006720359},{"category":"Call","confidenceScore":0.0032539133},{"category":"None","confidenceScore":0.0005657527},{"category":"Open","confidenceScore":0.00024706984},{"category":"Play","confidenceScore":5.4002798E-05}],"entities":[{"category":"Contact","text":"Carol","offset":17,"length":5,"confidenceScore":1,"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"person.name"}]},{"category":"MeetingDate","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-14","value":"2022-04-14"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]},{"category":"Contact","text":"demo","offset":44,"length":4,"confidenceScore":1}]}}}'
21+
to Carol about the tomorrow''s demo","prediction":{"topIntent":"Setup","projectKind":"conversation","intents":[{"category":"Setup","confidenceScore":0.6254007},{"category":"Play","confidenceScore":0.20336723},{"category":"Send","confidenceScore":0.13618475},{"category":"Read","confidenceScore":0.01904324},{"category":"Call","confidenceScore":0.00859508},{"category":"Set","confidenceScore":0.0033787973},{"category":"Find","confidenceScore":0.0028723886},{"category":"Open","confidenceScore":0.0010411387},{"category":"None","confidenceScore":0.00011662581}],"entities":[{"category":"Contact","text":"Carol","offset":17,"length":5,"confidenceScore":1,"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"person.name"}]},{"category":"MeetingDate","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-17","value":"2022-04-17"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]}]}}}'
2222
headers:
23-
apim-request-id: 364ebae2-c6ec-4463-83e6-7431f1dfff3c
23+
apim-request-id: 280d30d6-d28f-4199-949d-d3b492f2d730
2424
cache-control: no-store, proxy-revalidate, no-cache, max-age=0, private
2525
content-type: application/json; charset=utf-8
26-
date: Wed, 13 Apr 2022 11:52:28 GMT
26+
date: Sat, 16 Apr 2022 00:58:17 GMT
2727
pragma: no-cache
28-
request-id: 364ebae2-c6ec-4463-83e6-7431f1dfff3c
28+
request-id: 280d30d6-d28f-4199-949d-d3b492f2d730
2929
strict-transport-security: max-age=31536000; includeSubDomains; preload
3030
transfer-encoding: chunked
3131
x-content-type-options: nosniff
32-
x-envoy-upstream-service-time: '337'
32+
x-envoy-upstream-service-time: '118'
3333
status:
3434
code: 200
3535
message: OK
36-
url: https://westeurope.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
36+
url: https://languagesdktest.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-03-01-preview
3737
version: 1

sdk/cognitivelanguage/azure-ai-language-conversations/tests/async/recordings/test_conversation_app_async.test_conversation_app_with_dict_parms.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
Accept:
99
- application/json
1010
Content-Length:
11-
- '295'
11+
- '304'
1212
Content-Type:
1313
- application/json
1414
User-Agent:
@@ -18,20 +18,20 @@ interactions:
1818
response:
1919
body:
2020
string: '{"kind":"CustomConversationResult","results":{"query":"Send an email
21-
to Carol about the tomorrow''s demo","prediction":{"topIntent":"Read","projectKind":"conversation","intents":[{"category":"Read","confidenceScore":0.53281987},{"category":"Send","confidenceScore":0.2706726},{"category":"Setup","confidenceScore":0.12964208},{"category":"Find","confidenceScore":0.056024347},{"category":"Set","confidenceScore":0.006720359},{"category":"Call","confidenceScore":0.0032539133},{"category":"None","confidenceScore":0.0005657527},{"category":"Open","confidenceScore":0.00024706984},{"category":"Play","confidenceScore":5.4002798E-05}],"entities":[{"category":"Contact","text":"Carol","offset":17,"length":5,"confidenceScore":1,"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"person.name"}]},{"category":"MeetingDate","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-14","value":"2022-04-14"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]},{"category":"Contact","text":"demo","offset":44,"length":4,"confidenceScore":1}]}}}'
21+
to Carol about the tomorrow''s demo","prediction":{"topIntent":"Setup","projectKind":"conversation","intents":[{"category":"Setup","confidenceScore":0.6254007},{"category":"Play","confidenceScore":0.20336723},{"category":"Send","confidenceScore":0.13618475},{"category":"Read","confidenceScore":0.01904324},{"category":"Call","confidenceScore":0.00859508},{"category":"Set","confidenceScore":0.0033787973},{"category":"Find","confidenceScore":0.0028723886},{"category":"Open","confidenceScore":0.0010411387},{"category":"None","confidenceScore":0.00011662581}],"entities":[{"category":"Contact","text":"Carol","offset":17,"length":5,"confidenceScore":1,"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"person.name"}]},{"category":"MeetingDate","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-17","value":"2022-04-17"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]}]}}}'
2222
headers:
23-
apim-request-id: 8cf010a1-3e41-44f7-bbbe-ba8ca04fb17f
23+
apim-request-id: be2d9a4d-9095-486d-b4d2-c4510a4b647c
2424
cache-control: no-store, proxy-revalidate, no-cache, max-age=0, private
2525
content-type: application/json; charset=utf-8
26-
date: Wed, 13 Apr 2022 11:52:28 GMT
26+
date: Sat, 16 Apr 2022 00:58:17 GMT
2727
pragma: no-cache
28-
request-id: 8cf010a1-3e41-44f7-bbbe-ba8ca04fb17f
28+
request-id: be2d9a4d-9095-486d-b4d2-c4510a4b647c
2929
strict-transport-security: max-age=31536000; includeSubDomains; preload
3030
transfer-encoding: chunked
3131
x-content-type-options: nosniff
32-
x-envoy-upstream-service-time: '424'
32+
x-envoy-upstream-service-time: '87'
3333
status:
3434
code: 200
3535
message: OK
36-
url: https://westeurope.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
36+
url: https://languagesdktest.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-03-01-preview
3737
version: 1

sdk/cognitivelanguage/azure-ai-language-conversations/tests/async/recordings/test_orchestration_app_conv_response_async.test_orchestration_app_conv_response.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
Accept:
99
- application/json
1010
Content-Length:
11-
- '271'
11+
- '270'
1212
Content-Type:
1313
- application/json
1414
User-Agent:
@@ -18,22 +18,21 @@ interactions:
1818
response:
1919
body:
2020
string: '{"kind":"CustomConversationResult","results":{"query":"Send an email
21-
to Carol about the tomorrow''s demo","prediction":{"topIntent":"EmailIntent","projectKind":"workflow","intents":{"EmailIntent":{"confidenceScore":0.9318673,"targetKind":"conversation","result":{"query":"Send
22-
an email to Carol about the tomorrow''s demo","prediction":{"intents":[{"category":"SendEmail","confidenceScore":0.99994856},{"category":"Forward","confidenceScore":3.8603193E-05},{"category":"AddFlag","confidenceScore":3.830757E-06},{"category":"SearchMessages","confidenceScore":2.8891448E-06},{"category":"Confirm","confidenceScore":2.1230276E-06},{"category":"Reply","confidenceScore":1.506443E-06},{"category":"AddMore","confidenceScore":9.303157E-07},{"category":"CheckMessages","confidenceScore":8.9035467E-07},{"category":"QueryLastText","confidenceScore":2.485766E-07},{"category":"Cancel","confidenceScore":1.8692687E-07},{"category":"ShowNext","confidenceScore":7.9404124E-08},{"category":"ReadAloud","confidenceScore":7.020071E-08},{"category":"None","confidenceScore":5.6591706E-08},{"category":"Delete","confidenceScore":2.9716455E-08},{"category":"ShowPrevious","confidenceScore":1.6835317E-08}],"entities":[{"category":"ContactName","text":"Carol","offset":17,"length":5,"confidenceScore":1,"resolutions":[],"extraInformation":[]},{"category":"Date","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-14","value":"2022-04-14"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]},{"category":"StartTime","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-14","value":"2022-04-14"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]},{"category":"EmailSubject","text":"tomorrow''s
23-
demo","offset":33,"length":15,"confidenceScore":1,"resolutions":[],"extraInformation":[]}],"topIntent":"SendEmail","projectKind":"conversation"}}},"RestaurantIntent":{"confidenceScore":0.6352559,"targetKind":"luis"},"ChitChat-QnA":{"confidenceScore":0.5937791,"targetKind":"question_answering"},"None":{"confidenceScore":0.15089184,"targetKind":"non_linked"}}}}}'
21+
to Carol about the tomorrow''s demo","prediction":{"topIntent":"EmailIntent","projectKind":"workflow","intents":{"EmailIntent":{"confidenceScore":0.78807205,"targetKind":"conversation","result":{"query":"Send
22+
an email to Carol about the tomorrow''s demo","prediction":{"intents":[{"category":"Setup","confidenceScore":0.6254007},{"category":"Play","confidenceScore":0.20336723},{"category":"Send","confidenceScore":0.13618475},{"category":"Read","confidenceScore":0.01904324},{"category":"Call","confidenceScore":0.00859508},{"category":"Set","confidenceScore":0.0033787973},{"category":"Find","confidenceScore":0.0028723886},{"category":"Open","confidenceScore":0.0010411387},{"category":"None","confidenceScore":0.00011662581}],"entities":[{"category":"Contact","text":"Carol","offset":17,"length":5,"confidenceScore":1,"resolutions":[],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"person.name"}]},{"category":"MeetingDate","text":"tomorrow","offset":33,"length":8,"confidenceScore":1,"resolutions":[{"resolutionKind":"DateTimeResolution","dateTimeSubKind":"Date","timex":"2022-04-17","value":"2022-04-17"}],"extraInformation":[{"extraInformationKind":"EntitySubtype","value":"datetime.date"}]}],"topIntent":"Setup","projectKind":"conversation"}}},"RestaurantIntent":{"confidenceScore":0.63531023,"targetKind":"luis"},"ChitChat-QnA":{"confidenceScore":0.5959919,"targetKind":"question_answering"},"None":{"confidenceScore":0.15094617,"targetKind":"non_linked"}}}}}'
2423
headers:
25-
apim-request-id: f2cde4ca-1635-4315-9f04-5d5d79bb022a
24+
apim-request-id: 83ec00c0-8b5c-4f2c-b576-c9aa4fa465bb
2625
cache-control: no-store, proxy-revalidate, no-cache, max-age=0, private
2726
content-type: application/json; charset=utf-8
28-
date: Wed, 13 Apr 2022 11:52:28 GMT
27+
date: Sat, 16 Apr 2022 00:58:31 GMT
2928
pragma: no-cache
30-
request-id: f2cde4ca-1635-4315-9f04-5d5d79bb022a
29+
request-id: 83ec00c0-8b5c-4f2c-b576-c9aa4fa465bb
3130
strict-transport-security: max-age=31536000; includeSubDomains; preload
3231
transfer-encoding: chunked
3332
x-content-type-options: nosniff
34-
x-envoy-upstream-service-time: '902'
33+
x-envoy-upstream-service-time: '139'
3534
status:
3635
code: 200
3736
message: OK
38-
url: https://westeurope.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
37+
url: https://languagesdktest.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-03-01-preview
3938
version: 1

sdk/cognitivelanguage/azure-ai-language-conversations/tests/async/recordings/test_orchestration_app_luis_response_async.test_orchestration_app_luis_response.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
Accept:
99
- application/json
1010
Content-Length:
11-
- '270'
11+
- '269'
1212
Content-Type:
1313
- application/json
1414
User-Agent:
@@ -18,23 +18,23 @@ interactions:
1818
response:
1919
body:
2020
string: '{"kind":"CustomConversationResult","results":{"query":"Reserve a table
21-
for 2 at the Italian restaurant","prediction":{"topIntent":"RestaurantIntent","projectKind":"workflow","intents":{"RestaurantIntent":{"confidenceScore":0.938881,"targetKind":"luis","result":{"query":"Reserve
22-
a table for 2 at the Italian restaurant","prediction":{"topIntent":"RestaurantReservation.Reserve","intents":{"RestaurantReservation.Reserve":{"score":0.99826175},"RestaurantReservation.Confirm":{"score":0.071711905},"RestaurantReservation.Reject":{"score":0.036779575},"RestaurantReservation.FindReservationEntry":{"score":0.009185963},"RestaurantReservation.DeleteReservation":{"score":0.0070448318},"RestaurantReservation.FindReservationWhen":{"score":0.0047224266},"RestaurantReservation.FindReservationWhere":{"score":0.0027942427},"None":{"score":0.00071293896},"RestaurantReservation.ChangeReservation":{"score":0.00027522864}},"entities":{"RestaurantReservation.NumberPeople":["2"],"RestaurantReservation.Cuisine":["Italian"],"$instance":{"RestaurantReservation.NumberPeople":[{"type":"RestaurantReservation.NumberPeople","text":"2","startIndex":20,"length":1,"score":0.9888221,"modelTypeId":1,"modelType":"Entity
23-
Extractor","recognitionSources":["model"]}],"RestaurantReservation.Cuisine":[{"type":"RestaurantReservation.Cuisine","text":"Italian","startIndex":29,"length":7,"score":0.9961355,"modelTypeId":1,"modelType":"Entity
24-
Extractor","recognitionSources":["model"]}]}}}}},"ChitChat-QnA":{"confidenceScore":0.6247971,"targetKind":"question_answering"},"EmailIntent":{"confidenceScore":0.45969298,"targetKind":"conversation"},"None":{"confidenceScore":0.24402595,"targetKind":"non_linked"}}}}}'
21+
for 2 at the Italian restaurant","prediction":{"topIntent":"RestaurantIntent","projectKind":"workflow","intents":{"RestaurantIntent":{"confidenceScore":0.941004,"targetKind":"luis","result":{"query":"Reserve
22+
a table for 2 at the Italian restaurant","prediction":{"topIntent":"Reserve","intents":{"Reserve":{"score":0.9980588},"Reject":{"score":0.0063590785},"FindReservationEntry":{"score":0.005097165},"Confirm":{"score":0.0044939914},"DeleteReservation":{"score":0.0022345681},"FindReservationWhen":{"score":0.0016679561},"FindReservationWhere":{"score":0.00022148465},"None":{"score":0.00016065614},"ChangeReservation":{"score":9.267964E-05}},"entities":{"NumberPeople":["2"],"Cuisine":["Italian"],"$instance":{"NumberPeople":[{"type":"NumberPeople","text":"2","startIndex":20,"length":1,"score":0.99470425,"modelTypeId":1,"modelType":"Entity
23+
Extractor","recognitionSources":["model"]}],"Cuisine":[{"type":"Cuisine","text":"Italian","startIndex":29,"length":7,"score":0.9961355,"modelTypeId":1,"modelType":"Entity
24+
Extractor","recognitionSources":["model"]}]}}}}},"ChitChat-QnA":{"confidenceScore":0.60480994,"targetKind":"question_answering"},"EmailIntent":{"confidenceScore":0.26566243,"targetKind":"conversation"},"None":{"confidenceScore":0.24408028,"targetKind":"non_linked"}}}}}'
2525
headers:
26-
apim-request-id: 1d021e29-fe69-4103-8e0c-d93190abddd2
26+
apim-request-id: d3c16073-975d-441e-9902-75ce91bc7f3a
2727
cache-control: no-store, proxy-revalidate, no-cache, max-age=0, private
2828
content-type: application/json; charset=utf-8
29-
date: Wed, 13 Apr 2022 11:52:28 GMT
29+
date: Sat, 16 Apr 2022 00:58:32 GMT
3030
pragma: no-cache
31-
request-id: 1d021e29-fe69-4103-8e0c-d93190abddd2
31+
request-id: d3c16073-975d-441e-9902-75ce91bc7f3a
3232
strict-transport-security: max-age=31536000; includeSubDomains; preload
3333
transfer-encoding: chunked
3434
x-content-type-options: nosniff
35-
x-envoy-upstream-service-time: '400'
35+
x-envoy-upstream-service-time: '256'
3636
status:
3737
code: 200
3838
message: OK
39-
url: https://westeurope.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
39+
url: https://languagesdktest.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-03-01-preview
4040
version: 1

sdk/cognitivelanguage/azure-ai-language-conversations/tests/async/recordings/test_orchestration_app_qna_response_async.test_orchestration_app_qna_response.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interactions:
77
Accept:
88
- application/json
99
Content-Length:
10-
- '235'
10+
- '234'
1111
Content-Type:
1212
- application/json
1313
User-Agent:
@@ -16,7 +16,7 @@ interactions:
1616
uri: https://test-resource.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
1717
response:
1818
body:
19-
string: '{"kind":"CustomConversationResult","results":{"query":"How are you?","prediction":{"topIntent":"ChitChat-QnA","projectKind":"workflow","intents":{"ChitChat-QnA":{"confidenceScore":0.99826396,"targetKind":"question_answering","result":{"answers":[{"questions":["How''d
19+
string: '{"kind":"CustomConversationResult","results":{"query":"How are you?","prediction":{"topIntent":"ChitChat-QnA","projectKind":"workflow","intents":{"ChitChat-QnA":{"confidenceScore":0.9983183,"targetKind":"question_answering","result":{"answers":[{"questions":["How''d
2020
you sleep last night?","Are you doing good?","Are you feeling well?","How
2121
are you doing?","How is the day treating you?","Are you feeling OK?","How
2222
are you?","How''s it hangin?","How''s tricks?","Are you doing OK?","Hey, how
@@ -26,20 +26,20 @@ interactions:
2626
how are you doing?","How''s the day treating you?","How''s life?","How''s
2727
life treating you?","How are you today?","Yo, how are you?","How you doing?","How
2828
you doing bot?","How ya doing?","How is the day treating ya?","How''s it hanging?"],"answer":"I''m
29-
doing great, thanks for asking!","confidenceScore":1.0,"id":72,"source":"qna_chitchat_friendly.tsv","metadata":{"editorial":"chitchat"},"dialog":{"isContextOnly":false,"prompts":[]}}]}},"EmailIntent":{"confidenceScore":0.7892474,"targetKind":"conversation"},"RestaurantIntent":{"confidenceScore":0.53074795,"targetKind":"luis"},"None":{"confidenceScore":0.16826314,"targetKind":"non_linked"}}}}}'
29+
doing great, thanks for asking!","confidenceScore":1.0,"id":72,"source":"qna_chitchat_friendly.tsv","metadata":{"editorial":"chitchat"},"dialog":{"isContextOnly":false,"prompts":[]}}]}},"RestaurantIntent":{"confidenceScore":0.5251951,"targetKind":"luis"},"EmailIntent":{"confidenceScore":0.20227265,"targetKind":"conversation"},"None":{"confidenceScore":0.16831747,"targetKind":"non_linked"}}}}}'
3030
headers:
31-
apim-request-id: aa146e5a-c086-44e9-8970-3bab225603ee
31+
apim-request-id: fef6c564-bcd3-47d3-9c41-2554aef9ebf9
3232
cache-control: no-store, proxy-revalidate, no-cache, max-age=0, private
3333
content-type: application/json; charset=utf-8
34-
date: Wed, 13 Apr 2022 11:52:29 GMT
34+
date: Sat, 16 Apr 2022 00:58:33 GMT
3535
pragma: no-cache
36-
request-id: aa146e5a-c086-44e9-8970-3bab225603ee
36+
request-id: fef6c564-bcd3-47d3-9c41-2554aef9ebf9
3737
strict-transport-security: max-age=31536000; includeSubDomains; preload
3838
transfer-encoding: chunked
3939
x-content-type-options: nosniff
40-
x-envoy-upstream-service-time: '697'
40+
x-envoy-upstream-service-time: '706'
4141
status:
4242
code: 200
4343
message: OK
44-
url: https://westeurope.api.cognitive.microsoft.com/language/:analyze-conversations?api-version=2022-03-01-preview
44+
url: https://languagesdktest.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-03-01-preview
4545
version: 1

0 commit comments

Comments
 (0)