theprogrammablemind 7.3.4-beta.0 → 7.3.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +4 -0
- package/package.json +32 -32
package/client.js
CHANGED
@@ -1205,6 +1205,7 @@ const knowledgeModule = async ({
|
|
1205
1205
|
parser.add_argument('-g', '--greg', { action: 'store_true', help: 'Set the server to be localhost so I can debug stuff' })
|
1206
1206
|
parser.add_argument('-r', '--retrain', { action: 'store_true', help: 'Get the server to retrain the neural nets' })
|
1207
1207
|
parser.add_argument('-q', '--query', { help: 'Run the specified query' })
|
1208
|
+
parser.add_argument('-ip ', '--server', { help: 'Server to run against' })
|
1208
1209
|
parser.add_argument('-qd', '--queryDelete', { help: 'Delete the specified query from the tests file' })
|
1209
1210
|
parser.add_argument('-c', '--clean', { help: 'Remove data from the test files. a === association' })
|
1210
1211
|
parser.add_argument('-od', '--objectDiff', { action: 'store_true', help: 'When showing the objects use a colour diff' })
|
@@ -1259,6 +1260,9 @@ const knowledgeModule = async ({
|
|
1259
1260
|
if (args.greg) {
|
1260
1261
|
config.server('http://localhost:3000', '6804954f-e56d-471f-bbb8-08e3c54d9321')
|
1261
1262
|
}
|
1263
|
+
if (args.server) {
|
1264
|
+
config.server(server)
|
1265
|
+
}
|
1262
1266
|
|
1263
1267
|
if (args.debug) {
|
1264
1268
|
config.config.debug = true
|
package/package.json
CHANGED
@@ -1,31 +1,26 @@
|
|
1
1
|
{
|
2
|
+
"version": "7.3.4-beta.1",
|
2
3
|
"scripts": {
|
3
|
-
"test:watch": "npm run test -- --watch",
|
4
4
|
"to:debug": "node inspect node_modules/.bin/jest --runInBand -t NEO",
|
5
|
-
"lint:fix": "eslint \"**/*.js\" --fix",
|
6
5
|
"test:debug": "node inspect node_modules/.bin/jest --runInBand --config ./jest.config.json",
|
7
|
-
"lint": "eslint \"**/*.js\"",
|
8
6
|
"to": "node node_modules/.bin/jest --runInBand -t NEO",
|
7
|
+
"lint:fix": "eslint \"**/*.js\" --fix",
|
8
|
+
"tod": "node inspect node_modules/.bin/jest --runInBand -t NEO",
|
9
|
+
"test:watch": "npm run test -- --watch",
|
9
10
|
"test": "jest --config ./jest.config.json",
|
10
|
-
"
|
11
|
+
"lint": "eslint \"**/*.js\""
|
11
12
|
},
|
12
|
-
"author": "dev@thinktelligence.com",
|
13
13
|
"license": "ISC",
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"json-diff": "^1.0.3",
|
24
|
-
"fs": "0.0.1-security",
|
25
|
-
"scriptjs": "^2.5.9",
|
26
|
-
"base-64": "^1.0.0"
|
14
|
+
"devDependencies": {
|
15
|
+
"eslint": "^7.31.0",
|
16
|
+
"eslint-config-standard": "^16.0.3",
|
17
|
+
"eslint-plugin-node": "^11.1.0",
|
18
|
+
"eslint-plugin-import": "^2.23.4",
|
19
|
+
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
20
|
+
"jest": "^26.6.3",
|
21
|
+
"eslint-plugin-promise": "^5.1.0",
|
22
|
+
"@typescript-eslint/parser": "^4.28.4"
|
27
23
|
},
|
28
|
-
"version": "7.3.4-beta.0",
|
29
24
|
"keywords": [
|
30
25
|
"NLP",
|
31
26
|
"NLU",
|
@@ -35,6 +30,23 @@
|
|
35
30
|
"natural language understanding",
|
36
31
|
"chatbot"
|
37
32
|
],
|
33
|
+
"dependencies": {
|
34
|
+
"fs": "0.0.1-security",
|
35
|
+
"scriptjs": "^2.5.9",
|
36
|
+
"base-64": "^1.0.0",
|
37
|
+
"lodash": "^4.17.20",
|
38
|
+
"sort-json": "^2.0.0",
|
39
|
+
"deep-equal": "^2.0.4",
|
40
|
+
"underscore": "^1.13.1",
|
41
|
+
"json-diff": "^1.0.3",
|
42
|
+
"uuid": "^8.3.2",
|
43
|
+
"json-stable-stringify": "^1.0.1",
|
44
|
+
"node-fetch": "^2.6.1",
|
45
|
+
"readline": "^1.3.0"
|
46
|
+
},
|
47
|
+
"author": "dev@thinktelligence.com",
|
48
|
+
"main": "index.js",
|
49
|
+
"name": "theprogrammablemind",
|
38
50
|
"files": [
|
39
51
|
"client.js",
|
40
52
|
"index.js",
|
@@ -49,17 +61,5 @@
|
|
49
61
|
"src/digraph.js",
|
50
62
|
"src/generators.js",
|
51
63
|
"src/semantics.js"
|
52
|
-
]
|
53
|
-
"devDependencies": {
|
54
|
-
"@typescript-eslint/parser": "^4.28.4",
|
55
|
-
"jest": "^26.6.3",
|
56
|
-
"eslint": "^7.31.0",
|
57
|
-
"eslint-plugin-node": "^11.1.0",
|
58
|
-
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
59
|
-
"eslint-plugin-promise": "^5.1.0",
|
60
|
-
"eslint-config-standard": "^16.0.3",
|
61
|
-
"eslint-plugin-import": "^2.23.4"
|
62
|
-
},
|
63
|
-
"name": "theprogrammablemind",
|
64
|
-
"main": "index.js"
|
64
|
+
]
|
65
65
|
}
|