@memberjunction/ai-vectors 0.9.9 → 0.9.10
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
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
2
|
+
"name": "@memberjunction/ai-vectors",
|
|
3
|
+
"version": "0.9.10",
|
|
4
|
+
"description": "MemberJunction: AI Vectors Module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "ts-node-dev src/index.ts",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
+
},
|
|
15
|
+
"author": "MemberJunction.com",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@langchain/mistralai": "^0.0.7",
|
|
19
|
+
"@memberjunction/core": "^0.9.177",
|
|
20
|
+
"@memberjunction/global": "^0.9.156",
|
|
21
|
+
"dotenv": "^16.0.3",
|
|
22
|
+
"openai": "^3.2.1"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^20.1.7",
|
|
26
|
+
"ts-node-dev": "^2.0.0",
|
|
27
|
+
"typescript": "^5.3.3"
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type QueryShared = {
|
|
2
|
-
topK: number;
|
|
3
|
-
includeValues?: boolean;
|
|
4
|
-
includeMetadata?: boolean;
|
|
5
|
-
filter?: object;
|
|
6
|
-
};
|
|
7
|
-
export type QueryByRecordId = QueryShared & {
|
|
8
|
-
id: string;
|
|
9
|
-
};
|
|
10
|
-
export type RecordValues = Array<number>;
|
|
11
|
-
export type QueryByVectorValues = QueryShared & {
|
|
12
|
-
vector: RecordValues;
|
|
13
|
-
};
|
|
14
|
-
export type QueryOptions = QueryByRecordId | QueryByVectorValues;
|
|
15
|
-
export type QueryResponse = {
|
|
16
|
-
data: any;
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.types.js","sourceRoot":"","sources":["../../src/generic/query.types.ts"],"names":[],"mappings":""}
|