@olane/o-tool-registry 0.6.9 → 0.6.11
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/dist/test/methods.spec.js +0 -18
- package/package.json +6 -6
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { expect } from 'chai';
|
|
2
2
|
import { OAuthTool } from '../src/auth/oAuth.tool.js';
|
|
3
3
|
import { EmbeddingsTool } from '../src/embeddings/embeddings.tool.js';
|
|
4
|
-
import { NERTool } from '../src/nlp/ner.tool.js';
|
|
5
4
|
import { LangchainMemoryVectorStoreTool } from '../src/vector-store/index.js';
|
|
6
|
-
import { IntelligenceTool } from '@olane/o-intelligence';
|
|
7
5
|
function checkMethods(tool, methods) {
|
|
8
6
|
const tools = tool.myTools();
|
|
9
7
|
for (const tool of tools) {
|
|
@@ -27,22 +25,6 @@ describe('registry tool metadata tests', () => {
|
|
|
27
25
|
});
|
|
28
26
|
checkMethods(embeddingsTool, embeddingsTool.methods);
|
|
29
27
|
});
|
|
30
|
-
it('should verify intelligence method metadata is present', async () => {
|
|
31
|
-
const intelligenceTool = new IntelligenceTool({
|
|
32
|
-
description: 'Intelligence tool',
|
|
33
|
-
leader: null,
|
|
34
|
-
parent: null,
|
|
35
|
-
});
|
|
36
|
-
checkMethods(intelligenceTool, intelligenceTool.methods);
|
|
37
|
-
});
|
|
38
|
-
it('should verify nlp method metadata is present', async () => {
|
|
39
|
-
const nlpTool = new NERTool({
|
|
40
|
-
description: 'NLP tool',
|
|
41
|
-
leader: null,
|
|
42
|
-
parent: null,
|
|
43
|
-
});
|
|
44
|
-
checkMethods(nlpTool, nlpTool.methods);
|
|
45
|
-
});
|
|
46
28
|
it('should verify vector-store method metadata is present', async () => {
|
|
47
29
|
const vectorStoreTool = new LangchainMemoryVectorStoreTool({
|
|
48
30
|
description: 'Vector store tool',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-tool-registry",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"typescript": "5.4.5"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@olane/o-config": "^0.6.
|
|
59
|
-
"@olane/o-core": "^0.6.
|
|
58
|
+
"@olane/o-config": "^0.6.10",
|
|
59
|
+
"@olane/o-core": "^0.6.10",
|
|
60
60
|
"@olane/o-intelligence": "^0.6.7",
|
|
61
61
|
"@olane/o-mcp": "^0.6.7",
|
|
62
|
-
"@olane/o-protocol": "^0.6.
|
|
63
|
-
"@olane/o-tool": "^0.6.
|
|
64
|
-
"@olane/o-tools-common": "^0.6.
|
|
62
|
+
"@olane/o-protocol": "^0.6.10",
|
|
63
|
+
"@olane/o-tool": "^0.6.10",
|
|
64
|
+
"@olane/o-tools-common": "^0.6.10"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@huggingface/transformers": "^3.5.2",
|