@memberjunction/ai-vector-sync 2.2.0 → 2.2.1
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/index.d.ts +55 -3
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1062,6 +1062,8 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1062
1062
|
APIName: ZodOptional<ZodNullable<ZodString>>;
|
|
1063
1063
|
__mj_CreatedAt: ZodDate;
|
|
1064
1064
|
__mj_UpdatedAt: ZodDate;
|
|
1065
|
+
SpeedRank: ZodOptional<ZodNullable<ZodNumber>>;
|
|
1066
|
+
CostRank: ZodOptional<ZodNullable<ZodNumber>>;
|
|
1065
1067
|
AIModelType: ZodString;
|
|
1066
1068
|
}, "strip", ZodTypeAny, {
|
|
1067
1069
|
ID?: string;
|
|
@@ -1076,6 +1078,8 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1076
1078
|
DriverClass?: string;
|
|
1077
1079
|
DriverImportPath?: string;
|
|
1078
1080
|
APIName?: string;
|
|
1081
|
+
SpeedRank?: number;
|
|
1082
|
+
CostRank?: number;
|
|
1079
1083
|
AIModelType?: string;
|
|
1080
1084
|
}, {
|
|
1081
1085
|
ID?: string;
|
|
@@ -1090,6 +1094,8 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1090
1094
|
DriverClass?: string;
|
|
1091
1095
|
DriverImportPath?: string;
|
|
1092
1096
|
APIName?: string;
|
|
1097
|
+
SpeedRank?: number;
|
|
1098
|
+
CostRank?: number;
|
|
1093
1099
|
AIModelType?: string;
|
|
1094
1100
|
}>;
|
|
1095
1101
|
type AIModelEntityType = TypeOf<typeof AIModelSchema>;
|
|
@@ -1111,6 +1117,9 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1111
1117
|
__mj_UpdatedAt: ZodDate;
|
|
1112
1118
|
Type: ZodString;
|
|
1113
1119
|
Entity: ZodString;
|
|
1120
|
+
VectorDatabase: ZodString;
|
|
1121
|
+
Template: ZodString;
|
|
1122
|
+
AIModel: ZodString;
|
|
1114
1123
|
}, "strip", ZodTypeAny, {
|
|
1115
1124
|
ID?: string;
|
|
1116
1125
|
__mj_CreatedAt?: Date;
|
|
@@ -1119,6 +1128,7 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1119
1128
|
Status?: "Active" | "Inactive";
|
|
1120
1129
|
Type?: string;
|
|
1121
1130
|
AIModelID?: string;
|
|
1131
|
+
AIModel?: string;
|
|
1122
1132
|
EntityID?: string;
|
|
1123
1133
|
Entity?: string;
|
|
1124
1134
|
TypeID?: string;
|
|
@@ -1126,6 +1136,8 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1126
1136
|
TemplateID?: string;
|
|
1127
1137
|
PotentialMatchThreshold?: number;
|
|
1128
1138
|
AbsoluteMatchThreshold?: number;
|
|
1139
|
+
VectorDatabase?: string;
|
|
1140
|
+
Template?: string;
|
|
1129
1141
|
}, {
|
|
1130
1142
|
ID?: string;
|
|
1131
1143
|
__mj_CreatedAt?: Date;
|
|
@@ -1134,6 +1146,7 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1134
1146
|
Status?: "Active" | "Inactive";
|
|
1135
1147
|
Type?: string;
|
|
1136
1148
|
AIModelID?: string;
|
|
1149
|
+
AIModel?: string;
|
|
1137
1150
|
EntityID?: string;
|
|
1138
1151
|
Entity?: string;
|
|
1139
1152
|
TypeID?: string;
|
|
@@ -1141,6 +1154,8 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1141
1154
|
TemplateID?: string;
|
|
1142
1155
|
PotentialMatchThreshold?: number;
|
|
1143
1156
|
AbsoluteMatchThreshold?: number;
|
|
1157
|
+
VectorDatabase?: string;
|
|
1158
|
+
Template?: string;
|
|
1144
1159
|
}>;
|
|
1145
1160
|
type EntityDocumentEntityType = TypeOf<typeof EntityDocumentSchema>;
|
|
1146
1161
|
/**
|
|
@@ -1166,8 +1181,8 @@ declare const TemplateContentSchema: ZodObject<{
|
|
|
1166
1181
|
Priority?: number;
|
|
1167
1182
|
TypeID?: string;
|
|
1168
1183
|
TemplateID?: string;
|
|
1169
|
-
TemplateText?: string;
|
|
1170
1184
|
Template?: string;
|
|
1185
|
+
TemplateText?: string;
|
|
1171
1186
|
}, {
|
|
1172
1187
|
ID?: string;
|
|
1173
1188
|
__mj_CreatedAt?: Date;
|
|
@@ -1177,8 +1192,8 @@ declare const TemplateContentSchema: ZodObject<{
|
|
|
1177
1192
|
Priority?: number;
|
|
1178
1193
|
TypeID?: string;
|
|
1179
1194
|
TemplateID?: string;
|
|
1180
|
-
TemplateText?: string;
|
|
1181
1195
|
Template?: string;
|
|
1196
|
+
TemplateText?: string;
|
|
1182
1197
|
}>;
|
|
1183
1198
|
type TemplateContentEntityType = TypeOf<typeof TemplateContentSchema>;
|
|
1184
1199
|
/**
|
|
@@ -1321,7 +1336,8 @@ declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
1321
1336
|
* * Field Name: PowerRank
|
|
1322
1337
|
* * Display Name: Power Rank
|
|
1323
1338
|
* * SQL Data Type: int
|
|
1324
|
-
* *
|
|
1339
|
+
* * Default Value: 0
|
|
1340
|
+
* * Description: Optional column that ranks the power of the AI model. Default is 0 and should be non-negative.
|
|
1325
1341
|
*/
|
|
1326
1342
|
get PowerRank(): number | null;
|
|
1327
1343
|
set PowerRank(value: number | null);
|
|
@@ -1370,6 +1386,24 @@ declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
1370
1386
|
*/
|
|
1371
1387
|
get __mj_UpdatedAt(): Date;
|
|
1372
1388
|
/**
|
|
1389
|
+
* * Field Name: SpeedRank
|
|
1390
|
+
* * Display Name: Speed Rank
|
|
1391
|
+
* * SQL Data Type: int
|
|
1392
|
+
* * Default Value: 0
|
|
1393
|
+
* * Description: Optional column that ranks the speed of the AI model. Default is 0 and should be non-negative.
|
|
1394
|
+
*/
|
|
1395
|
+
get SpeedRank(): number | null;
|
|
1396
|
+
set SpeedRank(value: number | null);
|
|
1397
|
+
/**
|
|
1398
|
+
* * Field Name: CostRank
|
|
1399
|
+
* * Display Name: Cost Rank
|
|
1400
|
+
* * SQL Data Type: int
|
|
1401
|
+
* * Default Value: 0
|
|
1402
|
+
* * Description: Optional column that ranks the cost of the AI model. Default is 0 and should be non-negative.
|
|
1403
|
+
*/
|
|
1404
|
+
get CostRank(): number | null;
|
|
1405
|
+
set CostRank(value: number | null);
|
|
1406
|
+
/**
|
|
1373
1407
|
* * Field Name: AIModelType
|
|
1374
1408
|
* * Display Name: AIModel Type
|
|
1375
1409
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -1518,6 +1552,24 @@ declare class EntityDocumentEntity extends BaseEntity<EntityDocumentEntityType>
|
|
|
1518
1552
|
* * SQL Data Type: nvarchar(255)
|
|
1519
1553
|
*/
|
|
1520
1554
|
get Entity(): string;
|
|
1555
|
+
/**
|
|
1556
|
+
* * Field Name: VectorDatabase
|
|
1557
|
+
* * Display Name: Vector Database
|
|
1558
|
+
* * SQL Data Type: nvarchar(100)
|
|
1559
|
+
*/
|
|
1560
|
+
get VectorDatabase(): string;
|
|
1561
|
+
/**
|
|
1562
|
+
* * Field Name: Template
|
|
1563
|
+
* * Display Name: Template
|
|
1564
|
+
* * SQL Data Type: nvarchar(255)
|
|
1565
|
+
*/
|
|
1566
|
+
get Template(): string;
|
|
1567
|
+
/**
|
|
1568
|
+
* * Field Name: AIModel
|
|
1569
|
+
* * Display Name: AIModel
|
|
1570
|
+
* * SQL Data Type: nvarchar(50)
|
|
1571
|
+
*/
|
|
1572
|
+
get AIModel(): string;
|
|
1521
1573
|
}
|
|
1522
1574
|
/**
|
|
1523
1575
|
* Template Contents - strongly typed entity sub-class
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ai-vector-sync",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "MemberJunction: AI Vector/Entity Sync Package - handles synchronization between MemberJunction entities and vector databases",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"author": "MemberJunction.com",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@memberjunction/ai": "2.2.
|
|
19
|
-
"@memberjunction/ai-vectordb": "2.2.
|
|
20
|
-
"@memberjunction/ai-vectors": "2.2.
|
|
21
|
-
"@memberjunction/ai-vectors-pinecone": "2.2.
|
|
22
|
-
"@memberjunction/ai-mistral": "2.2.
|
|
23
|
-
"@memberjunction/aiengine": "2.2.
|
|
24
|
-
"@memberjunction/core": "2.2.
|
|
25
|
-
"@memberjunction/global": "2.2.
|
|
26
|
-
"@memberjunction/templates": "2.2.
|
|
27
|
-
"@memberjunction/templates-base-types": "2.2.
|
|
28
|
-
"@memberjunction/ai-openai": "2.2.
|
|
18
|
+
"@memberjunction/ai": "2.2.1",
|
|
19
|
+
"@memberjunction/ai-vectordb": "2.2.1",
|
|
20
|
+
"@memberjunction/ai-vectors": "2.2.1",
|
|
21
|
+
"@memberjunction/ai-vectors-pinecone": "2.2.1",
|
|
22
|
+
"@memberjunction/ai-mistral": "2.2.1",
|
|
23
|
+
"@memberjunction/aiengine": "2.2.1",
|
|
24
|
+
"@memberjunction/core": "2.2.1",
|
|
25
|
+
"@memberjunction/global": "2.2.1",
|
|
26
|
+
"@memberjunction/templates": "2.2.1",
|
|
27
|
+
"@memberjunction/templates-base-types": "2.2.1",
|
|
28
|
+
"@memberjunction/ai-openai": "2.2.1",
|
|
29
29
|
"dotenv": "^16.4.1",
|
|
30
30
|
"typeorm": "^0.3.20"
|
|
31
31
|
},
|