ekms 7.12.7-beta.0 → 7.12.8-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,32 +0,0 @@
1
- const { Config, knowledgeModule, where, Digraph } = require('./runtime').theprogrammablemind
2
- const { defaultContextCheck } = require('./helpers')
3
- const base_km = require('./hierarchy')
4
- const countable = require('./countable')
5
- const comparable = require('./comparable')
6
- const tests = require('./mathTemplate.test.json')
7
- const instance = require('./mathTemplate.instance.json')
8
-
9
- const template = {
10
- queries: [
11
- "mathematical modifies operator",
12
- "* + / and - are mathematical operators",
13
- ]
14
- }
15
-
16
- const createConfig = () => {
17
- return new Config({ name: 'mathTemplate' }, module).add(base_km(), countable(), comparable())
18
- }
19
-
20
- knowledgeModule({
21
- module,
22
- description: 'Template for math',
23
- createConfig,
24
- template: { template, instance },
25
- test: {
26
- name: './mathTemplate.test.json',
27
- contents: tests,
28
- checks: {
29
- context: defaultContextCheck,
30
- },
31
- },
32
- })