From 0778ea6e14e41addd38db8622111995eca049cc2 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 7 Dec 2020 15:23:23 +0000 Subject: [PATCH 1/2] chore(release): 2.0.68 [skip ci] ## [2.0.68](https://github.com/pragmatismo-io/BotServer/compare/2.0.67...2.0.68) (2020-12-07) ### Bug Fixes * **customer-satisfaction.gbapp:** Fix rate and suggestion text store. ([55bb46d](https://github.com/pragmatismo-io/BotServer/commit/55bb46d8823d4640e297177634252e6dc06e9a28)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76b1c1db..9ff3b068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.0.68](https://github.com/pragmatismo-io/BotServer/compare/2.0.67...2.0.68) (2020-12-07) + + +### Bug Fixes + +* **customer-satisfaction.gbapp:** Fix rate and suggestion text store. ([55bb46d](https://github.com/pragmatismo-io/BotServer/commit/55bb46d8823d4640e297177634252e6dc06e9a28)) + ## [2.0.67](https://github.com/pragmatismo-io/BotServer/compare/2.0.66...2.0.67) (2020-12-07) diff --git a/package.json b/package.json index da74c776..79a4a506 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botserver", - "version": "2.0.67", + "version": "2.0.68", "description": "General Bot Community Edition open-core server.", "main": "./boot.js", "bugs": "https://github.com/pragmatismo-io/BotServer/issues", From 88630e6b7e1904995ba7d3346d6f9f3cdeba2f55 Mon Sep 17 00:00:00 2001 From: PH Nascimento <42078703+PH-Nascimento@users.noreply.github.com> Date: Mon, 7 Dec 2020 18:25:00 -0300 Subject: [PATCH 2/2] Update GBConversationalService.ts --- packages/core.gbapp/services/GBConversationalService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core.gbapp/services/GBConversationalService.ts b/packages/core.gbapp/services/GBConversationalService.ts index 533bc7a0..b695cef8 100644 --- a/packages/core.gbapp/services/GBConversationalService.ts +++ b/packages/core.gbapp/services/GBConversationalService.ts @@ -580,7 +580,9 @@ export class GBConversationalService { } text = text.toLowerCase(); + text = text.replace('who´s', 'who is'); text = text.replace('who\'s', 'who is'); + text = text.replace('what´s', 'what is'); text = text.replace('what\'s', 'what is'); text = text.replace('?', ' '); text = text.replace('!', ' ');