@memberjunction/ai-vector-sync 2.2.1 → 2.3.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.
- package/dist/index.d.ts +22 -10
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1064,6 +1064,7 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1064
1064
|
__mj_UpdatedAt: ZodDate;
|
|
1065
1065
|
SpeedRank: ZodOptional<ZodNullable<ZodNumber>>;
|
|
1066
1066
|
CostRank: ZodOptional<ZodNullable<ZodNumber>>;
|
|
1067
|
+
ModelSelectionInsights: ZodOptional<ZodNullable<ZodString>>;
|
|
1067
1068
|
AIModelType: ZodString;
|
|
1068
1069
|
}, "strip", ZodTypeAny, {
|
|
1069
1070
|
ID?: string;
|
|
@@ -1080,6 +1081,7 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1080
1081
|
APIName?: string;
|
|
1081
1082
|
SpeedRank?: number;
|
|
1082
1083
|
CostRank?: number;
|
|
1084
|
+
ModelSelectionInsights?: string;
|
|
1083
1085
|
AIModelType?: string;
|
|
1084
1086
|
}, {
|
|
1085
1087
|
ID?: string;
|
|
@@ -1096,6 +1098,7 @@ declare const AIModelSchema: ZodObject<{
|
|
|
1096
1098
|
APIName?: string;
|
|
1097
1099
|
SpeedRank?: number;
|
|
1098
1100
|
CostRank?: number;
|
|
1101
|
+
ModelSelectionInsights?: string;
|
|
1099
1102
|
AIModelType?: string;
|
|
1100
1103
|
}>;
|
|
1101
1104
|
type AIModelEntityType = TypeOf<typeof AIModelSchema>;
|
|
@@ -1129,15 +1132,15 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1129
1132
|
Type?: string;
|
|
1130
1133
|
AIModelID?: string;
|
|
1131
1134
|
AIModel?: string;
|
|
1135
|
+
TemplateID?: string;
|
|
1136
|
+
TypeID?: string;
|
|
1137
|
+
Template?: string;
|
|
1132
1138
|
EntityID?: string;
|
|
1133
1139
|
Entity?: string;
|
|
1134
|
-
TypeID?: string;
|
|
1135
1140
|
VectorDatabaseID?: string;
|
|
1136
|
-
TemplateID?: string;
|
|
1137
1141
|
PotentialMatchThreshold?: number;
|
|
1138
1142
|
AbsoluteMatchThreshold?: number;
|
|
1139
1143
|
VectorDatabase?: string;
|
|
1140
|
-
Template?: string;
|
|
1141
1144
|
}, {
|
|
1142
1145
|
ID?: string;
|
|
1143
1146
|
__mj_CreatedAt?: Date;
|
|
@@ -1147,15 +1150,15 @@ declare const EntityDocumentSchema: ZodObject<{
|
|
|
1147
1150
|
Type?: string;
|
|
1148
1151
|
AIModelID?: string;
|
|
1149
1152
|
AIModel?: string;
|
|
1153
|
+
TemplateID?: string;
|
|
1154
|
+
TypeID?: string;
|
|
1155
|
+
Template?: string;
|
|
1150
1156
|
EntityID?: string;
|
|
1151
1157
|
Entity?: string;
|
|
1152
|
-
TypeID?: string;
|
|
1153
1158
|
VectorDatabaseID?: string;
|
|
1154
|
-
TemplateID?: string;
|
|
1155
1159
|
PotentialMatchThreshold?: number;
|
|
1156
1160
|
AbsoluteMatchThreshold?: number;
|
|
1157
1161
|
VectorDatabase?: string;
|
|
1158
|
-
Template?: string;
|
|
1159
1162
|
}>;
|
|
1160
1163
|
type EntityDocumentEntityType = TypeOf<typeof EntityDocumentSchema>;
|
|
1161
1164
|
/**
|
|
@@ -1178,10 +1181,10 @@ declare const TemplateContentSchema: ZodObject<{
|
|
|
1178
1181
|
__mj_UpdatedAt?: Date;
|
|
1179
1182
|
Type?: string;
|
|
1180
1183
|
IsActive?: boolean;
|
|
1181
|
-
Priority?: number;
|
|
1182
|
-
TypeID?: string;
|
|
1183
1184
|
TemplateID?: string;
|
|
1185
|
+
TypeID?: string;
|
|
1184
1186
|
Template?: string;
|
|
1187
|
+
Priority?: number;
|
|
1185
1188
|
TemplateText?: string;
|
|
1186
1189
|
}, {
|
|
1187
1190
|
ID?: string;
|
|
@@ -1189,10 +1192,10 @@ declare const TemplateContentSchema: ZodObject<{
|
|
|
1189
1192
|
__mj_UpdatedAt?: Date;
|
|
1190
1193
|
Type?: string;
|
|
1191
1194
|
IsActive?: boolean;
|
|
1192
|
-
Priority?: number;
|
|
1193
|
-
TypeID?: string;
|
|
1194
1195
|
TemplateID?: string;
|
|
1196
|
+
TypeID?: string;
|
|
1195
1197
|
Template?: string;
|
|
1198
|
+
Priority?: number;
|
|
1196
1199
|
TemplateText?: string;
|
|
1197
1200
|
}>;
|
|
1198
1201
|
type TemplateContentEntityType = TypeOf<typeof TemplateContentSchema>;
|
|
@@ -1404,6 +1407,15 @@ declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
1404
1407
|
get CostRank(): number | null;
|
|
1405
1408
|
set CostRank(value: number | null);
|
|
1406
1409
|
/**
|
|
1410
|
+
* * Field Name: ModelSelectionInsights
|
|
1411
|
+
* * Display Name: Model Selection Insights
|
|
1412
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1413
|
+
* * Default Value: null
|
|
1414
|
+
* * Description: This column stores unstructured text notes that provide insights into what the model is particularly good at and areas where it may not perform as well. These notes can be used by a human or an AI to determine if the model is a good fit for various purposes.
|
|
1415
|
+
*/
|
|
1416
|
+
get ModelSelectionInsights(): string | null;
|
|
1417
|
+
set ModelSelectionInsights(value: string | null);
|
|
1418
|
+
/**
|
|
1407
1419
|
* * Field Name: AIModelType
|
|
1408
1420
|
* * Display Name: AIModel Type
|
|
1409
1421
|
* * SQL Data Type: nvarchar(50)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ai-vector-sync",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
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.
|
|
19
|
-
"@memberjunction/ai-vectordb": "2.
|
|
20
|
-
"@memberjunction/ai-vectors": "2.
|
|
21
|
-
"@memberjunction/ai-vectors-pinecone": "2.
|
|
22
|
-
"@memberjunction/ai-mistral": "2.
|
|
23
|
-
"@memberjunction/aiengine": "2.
|
|
24
|
-
"@memberjunction/core": "2.2.
|
|
25
|
-
"@memberjunction/global": "2.
|
|
26
|
-
"@memberjunction/templates": "2.
|
|
27
|
-
"@memberjunction/templates-base-types": "2.
|
|
28
|
-
"@memberjunction/ai-openai": "2.
|
|
18
|
+
"@memberjunction/ai": "2.3.0",
|
|
19
|
+
"@memberjunction/ai-vectordb": "2.3.0",
|
|
20
|
+
"@memberjunction/ai-vectors": "2.3.0",
|
|
21
|
+
"@memberjunction/ai-vectors-pinecone": "2.3.0",
|
|
22
|
+
"@memberjunction/ai-mistral": "2.3.0",
|
|
23
|
+
"@memberjunction/aiengine": "2.3.0",
|
|
24
|
+
"@memberjunction/core": "2.2.2",
|
|
25
|
+
"@memberjunction/global": "2.3.0",
|
|
26
|
+
"@memberjunction/templates": "2.3.0",
|
|
27
|
+
"@memberjunction/templates-base-types": "2.3.0",
|
|
28
|
+
"@memberjunction/ai-openai": "2.3.0",
|
|
29
29
|
"dotenv": "^16.4.1",
|
|
30
30
|
"typeorm": "^0.3.20"
|
|
31
31
|
},
|