Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async innerProcess(srcInput) {
const input = srcInput;
const text =
this.settings.useStemmer && input.tokens
? Object.keys(input.tokens).join(' ')
: input.text || input.utterance;
input.nluAnswer = await request(`${this.settings.luisUrl}${text}`);
return input;
}