@memberjunction/ai-vectors 4.3.1 → 5.0.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseEntity, Metadata, CompositeKey, RunView, UserInfo } from "@memberjunction/core";
|
|
2
|
-
import {
|
|
2
|
+
import { MJVectorDatabaseEntity } from "@memberjunction/core-entities";
|
|
3
3
|
import { PageRecordsParams } from "../generic/VectorCore.types.js";
|
|
4
4
|
import { AIModelEntityExtended } from "@memberjunction/ai-core-plus";
|
|
5
5
|
export declare class VectorBase {
|
|
@@ -15,7 +15,7 @@ export declare class VectorBase {
|
|
|
15
15
|
protected PageRecordsByEntityID<T>(params: PageRecordsParams): Promise<T[]>;
|
|
16
16
|
protected BuildExtraFilter(CompositeKey: CompositeKey[]): string;
|
|
17
17
|
protected GetAIModel(id?: string): AIModelEntityExtended;
|
|
18
|
-
protected GetVectorDatabase(id?: string):
|
|
18
|
+
protected GetVectorDatabase(id?: string): MJVectorDatabaseEntity;
|
|
19
19
|
protected RunViewForSingleValue<T extends BaseEntity>(entityName: string, extraFilter: string): Promise<T | null>;
|
|
20
20
|
/**
|
|
21
21
|
* Saving an Entity in any vector related package needs the CurrentUser property to be set on the entity
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorBase.d.ts","sourceRoot":"","sources":["../../src/models/VectorBase.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAuC,MAAM,sBAAsB,CAAC;AAClI,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"VectorBase.d.ts","sourceRoot":"","sources":["../../src/models/VectorBase.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAuC,MAAM,sBAAsB,CAAC;AAClI,OAAO,EAAE,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MemberJunction: AI Vectors Module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"author": "MemberJunction.com",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@memberjunction/core": "
|
|
21
|
-
"@memberjunction/global": "
|
|
22
|
-
"@memberjunction/core-entities": "
|
|
23
|
-
"@memberjunction/aiengine": "
|
|
24
|
-
"@memberjunction/ai": "
|
|
25
|
-
"@memberjunction/ai-core-plus": "
|
|
26
|
-
"@memberjunction/ai-vectordb": "
|
|
20
|
+
"@memberjunction/core": "5.0.0",
|
|
21
|
+
"@memberjunction/global": "5.0.0",
|
|
22
|
+
"@memberjunction/core-entities": "5.0.0",
|
|
23
|
+
"@memberjunction/aiengine": "5.0.0",
|
|
24
|
+
"@memberjunction/ai": "5.0.0",
|
|
25
|
+
"@memberjunction/ai-core-plus": "5.0.0",
|
|
26
|
+
"@memberjunction/ai-vectordb": "5.0.0",
|
|
27
27
|
"dotenv": "^17.2.4",
|
|
28
28
|
"openai": "^6.18.0"
|
|
29
29
|
},
|