Open jrglg opened 2 years ago
Jovo ìnput object doesn't have nlu property when using Lexv2 plugin, but it does when using Nlp.js plugin. Also, the tsame Lex plugin is working in Jovo Debugger.
ìnput
nlu
So, no intent is present and UNHANLDED is always matched.
Lexv2 Plugin:
export const lexNluPlugin = new LexSlu({ bot: { id: 'X', aliasId: 'X', }, locale: 'es_ES', region: 'eu-west-1', credentials: { accessKeyId: 'X', secretAccessKey: 'X+LKgu', }, fallbackLocale: 'es_ES', asr: true, nlu: true });
Faceboook platform plugin (missing nlu in input):
input
new FacebookMessengerPlatform({ pageAccessToken: 'xxxxx', verifyToken: 'xxxxx', plugins: [lexNluPlugin], session: { expiresAfterSeconds: 5, }, enabled: true, skipTests: true, }),
Jovo Debugger plugin (nlu is present in input):
new JovoDebugger({ skipTests: true, nlu: lexNluPlugin, webhookUrl: 'https://webhook.jovo.cloud', debuggerConfigPath: './jovo.debugger.js', modelsPath: './models', enabled: true, ignoredProperties: ['$app', '$handleRequest', '$platform', '$mongoDb'], }),
Hi @jrglg,
Quick question for debugging: Does it work if you set asr: false in the LexSlu config?
asr: false
LexSlu
Hi @jankoenig,
no, same result.
This doesn't help neither
input: { supportedTypes: ['TEXT'] },
I'm submitting a...
Current Behavior
Jovo
ìnput
object doesn't havenlu
property when using Lexv2 plugin, but it does when using Nlp.js plugin. Also, the tsame Lex plugin is working in Jovo Debugger.So, no intent is present and UNHANLDED is always matched.
Lexv2 Plugin:
Faceboook platform plugin (missing
nlu
ininput
):Jovo Debugger plugin (
nlu
is present ininput
):Your Environment