mycai 1.0.3 → 1.0.4
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/package.json +2 -1
- package/sdk/resonance_engine.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mycai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Sovereign Air-Gapped Cognitive AI & Embedded Intent Engine for Turkish NLP and Industrial Automation",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"express": "^4.19.2",
|
|
50
|
+
"mycai": "^1.0.3",
|
|
50
51
|
"xlsx": "^0.18.5"
|
|
51
52
|
}
|
|
52
53
|
}
|
package/sdk/resonance_engine.js
CHANGED
|
@@ -136,6 +136,13 @@ export class ResonanceEngine {
|
|
|
136
136
|
return this;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
/**
|
|
140
|
+
* Alias for ask() to support standard query terminology
|
|
141
|
+
*/
|
|
142
|
+
async query(prompt, options = {}) {
|
|
143
|
+
return this.ask(prompt, options);
|
|
144
|
+
}
|
|
145
|
+
|
|
139
146
|
/**
|
|
140
147
|
* Universal Question / Answering / Command Dispatcher (< 0.1ms - 3ms)
|
|
141
148
|
* @param {string} prompt - User input query
|