@memberjunction/core-entities 5.20.0 → 5.22.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.
|
@@ -3322,6 +3322,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
|
|
|
3322
3322
|
EffortLevel: z.ZodNullable<z.ZodNumber>;
|
|
3323
3323
|
AssistantPrefill: z.ZodNullable<z.ZodString>;
|
|
3324
3324
|
PrefillFallbackMode: z.ZodUnion<[z.ZodLiteral<"Ignore">, z.ZodLiteral<"None">, z.ZodLiteral<"SystemInstruction">]>;
|
|
3325
|
+
RequireSpecificModels: z.ZodBoolean;
|
|
3325
3326
|
Template: z.ZodString;
|
|
3326
3327
|
Category: z.ZodNullable<z.ZodString>;
|
|
3327
3328
|
Type: z.ZodString;
|
|
@@ -3385,6 +3386,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
|
|
|
3385
3386
|
FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
|
|
3386
3387
|
FailoverErrorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly";
|
|
3387
3388
|
PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
|
|
3389
|
+
RequireSpecificModels?: boolean;
|
|
3388
3390
|
Template?: string;
|
|
3389
3391
|
ResultSelectorPrompt?: string;
|
|
3390
3392
|
RootResultSelectorPromptID?: string;
|
|
@@ -3445,6 +3447,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
|
|
|
3445
3447
|
FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
|
|
3446
3448
|
FailoverErrorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly";
|
|
3447
3449
|
PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
|
|
3450
|
+
RequireSpecificModels?: boolean;
|
|
3448
3451
|
Template?: string;
|
|
3449
3452
|
ResultSelectorPrompt?: string;
|
|
3450
3453
|
RootResultSelectorPromptID?: string;
|
|
@@ -7981,11 +7984,14 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
7981
7984
|
AbsoluteMatchThreshold: z.ZodNumber;
|
|
7982
7985
|
__mj_CreatedAt: z.ZodDate;
|
|
7983
7986
|
__mj_UpdatedAt: z.ZodDate;
|
|
7987
|
+
VectorIndexID: z.ZodNullable<z.ZodString>;
|
|
7988
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
7984
7989
|
Type: z.ZodString;
|
|
7985
7990
|
Entity: z.ZodString;
|
|
7986
7991
|
VectorDatabase: z.ZodString;
|
|
7987
7992
|
Template: z.ZodString;
|
|
7988
7993
|
AIModel: z.ZodString;
|
|
7994
|
+
VectorIndex: z.ZodNullable<z.ZodString>;
|
|
7989
7995
|
}, "strip", z.ZodTypeAny, {
|
|
7990
7996
|
ID?: string;
|
|
7991
7997
|
EntityID?: string;
|
|
@@ -7995,6 +8001,7 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
7995
8001
|
Name?: string;
|
|
7996
8002
|
Status?: "Active" | "Inactive";
|
|
7997
8003
|
Type?: string;
|
|
8004
|
+
Configuration?: string;
|
|
7998
8005
|
TypeID?: string;
|
|
7999
8006
|
AIModelID?: string;
|
|
8000
8007
|
AIModel?: string;
|
|
@@ -8003,7 +8010,9 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8003
8010
|
VectorDatabaseID?: string;
|
|
8004
8011
|
PotentialMatchThreshold?: number;
|
|
8005
8012
|
AbsoluteMatchThreshold?: number;
|
|
8013
|
+
VectorIndexID?: string;
|
|
8006
8014
|
VectorDatabase?: string;
|
|
8015
|
+
VectorIndex?: string;
|
|
8007
8016
|
}, {
|
|
8008
8017
|
ID?: string;
|
|
8009
8018
|
EntityID?: string;
|
|
@@ -8013,6 +8022,7 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8013
8022
|
Name?: string;
|
|
8014
8023
|
Status?: "Active" | "Inactive";
|
|
8015
8024
|
Type?: string;
|
|
8025
|
+
Configuration?: string;
|
|
8016
8026
|
TypeID?: string;
|
|
8017
8027
|
AIModelID?: string;
|
|
8018
8028
|
AIModel?: string;
|
|
@@ -8021,7 +8031,9 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8021
8031
|
VectorDatabaseID?: string;
|
|
8022
8032
|
PotentialMatchThreshold?: number;
|
|
8023
8033
|
AbsoluteMatchThreshold?: number;
|
|
8034
|
+
VectorIndexID?: string;
|
|
8024
8035
|
VectorDatabase?: string;
|
|
8036
|
+
VectorIndex?: string;
|
|
8025
8037
|
}>;
|
|
8026
8038
|
export type MJEntityDocumentEntityType = z.infer<typeof MJEntityDocumentSchema>;
|
|
8027
8039
|
/**
|
|
@@ -8481,12 +8493,12 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8481
8493
|
Entity?: string;
|
|
8482
8494
|
EntityDocumentID?: string;
|
|
8483
8495
|
EntityDocument?: string;
|
|
8484
|
-
DocumentText?: string;
|
|
8485
8496
|
VectorIndexID?: string;
|
|
8497
|
+
VectorIndex?: string;
|
|
8498
|
+
DocumentText?: string;
|
|
8486
8499
|
VectorID?: string;
|
|
8487
8500
|
VectorJSON?: string;
|
|
8488
8501
|
EntityRecordUpdatedAt?: Date;
|
|
8489
|
-
VectorIndex?: string;
|
|
8490
8502
|
}, {
|
|
8491
8503
|
ID?: string;
|
|
8492
8504
|
EntityID?: string;
|
|
@@ -8496,12 +8508,12 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8496
8508
|
Entity?: string;
|
|
8497
8509
|
EntityDocumentID?: string;
|
|
8498
8510
|
EntityDocument?: string;
|
|
8499
|
-
DocumentText?: string;
|
|
8500
8511
|
VectorIndexID?: string;
|
|
8512
|
+
VectorIndex?: string;
|
|
8513
|
+
DocumentText?: string;
|
|
8501
8514
|
VectorID?: string;
|
|
8502
8515
|
VectorJSON?: string;
|
|
8503
8516
|
EntityRecordUpdatedAt?: Date;
|
|
8504
|
-
VectorIndex?: string;
|
|
8505
8517
|
}>;
|
|
8506
8518
|
export type MJEntityRecordDocumentEntityType = z.infer<typeof MJEntityRecordDocumentSchema>;
|
|
8507
8519
|
/**
|
|
@@ -13923,12 +13935,14 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
|
|
|
13923
13935
|
ClassKey: z.ZodNullable<z.ZodString>;
|
|
13924
13936
|
__mj_CreatedAt: z.ZodDate;
|
|
13925
13937
|
__mj_UpdatedAt: z.ZodDate;
|
|
13938
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
13926
13939
|
}, "strip", z.ZodTypeAny, {
|
|
13927
13940
|
ID?: string;
|
|
13928
13941
|
__mj_CreatedAt?: Date;
|
|
13929
13942
|
__mj_UpdatedAt?: Date;
|
|
13930
13943
|
Name?: string;
|
|
13931
13944
|
Description?: string;
|
|
13945
|
+
Configuration?: string;
|
|
13932
13946
|
DefaultURL?: string;
|
|
13933
13947
|
ClassKey?: string;
|
|
13934
13948
|
}, {
|
|
@@ -13937,6 +13951,7 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
|
|
|
13937
13951
|
__mj_UpdatedAt?: Date;
|
|
13938
13952
|
Name?: string;
|
|
13939
13953
|
Description?: string;
|
|
13954
|
+
Configuration?: string;
|
|
13940
13955
|
DefaultURL?: string;
|
|
13941
13956
|
ClassKey?: string;
|
|
13942
13957
|
}>;
|
|
@@ -13952,6 +13967,10 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13952
13967
|
EmbeddingModelID: z.ZodString;
|
|
13953
13968
|
__mj_CreatedAt: z.ZodDate;
|
|
13954
13969
|
__mj_UpdatedAt: z.ZodDate;
|
|
13970
|
+
ExternalID: z.ZodNullable<z.ZodString>;
|
|
13971
|
+
Dimensions: z.ZodNullable<z.ZodNumber>;
|
|
13972
|
+
Metric: z.ZodNullable<z.ZodString>;
|
|
13973
|
+
ProviderConfig: z.ZodNullable<z.ZodString>;
|
|
13955
13974
|
VectorDatabase: z.ZodString;
|
|
13956
13975
|
EmbeddingModel: z.ZodString;
|
|
13957
13976
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13962,8 +13981,12 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13962
13981
|
Description?: string;
|
|
13963
13982
|
EmbeddingModelID?: string;
|
|
13964
13983
|
EmbeddingModel?: string;
|
|
13984
|
+
ExternalID?: string;
|
|
13965
13985
|
VectorDatabaseID?: string;
|
|
13966
13986
|
VectorDatabase?: string;
|
|
13987
|
+
Dimensions?: number;
|
|
13988
|
+
Metric?: string;
|
|
13989
|
+
ProviderConfig?: string;
|
|
13967
13990
|
}, {
|
|
13968
13991
|
ID?: string;
|
|
13969
13992
|
__mj_CreatedAt?: Date;
|
|
@@ -13972,8 +13995,12 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13972
13995
|
Description?: string;
|
|
13973
13996
|
EmbeddingModelID?: string;
|
|
13974
13997
|
EmbeddingModel?: string;
|
|
13998
|
+
ExternalID?: string;
|
|
13975
13999
|
VectorDatabaseID?: string;
|
|
13976
14000
|
VectorDatabase?: string;
|
|
14001
|
+
Dimensions?: number;
|
|
14002
|
+
Metric?: string;
|
|
14003
|
+
ProviderConfig?: string;
|
|
13977
14004
|
}>;
|
|
13978
14005
|
export type MJVectorIndexEntityType = z.infer<typeof MJVectorIndexSchema>;
|
|
13979
14006
|
/**
|
|
@@ -24503,7 +24530,7 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
|
|
|
24503
24530
|
set CacheMustMatchAgent(value: boolean);
|
|
24504
24531
|
/**
|
|
24505
24532
|
* * Field Name: CacheMustMatchConfig
|
|
24506
|
-
* * Display Name: Cache Must Match
|
|
24533
|
+
* * Display Name: Cache Must Match Config
|
|
24507
24534
|
* * SQL Data Type: bit
|
|
24508
24535
|
* * Default Value: 0
|
|
24509
24536
|
* * Description: When true, the configuration must match for a cache hit. When false, results from any configuration can be used.
|
|
@@ -24649,7 +24676,7 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
|
|
|
24649
24676
|
set FailoverMaxAttempts(value: number | null);
|
|
24650
24677
|
/**
|
|
24651
24678
|
* * Field Name: FailoverDelaySeconds
|
|
24652
|
-
* * Display Name: Failover Delay (
|
|
24679
|
+
* * Display Name: Failover Delay (Seconds)
|
|
24653
24680
|
* * SQL Data Type: int
|
|
24654
24681
|
* * Default Value: 5
|
|
24655
24682
|
* * Description: Initial delay in seconds between failover attempts
|
|
@@ -24723,6 +24750,15 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
|
|
|
24723
24750
|
get PrefillFallbackMode(): 'Ignore' | 'None' | 'SystemInstruction';
|
|
24724
24751
|
set PrefillFallbackMode(value: 'Ignore' | 'None' | 'SystemInstruction');
|
|
24725
24752
|
/**
|
|
24753
|
+
* * Field Name: RequireSpecificModels
|
|
24754
|
+
* * Display Name: Require Specific Models
|
|
24755
|
+
* * SQL Data Type: bit
|
|
24756
|
+
* * Default Value: 0
|
|
24757
|
+
* * Description: Only applies when SelectionStrategy is Specific. When 0 (default), if none of the explicitly configured AIPromptModel entries have valid API credentials the system automatically falls back to Default/ByPower model selection across all active models matching the prompt AIModelTypeID. When 1, the system will hard-fail with an error instead of falling back, ensuring only the explicitly configured models are ever used.
|
|
24758
|
+
*/
|
|
24759
|
+
get RequireSpecificModels(): boolean;
|
|
24760
|
+
set RequireSpecificModels(value: boolean);
|
|
24761
|
+
/**
|
|
24726
24762
|
* * Field Name: Template
|
|
24727
24763
|
* * Display Name: Template Text
|
|
24728
24764
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -37313,7 +37349,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37313
37349
|
set Name(value: string);
|
|
37314
37350
|
/**
|
|
37315
37351
|
* * Field Name: TypeID
|
|
37316
|
-
* * Display Name: Type
|
|
37352
|
+
* * Display Name: Type
|
|
37317
37353
|
* * SQL Data Type: uniqueidentifier
|
|
37318
37354
|
* * Related Entity/Foreign Key: MJ: Entity Document Types (vwEntityDocumentTypes.ID)
|
|
37319
37355
|
*/
|
|
@@ -37321,7 +37357,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37321
37357
|
set TypeID(value: string);
|
|
37322
37358
|
/**
|
|
37323
37359
|
* * Field Name: EntityID
|
|
37324
|
-
* * Display Name: Entity
|
|
37360
|
+
* * Display Name: Entity
|
|
37325
37361
|
* * SQL Data Type: uniqueidentifier
|
|
37326
37362
|
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
37327
37363
|
*/
|
|
@@ -37329,7 +37365,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37329
37365
|
set EntityID(value: string);
|
|
37330
37366
|
/**
|
|
37331
37367
|
* * Field Name: VectorDatabaseID
|
|
37332
|
-
* * Display Name: Vector Database
|
|
37368
|
+
* * Display Name: Vector Database
|
|
37333
37369
|
* * SQL Data Type: uniqueidentifier
|
|
37334
37370
|
* * Related Entity/Foreign Key: MJ: Vector Databases (vwVectorDatabases.ID)
|
|
37335
37371
|
*/
|
|
@@ -37349,7 +37385,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37349
37385
|
set Status(value: 'Active' | 'Inactive');
|
|
37350
37386
|
/**
|
|
37351
37387
|
* * Field Name: TemplateID
|
|
37352
|
-
* * Display Name: Template
|
|
37388
|
+
* * Display Name: Template
|
|
37353
37389
|
* * SQL Data Type: uniqueidentifier
|
|
37354
37390
|
* * Related Entity/Foreign Key: MJ: Templates (vwTemplates.ID)
|
|
37355
37391
|
*/
|
|
@@ -37357,7 +37393,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37357
37393
|
set TemplateID(value: string);
|
|
37358
37394
|
/**
|
|
37359
37395
|
* * Field Name: AIModelID
|
|
37360
|
-
* * Display Name:
|
|
37396
|
+
* * Display Name: AI Model
|
|
37361
37397
|
* * SQL Data Type: uniqueidentifier
|
|
37362
37398
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
37363
37399
|
*/
|
|
@@ -37383,48 +37419,71 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37383
37419
|
set AbsoluteMatchThreshold(value: number);
|
|
37384
37420
|
/**
|
|
37385
37421
|
* * Field Name: __mj_CreatedAt
|
|
37386
|
-
* * Display Name:
|
|
37422
|
+
* * Display Name: Created At
|
|
37387
37423
|
* * SQL Data Type: datetimeoffset
|
|
37388
37424
|
* * Default Value: getutcdate()
|
|
37389
37425
|
*/
|
|
37390
37426
|
get __mj_CreatedAt(): Date;
|
|
37391
37427
|
/**
|
|
37392
37428
|
* * Field Name: __mj_UpdatedAt
|
|
37393
|
-
* * Display Name:
|
|
37429
|
+
* * Display Name: Updated At
|
|
37394
37430
|
* * SQL Data Type: datetimeoffset
|
|
37395
37431
|
* * Default Value: getutcdate()
|
|
37396
37432
|
*/
|
|
37397
37433
|
get __mj_UpdatedAt(): Date;
|
|
37398
37434
|
/**
|
|
37435
|
+
* * Field Name: VectorIndexID
|
|
37436
|
+
* * Display Name: Vector Index
|
|
37437
|
+
* * SQL Data Type: uniqueidentifier
|
|
37438
|
+
* * Related Entity/Foreign Key: MJ: Vector Indexes (vwVectorIndexes.ID)
|
|
37439
|
+
* * Description: Optional foreign key to the specific Vector Index where this entity document's embeddings should be stored. When specified, the vectorization pipeline will upsert vectors directly to this index rather than auto-creating or looking up an index based on VectorDatabaseID + AIModelID. This enables explicit control over which Pinecone/Weaviate/etc. index is used per entity document, supporting multi-index architectures and shared indexes across entity types.
|
|
37440
|
+
*/
|
|
37441
|
+
get VectorIndexID(): string | null;
|
|
37442
|
+
set VectorIndexID(value: string | null);
|
|
37443
|
+
/**
|
|
37444
|
+
* * Field Name: Configuration
|
|
37445
|
+
* * Display Name: Configuration
|
|
37446
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37447
|
+
* * Description: JSON configuration settings for this entity document. Controls vector metadata field inclusion (which fields get stored in the vector index for search result display), large field truncation limits, and future settings like sync scheduling and threshold overrides. NULL means use system defaults.
|
|
37448
|
+
*/
|
|
37449
|
+
get Configuration(): string | null;
|
|
37450
|
+
set Configuration(value: string | null);
|
|
37451
|
+
/**
|
|
37399
37452
|
* * Field Name: Type
|
|
37400
|
-
* * Display Name: Type
|
|
37453
|
+
* * Display Name: Type Name
|
|
37401
37454
|
* * SQL Data Type: nvarchar(100)
|
|
37402
37455
|
*/
|
|
37403
37456
|
get Type(): string;
|
|
37404
37457
|
/**
|
|
37405
37458
|
* * Field Name: Entity
|
|
37406
|
-
* * Display Name: Entity
|
|
37459
|
+
* * Display Name: Entity Name
|
|
37407
37460
|
* * SQL Data Type: nvarchar(255)
|
|
37408
37461
|
*/
|
|
37409
37462
|
get Entity(): string;
|
|
37410
37463
|
/**
|
|
37411
37464
|
* * Field Name: VectorDatabase
|
|
37412
|
-
* * Display Name: Vector Database
|
|
37465
|
+
* * Display Name: Vector Database Name
|
|
37413
37466
|
* * SQL Data Type: nvarchar(100)
|
|
37414
37467
|
*/
|
|
37415
37468
|
get VectorDatabase(): string;
|
|
37416
37469
|
/**
|
|
37417
37470
|
* * Field Name: Template
|
|
37418
|
-
* * Display Name: Template
|
|
37471
|
+
* * Display Name: Template Name
|
|
37419
37472
|
* * SQL Data Type: nvarchar(255)
|
|
37420
37473
|
*/
|
|
37421
37474
|
get Template(): string;
|
|
37422
37475
|
/**
|
|
37423
37476
|
* * Field Name: AIModel
|
|
37424
|
-
* * Display Name:
|
|
37477
|
+
* * Display Name: AI Model Name
|
|
37425
37478
|
* * SQL Data Type: nvarchar(50)
|
|
37426
37479
|
*/
|
|
37427
37480
|
get AIModel(): string;
|
|
37481
|
+
/**
|
|
37482
|
+
* * Field Name: VectorIndex
|
|
37483
|
+
* * Display Name: Vector Index Name
|
|
37484
|
+
* * SQL Data Type: nvarchar(255)
|
|
37485
|
+
*/
|
|
37486
|
+
get VectorIndex(): string | null;
|
|
37428
37487
|
}
|
|
37429
37488
|
/**
|
|
37430
37489
|
* MJ: Entity Field Values - strongly typed entity sub-class
|
|
@@ -53633,6 +53692,14 @@ export declare class MJVectorDatabaseEntity extends BaseEntity<MJVectorDatabaseE
|
|
|
53633
53692
|
* * Default Value: getutcdate()
|
|
53634
53693
|
*/
|
|
53635
53694
|
get __mj_UpdatedAt(): Date;
|
|
53695
|
+
/**
|
|
53696
|
+
* * Field Name: Configuration
|
|
53697
|
+
* * Display Name: Configuration
|
|
53698
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
53699
|
+
* * Description: JSON configuration settings for this vector database provider. Stores provider-specific connection settings like custom host URLs, authentication configuration, timeouts, retry policies, and batch size limits. NULL means use defaults from environment variables or provider defaults.
|
|
53700
|
+
*/
|
|
53701
|
+
get Configuration(): string | null;
|
|
53702
|
+
set Configuration(value: string | null);
|
|
53636
53703
|
}
|
|
53637
53704
|
/**
|
|
53638
53705
|
* MJ: Vector Indexes - strongly typed entity sub-class
|
|
@@ -53682,7 +53749,7 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53682
53749
|
set Description(value: string | null);
|
|
53683
53750
|
/**
|
|
53684
53751
|
* * Field Name: VectorDatabaseID
|
|
53685
|
-
* * Display Name: Vector Database
|
|
53752
|
+
* * Display Name: Vector Database
|
|
53686
53753
|
* * SQL Data Type: uniqueidentifier
|
|
53687
53754
|
* * Related Entity/Foreign Key: MJ: Vector Databases (vwVectorDatabases.ID)
|
|
53688
53755
|
*/
|
|
@@ -53690,7 +53757,7 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53690
53757
|
set VectorDatabaseID(value: string);
|
|
53691
53758
|
/**
|
|
53692
53759
|
* * Field Name: EmbeddingModelID
|
|
53693
|
-
* * Display Name: Embedding Model
|
|
53760
|
+
* * Display Name: Embedding Model
|
|
53694
53761
|
* * SQL Data Type: uniqueidentifier
|
|
53695
53762
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
53696
53763
|
*/
|
|
@@ -53711,14 +53778,46 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53711
53778
|
*/
|
|
53712
53779
|
get __mj_UpdatedAt(): Date;
|
|
53713
53780
|
/**
|
|
53781
|
+
* * Field Name: ExternalID
|
|
53782
|
+
* * Display Name: External ID
|
|
53783
|
+
* * SQL Data Type: nvarchar(500)
|
|
53784
|
+
* * Description: The provider's native identifier for this index. For Pinecone this is the index name; for other providers it may be a separate UUID or identifier. Used for syncing operations between MJ metadata and the remote vector database.
|
|
53785
|
+
*/
|
|
53786
|
+
get ExternalID(): string | null;
|
|
53787
|
+
set ExternalID(value: string | null);
|
|
53788
|
+
/**
|
|
53789
|
+
* * Field Name: Dimensions
|
|
53790
|
+
* * Display Name: Dimensions
|
|
53791
|
+
* * SQL Data Type: int
|
|
53792
|
+
* * Description: The number of dimensions for vectors stored in this index. Determined by the embedding model (e.g., 1536 for text-embedding-3-small, 768 for all-mpnet-base-v2). Set automatically when the index is created via the vector database provider.
|
|
53793
|
+
*/
|
|
53794
|
+
get Dimensions(): number | null;
|
|
53795
|
+
set Dimensions(value: number | null);
|
|
53796
|
+
/**
|
|
53797
|
+
* * Field Name: Metric
|
|
53798
|
+
* * Display Name: Distance Metric
|
|
53799
|
+
* * SQL Data Type: nvarchar(50)
|
|
53800
|
+
* * Description: The distance metric used for similarity calculations in this index. Common values: cosine (default, measures angular similarity), euclidean (L2 distance), dotproduct (inner product). Must match what the vector database provider was configured with.
|
|
53801
|
+
*/
|
|
53802
|
+
get Metric(): string | null;
|
|
53803
|
+
set Metric(value: string | null);
|
|
53804
|
+
/**
|
|
53805
|
+
* * Field Name: ProviderConfig
|
|
53806
|
+
* * Display Name: Provider Configuration
|
|
53807
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
53808
|
+
* * Description: JSON object containing provider-specific configuration for this index. For Pinecone serverless: {"cloud":"aws","region":"us-east-1"}. For pod-based: {"environment":"us-east1-gcp","podType":"p1.x1","replicas":1}. Stored as a flexible JSON bag to support any provider without schema changes.
|
|
53809
|
+
*/
|
|
53810
|
+
get ProviderConfig(): string | null;
|
|
53811
|
+
set ProviderConfig(value: string | null);
|
|
53812
|
+
/**
|
|
53714
53813
|
* * Field Name: VectorDatabase
|
|
53715
|
-
* * Display Name: Vector Database
|
|
53814
|
+
* * Display Name: Vector Database Name
|
|
53716
53815
|
* * SQL Data Type: nvarchar(100)
|
|
53717
53816
|
*/
|
|
53718
53817
|
get VectorDatabase(): string;
|
|
53719
53818
|
/**
|
|
53720
53819
|
* * Field Name: EmbeddingModel
|
|
53721
|
-
* * Display Name: Embedding Model
|
|
53820
|
+
* * Display Name: Embedding Model Name
|
|
53722
53821
|
* * SQL Data Type: nvarchar(50)
|
|
53723
53822
|
*/
|
|
53724
53823
|
get EmbeddingModel(): string;
|