How to use @nlpjs/request - 1 common examples

To help you get started, we’ve selected a few @nlpjs/request examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github axa-group / nlp.js / packages / nlu-luis / src / nlu-luis.js View on Github external
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;



Latest version published 1 year ago

Package Health Score

75 / 100
Full package analysis

Popular @nlpjs/request functions

Similar packages