From 41291c1ee03dda4dd0bda60401ab784e85fe7437 Mon Sep 17 00:00:00 2001 From: AttackOnMorty Date: Mon, 13 May 2024 16:22:28 +1000 Subject: [PATCH 1/4] fix: who is in the {{ CITY }} office --- .../language-understanding/en-us/SSWSophieBot.en-us.lu | 1 + 1 file changed, 1 insertion(+) diff --git a/bots/employee-finder/src/SSW.SophieBot/language-understanding/en-us/SSWSophieBot.en-us.lu b/bots/employee-finder/src/SSW.SophieBot/language-understanding/en-us/SSWSophieBot.en-us.lu index 9a92cbee..83f332a5 100644 --- a/bots/employee-finder/src/SSW.SophieBot/language-understanding/en-us/SSWSophieBot.en-us.lu +++ b/bots/employee-finder/src/SSW.SophieBot/language-understanding/en-us/SSWSophieBot.en-us.lu @@ -316,6 +316,7 @@ # GetPeopleBasedOnLocation - who work[s] in [the] ({@geographyV2}|{@site}) [office][?]^ +- who is in the ({@geographyV2}|{@site}) office? - who works in the China office? - who works in China office? - who works in China? From df1d130124429bb3f8c1a28dc4dd4767f055a750 Mon Sep 17 00:00:00 2001 From: AttackOnMorty Date: Mon, 13 May 2024 16:23:40 +1000 Subject: [PATCH 2/4] fix: enhance response for query - who is in brisbane office today --- .../en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bots/employee-finder/src/SSW.SophieBot/dialogs/GetCurrentEmployeesOnLocationDialog/language-generation/en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg b/bots/employee-finder/src/SSW.SophieBot/dialogs/GetCurrentEmployeesOnLocationDialog/language-generation/en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg index 271b33c8..23b6f832 100644 --- a/bots/employee-finder/src/SSW.SophieBot/dialogs/GetCurrentEmployeesOnLocationDialog/language-generation/en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg +++ b/bots/employee-finder/src/SSW.SophieBot/dialogs/GetCurrentEmployeesOnLocationDialog/language-generation/en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg @@ -42,15 +42,16 @@ - [Debug] - dialog.locationEntity = ${dialog.locationEntity} # SendActivity_xUKqy3_text() -- I couldn't find anyone in the **${dialog.locationEntity}** office at this time. +- I couldn't find anyone in the **${dialog.locationEntity}** office. # SendActivity_xUKqy3() [Activity Text = ${SendActivity_xUKqy3_text()} ] # SendActivity_1H6iXy_text() -- I couldn't find anyone in any of the offices at this time. +- I couldn't find anyone in any of the offices. # SendActivity_1H6iXy() [Activity Text = ${SendActivity_1H6iXy_text()} ] + From c4c558c75a02bbac668b6b908ca29f6c11403164 Mon Sep 17 00:00:00 2001 From: AttackOnMorty Date: Mon, 13 May 2024 16:24:07 +1000 Subject: [PATCH 3/4] feat: show Unknown when device name is empty --- .../SSW.SophieBot/language-generation/en-us/profile.en-us.lg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/employee-finder/src/SSW.SophieBot/language-generation/en-us/profile.en-us.lg b/bots/employee-finder/src/SSW.SophieBot/language-generation/en-us/profile.en-us.lg index 38442eff..d04bf733 100644 --- a/bots/employee-finder/src/SSW.SophieBot/language-generation/en-us/profile.en-us.lg +++ b/bots/employee-finder/src/SSW.SophieBot/language-generation/en-us/profile.en-us.lg @@ -530,7 +530,7 @@ - IF: ${ device != null } - ```(Device: ${device})``` - ELSE: - - + - ```(Device: [Unknown](https://github.com/SSWConsulting/SSW.SophieBot/wiki/Frequently-Asked-Questions#1-why-my-device-name-in-the-profile-card-is-unknown))``` # SkillsInfo() - IF: ${length(turn.intermediateSkills) == 0 && length(turn.advancedSkills) == 0} From 3162e97ddf1120c5c19783cabf479bb67fa09a92 Mon Sep 17 00:00:00 2001 From: AttackOnMorty Date: Mon, 13 May 2024 16:24:28 +1000 Subject: [PATCH 4/4] chore: update lunch port in launchSettings.json --- .../src/SSW.SophieBot/Properties/launchSettings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/employee-finder/src/SSW.SophieBot/Properties/launchSettings.json b/bots/employee-finder/src/SSW.SophieBot/Properties/launchSettings.json index 9bde1adc..0ce8a0af 100644 --- a/bots/employee-finder/src/SSW.SophieBot/Properties/launchSettings.json +++ b/bots/employee-finder/src/SSW.SophieBot/Properties/launchSettings.json @@ -18,7 +18,7 @@ "BotProject": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "http://localhost:3978", + "applicationUrl": "http://localhost:3980", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }