fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 4b20878562 - Show all commits

View file

@ -104,7 +104,7 @@ export class GBConversationalService implements IGBConversationalService {
nlp = await model.recognize(step.context); nlp = await model.recognize(step.context);
} catch (error) { } catch (error) {
if (error.statusCode === 404) { if (error.statusCode === 404) {
logger.warn('NLP application still not publish and there are no other options for answering.'); logger.warn('NLP application still not publish and there are no other options for answering, please associate the key on NLP portal.');
return Promise.resolve(false); return Promise.resolve(false);
} else { } else {