Skip to content

Commit

Permalink
patch: corrections due to result of PR
Browse files Browse the repository at this point in the history
  • Loading branch information
David Villace Hernandez committed Apr 22, 2020
1 parent d8e0f33 commit 66f50a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ if (NOT_PROD_ENV) console.info('>>>>>>>>>>>>>>>>>>> DynamoDb:', dynamoDB);

const documentClient = new aws.DynamoDB.DocumentClient();

const { NlpManager } = require('node-nlp');
// const { NlpManager } = require('node-nlp');
const { NlpManager } = require('../../../../packages/node-nlp/src');

const DEFAULT_LANGUAGE = 'en';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"version": "1.0.0",
"main": "app.js",
"dependencies": {
"node-nlp": "^4.3.0"
},
"devDependencies": {
"node-nlp": "^4.3.0",
"aws-sdk": "^2.656.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
// const axios = require('axios')
// const url = 'http://checkip.amazonaws.com/';
let response;
Expand Down
3 changes: 2 additions & 1 deletion examples/07-nlpjs-on-aws-lambda/nlpjs-lambda/nlpjs/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

const fs = require('fs');

const { NlpManager } = require('node-nlp');
// const { NlpManager } = require('node-nlp');
const { NlpManager } = require('../../../../packages/node-nlp/src');

const DEFAULT_PHRASE = 'Hi';

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"https-proxy-agent": "^5.0.0",
"jest": "^25.1.0",
"lerna": "^3.20.2",
"prettier": "^2.0.2"
"prettier": "^2.0.2",
"chai": "4.2.0"
},
"jest": {
"verbose": true,
Expand Down

0 comments on commit 66f50a8

Please sign in to comment.