feat(core.gbapp): Multi-turn dialog fixed in BASIC processing.

This commit is contained in:
Rodrigo Rodriguez 2019-08-26 09:37:03 -03:00
parent 529a2858f3
commit 63ba4be81e
3 changed files with 6 additions and 3 deletions

1
package-lock.json generated
View file

@ -2658,7 +2658,6 @@
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
"requires": {
"encoding": "^0.1.11",
"is-stream": "^1.0.1"
}
}

View file

@ -1,10 +1,10 @@
{
"name": "botlib",
"version": "1.2.2",
"version": "1.2.3",
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
"main": "dist/index.js",
"types": "dist/index",
"homepage": "http://www.generalbot.com",
"homepage": "http://www.generalbots.ai",
"contributors": [
"Rodrigo Rodriguez <me@rodrigorodriguez.com>",
"Jorge Ramos <jramos@pobox.com>"

View file

@ -37,6 +37,10 @@ import { GBDialogStep } from "./GBDialogStep";
export interface IGBConversationalService {
sendEvent(step: GBDialogStep, name: string, value: Object);
sendEvent(step: GBDialogStep, name: string, value: Object);
sendFile(min: GBMinInstance, step: GBDialogStep, url: string);
sendAudio(min: GBMinInstance, step: GBDialogStep, url: string);
sendSms(min: GBMinInstance, mobile: string, text: string);
routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean>;
getCurrentLanguage(step: GBDialogStep);
}