@memberjunction/core-entities 2.61.0 → 2.63.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.
|
@@ -1655,6 +1655,36 @@ exports.AIPromptSchema = zod_1.z.object({
|
|
|
1655
1655
|
* * Display Name: Top Log Probs
|
|
1656
1656
|
* * SQL Data Type: int
|
|
1657
1657
|
* * Description: Default number of top log probabilities to include when IncludeLogProbs is true. Can be overridden at runtime.`),
|
|
1658
|
+
FailoverMaxAttempts: zod_1.z.number().nullable().describe(`
|
|
1659
|
+
* * Field Name: FailoverMaxAttempts
|
|
1660
|
+
* * Display Name: Failover Max Attempts
|
|
1661
|
+
* * SQL Data Type: int
|
|
1662
|
+
* * Default Value: 3
|
|
1663
|
+
* * Description: Maximum number of failover attempts before giving up`),
|
|
1664
|
+
FailoverDelaySeconds: zod_1.z.number().nullable().describe(`
|
|
1665
|
+
* * Field Name: FailoverDelaySeconds
|
|
1666
|
+
* * Display Name: Failover Delay Seconds
|
|
1667
|
+
* * SQL Data Type: int
|
|
1668
|
+
* * Default Value: 5
|
|
1669
|
+
* * Description: Initial delay in seconds between failover attempts`),
|
|
1670
|
+
FailoverStrategy: zod_1.z.string().describe(`
|
|
1671
|
+
* * Field Name: FailoverStrategy
|
|
1672
|
+
* * Display Name: Failover Strategy
|
|
1673
|
+
* * SQL Data Type: nvarchar(50)
|
|
1674
|
+
* * Default Value: SameModelDifferentVendor
|
|
1675
|
+
* * Description: Failover strategy to use when the primary model fails. Options: SameModelDifferentVendor, NextBestModel, PowerRank, None`),
|
|
1676
|
+
FailoverModelStrategy: zod_1.z.string().describe(`
|
|
1677
|
+
* * Field Name: FailoverModelStrategy
|
|
1678
|
+
* * Display Name: Failover Model Strategy
|
|
1679
|
+
* * SQL Data Type: nvarchar(50)
|
|
1680
|
+
* * Default Value: PreferSameModel
|
|
1681
|
+
* * Description: Strategy for selecting failover models. Options: PreferSameModel, PreferDifferentModel, RequireSameModel`),
|
|
1682
|
+
FailoverErrorScope: zod_1.z.string().describe(`
|
|
1683
|
+
* * Field Name: FailoverErrorScope
|
|
1684
|
+
* * Display Name: Failover Error Scope
|
|
1685
|
+
* * SQL Data Type: nvarchar(50)
|
|
1686
|
+
* * Default Value: All
|
|
1687
|
+
* * Description: Types of errors that should trigger failover. Options: All, NetworkOnly, RateLimitOnly, ServiceErrorOnly`),
|
|
1658
1688
|
Template: zod_1.z.string().describe(`
|
|
1659
1689
|
* * Field Name: Template
|
|
1660
1690
|
* * Display Name: Template
|
|
@@ -7215,6 +7245,17 @@ exports.AIAgentRunSchema = zod_1.z.object({
|
|
|
7215
7245
|
* * Display Name: Message
|
|
7216
7246
|
* * SQL Data Type: nvarchar(MAX)
|
|
7217
7247
|
* * Description: Final message from the agent to the end user at the end of a run`),
|
|
7248
|
+
LastRunID: zod_1.z.string().nullable().describe(`
|
|
7249
|
+
* * Field Name: LastRunID
|
|
7250
|
+
* * Display Name: Last Run ID
|
|
7251
|
+
* * SQL Data Type: uniqueidentifier
|
|
7252
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
7253
|
+
* * Description: Links to the previous run in a chain. Different from ParentRunID which is for sub-agent hierarchy.`),
|
|
7254
|
+
StartingPayload: zod_1.z.string().nullable().describe(`
|
|
7255
|
+
* * Field Name: StartingPayload
|
|
7256
|
+
* * Display Name: Starting Payload
|
|
7257
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
7258
|
+
* * Description: The initial payload provided at the start of this run. Can be populated from the FinalPayload of the LastRun.`),
|
|
7218
7259
|
Agent: zod_1.z.string().nullable().describe(`
|
|
7219
7260
|
* * Field Name: Agent
|
|
7220
7261
|
* * Display Name: Agent
|
|
@@ -8092,6 +8133,38 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
8092
8133
|
* * Display Name: Validation Summary
|
|
8093
8134
|
* * SQL Data Type: nvarchar(MAX)
|
|
8094
8135
|
* * Description: JSON object containing summary information about the validation process`),
|
|
8136
|
+
FailoverAttempts: zod_1.z.number().nullable().describe(`
|
|
8137
|
+
* * Field Name: FailoverAttempts
|
|
8138
|
+
* * Display Name: Failover Attempts
|
|
8139
|
+
* * SQL Data Type: int
|
|
8140
|
+
* * Default Value: 0
|
|
8141
|
+
* * Description: Number of failover attempts made during this prompt run`),
|
|
8142
|
+
FailoverErrors: zod_1.z.string().nullable().describe(`
|
|
8143
|
+
* * Field Name: FailoverErrors
|
|
8144
|
+
* * Display Name: Failover Errors
|
|
8145
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8146
|
+
* * Description: JSON array of error details from each failover attempt`),
|
|
8147
|
+
FailoverDurations: zod_1.z.string().nullable().describe(`
|
|
8148
|
+
* * Field Name: FailoverDurations
|
|
8149
|
+
* * Display Name: Failover Durations
|
|
8150
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8151
|
+
* * Description: JSON array of duration in milliseconds for each failover attempt`),
|
|
8152
|
+
OriginalRequestStartTime: zod_1.z.date().nullable().describe(`
|
|
8153
|
+
* * Field Name: OriginalRequestStartTime
|
|
8154
|
+
* * Display Name: Original Request Start Time
|
|
8155
|
+
* * SQL Data Type: datetime
|
|
8156
|
+
* * Description: Timestamp when the original request started, before any failovers`),
|
|
8157
|
+
TotalFailoverDuration: zod_1.z.number().nullable().describe(`
|
|
8158
|
+
* * Field Name: TotalFailoverDuration
|
|
8159
|
+
* * Display Name: Total Failover Duration
|
|
8160
|
+
* * SQL Data Type: int
|
|
8161
|
+
* * Description: Total time spent in failover attempts in milliseconds`),
|
|
8162
|
+
OriginalModelID: zod_1.z.string().nullable().describe(`
|
|
8163
|
+
* * Field Name: OriginalModelID
|
|
8164
|
+
* * Display Name: Original Model ID
|
|
8165
|
+
* * SQL Data Type: uniqueidentifier
|
|
8166
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
8167
|
+
* * Description: The AI Model ID that was originally attempted before any failovers`),
|
|
8095
8168
|
Prompt: zod_1.z.string().describe(`
|
|
8096
8169
|
* * Field Name: Prompt
|
|
8097
8170
|
* * Display Name: Prompt
|
|
@@ -8112,6 +8185,10 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
8112
8185
|
* * Field Name: Configuration
|
|
8113
8186
|
* * Display Name: Configuration
|
|
8114
8187
|
* * SQL Data Type: nvarchar(100)`),
|
|
8188
|
+
OriginalModel: zod_1.z.string().nullable().describe(`
|
|
8189
|
+
* * Field Name: OriginalModel
|
|
8190
|
+
* * Display Name: Original Model
|
|
8191
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
8115
8192
|
});
|
|
8116
8193
|
/**
|
|
8117
8194
|
* zod schema definition for the entity MJ: AI Vendor Type Definitions
|
|
@@ -15340,6 +15417,9 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
|
|
|
15340
15417
|
* Validate() method override for AI Prompts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
15341
15418
|
* * CacheSimilarityThreshold: This rule ensures that if a cache similarity threshold is provided, it must be a value between 0 and 1, inclusive. If no value is provided, that's also allowed.
|
|
15342
15419
|
* * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
|
|
15420
|
+
* * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
15421
|
+
* * FailoverModelStrategy: This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
|
|
15422
|
+
* * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
15343
15423
|
* * Table-Level: This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
|
|
15344
15424
|
* * Table-Level: This rule ensures that if the cache match type is set to 'Vector', the cache similarity threshold must be specified. If the match type is anything other than 'Vector', the similarity threshold can be left empty.
|
|
15345
15425
|
* * Table-Level: This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
|
|
@@ -15353,6 +15433,9 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
|
|
|
15353
15433
|
const result = super.Validate();
|
|
15354
15434
|
this.ValidateCacheSimilarityThresholdIsBetweenZeroAndOne(result);
|
|
15355
15435
|
this.ValidateCacheTTLSecondsGreaterThanZero(result);
|
|
15436
|
+
this.ValidateFailoverStrategyAllowedValues(result);
|
|
15437
|
+
this.ValidateFailoverModelStrategyAgainstAllowedValues(result);
|
|
15438
|
+
this.ValidateFailoverErrorScopeAgainstAllowedValues(result);
|
|
15356
15439
|
this.ValidateResultSelectorPromptIDNotEqualID(result);
|
|
15357
15440
|
this.ValidateCacheSimilarityThresholdRequiredForVectorCache(result);
|
|
15358
15441
|
this.ValidateParallelCountWhenParallelizationModeIsStaticCount(result);
|
|
@@ -15383,6 +15466,50 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
|
|
|
15383
15466
|
}
|
|
15384
15467
|
}
|
|
15385
15468
|
/**
|
|
15469
|
+
* This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
15470
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
15471
|
+
* @public
|
|
15472
|
+
* @method
|
|
15473
|
+
*/
|
|
15474
|
+
ValidateFailoverStrategyAllowedValues(result) {
|
|
15475
|
+
const allowed = [
|
|
15476
|
+
"None",
|
|
15477
|
+
"PowerRank",
|
|
15478
|
+
"NextBestModel",
|
|
15479
|
+
"SameModelDifferentVendor",
|
|
15480
|
+
null, // Allowing null/undefined as valid per the constraint
|
|
15481
|
+
undefined
|
|
15482
|
+
];
|
|
15483
|
+
if (!allowed.includes(this.FailoverStrategy)) {
|
|
15484
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FailoverStrategy", "The failover strategy must be 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank.", this.FailoverStrategy, core_1.ValidationErrorType.Failure));
|
|
15485
|
+
}
|
|
15486
|
+
}
|
|
15487
|
+
/**
|
|
15488
|
+
* This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
|
|
15489
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
15490
|
+
* @public
|
|
15491
|
+
* @method
|
|
15492
|
+
*/
|
|
15493
|
+
ValidateFailoverModelStrategyAgainstAllowedValues(result) {
|
|
15494
|
+
const allowedValues = ["RequireSameModel", "PreferDifferentModel", "PreferSameModel", null];
|
|
15495
|
+
if (this.FailoverModelStrategy !== null &&
|
|
15496
|
+
!allowedValues.includes(this.FailoverModelStrategy)) {
|
|
15497
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FailoverModelStrategy", "FailoverModelStrategy must be null or one of: 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel'.", this.FailoverModelStrategy, core_1.ValidationErrorType.Failure));
|
|
15498
|
+
}
|
|
15499
|
+
}
|
|
15500
|
+
/**
|
|
15501
|
+
* This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
15502
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
15503
|
+
* @public
|
|
15504
|
+
* @method
|
|
15505
|
+
*/
|
|
15506
|
+
ValidateFailoverErrorScopeAgainstAllowedValues(result) {
|
|
15507
|
+
const allowedValues = ["ServiceErrorOnly", "RateLimitOnly", "NetworkOnly", "All", null];
|
|
15508
|
+
if (!allowedValues.includes(this.FailoverErrorScope)) {
|
|
15509
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FailoverErrorScope", "The failover error scope must be one of: 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.", this.FailoverErrorScope, core_1.ValidationErrorType.Failure));
|
|
15510
|
+
}
|
|
15511
|
+
}
|
|
15512
|
+
/**
|
|
15386
15513
|
* This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
|
|
15387
15514
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
15388
15515
|
* @public
|
|
@@ -16053,6 +16180,71 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
|
|
|
16053
16180
|
this.Set('TopLogProbs', value);
|
|
16054
16181
|
}
|
|
16055
16182
|
/**
|
|
16183
|
+
* * Field Name: FailoverMaxAttempts
|
|
16184
|
+
* * Display Name: Failover Max Attempts
|
|
16185
|
+
* * SQL Data Type: int
|
|
16186
|
+
* * Default Value: 3
|
|
16187
|
+
* * Description: Maximum number of failover attempts before giving up
|
|
16188
|
+
*/
|
|
16189
|
+
get FailoverMaxAttempts() {
|
|
16190
|
+
return this.Get('FailoverMaxAttempts');
|
|
16191
|
+
}
|
|
16192
|
+
set FailoverMaxAttempts(value) {
|
|
16193
|
+
this.Set('FailoverMaxAttempts', value);
|
|
16194
|
+
}
|
|
16195
|
+
/**
|
|
16196
|
+
* * Field Name: FailoverDelaySeconds
|
|
16197
|
+
* * Display Name: Failover Delay Seconds
|
|
16198
|
+
* * SQL Data Type: int
|
|
16199
|
+
* * Default Value: 5
|
|
16200
|
+
* * Description: Initial delay in seconds between failover attempts
|
|
16201
|
+
*/
|
|
16202
|
+
get FailoverDelaySeconds() {
|
|
16203
|
+
return this.Get('FailoverDelaySeconds');
|
|
16204
|
+
}
|
|
16205
|
+
set FailoverDelaySeconds(value) {
|
|
16206
|
+
this.Set('FailoverDelaySeconds', value);
|
|
16207
|
+
}
|
|
16208
|
+
/**
|
|
16209
|
+
* * Field Name: FailoverStrategy
|
|
16210
|
+
* * Display Name: Failover Strategy
|
|
16211
|
+
* * SQL Data Type: nvarchar(50)
|
|
16212
|
+
* * Default Value: SameModelDifferentVendor
|
|
16213
|
+
* * Description: Failover strategy to use when the primary model fails. Options: SameModelDifferentVendor, NextBestModel, PowerRank, None
|
|
16214
|
+
*/
|
|
16215
|
+
get FailoverStrategy() {
|
|
16216
|
+
return this.Get('FailoverStrategy');
|
|
16217
|
+
}
|
|
16218
|
+
set FailoverStrategy(value) {
|
|
16219
|
+
this.Set('FailoverStrategy', value);
|
|
16220
|
+
}
|
|
16221
|
+
/**
|
|
16222
|
+
* * Field Name: FailoverModelStrategy
|
|
16223
|
+
* * Display Name: Failover Model Strategy
|
|
16224
|
+
* * SQL Data Type: nvarchar(50)
|
|
16225
|
+
* * Default Value: PreferSameModel
|
|
16226
|
+
* * Description: Strategy for selecting failover models. Options: PreferSameModel, PreferDifferentModel, RequireSameModel
|
|
16227
|
+
*/
|
|
16228
|
+
get FailoverModelStrategy() {
|
|
16229
|
+
return this.Get('FailoverModelStrategy');
|
|
16230
|
+
}
|
|
16231
|
+
set FailoverModelStrategy(value) {
|
|
16232
|
+
this.Set('FailoverModelStrategy', value);
|
|
16233
|
+
}
|
|
16234
|
+
/**
|
|
16235
|
+
* * Field Name: FailoverErrorScope
|
|
16236
|
+
* * Display Name: Failover Error Scope
|
|
16237
|
+
* * SQL Data Type: nvarchar(50)
|
|
16238
|
+
* * Default Value: All
|
|
16239
|
+
* * Description: Types of errors that should trigger failover. Options: All, NetworkOnly, RateLimitOnly, ServiceErrorOnly
|
|
16240
|
+
*/
|
|
16241
|
+
get FailoverErrorScope() {
|
|
16242
|
+
return this.Get('FailoverErrorScope');
|
|
16243
|
+
}
|
|
16244
|
+
set FailoverErrorScope(value) {
|
|
16245
|
+
this.Set('FailoverErrorScope', value);
|
|
16246
|
+
}
|
|
16247
|
+
/**
|
|
16056
16248
|
* * Field Name: Template
|
|
16057
16249
|
* * Display Name: Template
|
|
16058
16250
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -30185,6 +30377,31 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
30185
30377
|
this.Set('Message', value);
|
|
30186
30378
|
}
|
|
30187
30379
|
/**
|
|
30380
|
+
* * Field Name: LastRunID
|
|
30381
|
+
* * Display Name: Last Run ID
|
|
30382
|
+
* * SQL Data Type: uniqueidentifier
|
|
30383
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
30384
|
+
* * Description: Links to the previous run in a chain. Different from ParentRunID which is for sub-agent hierarchy.
|
|
30385
|
+
*/
|
|
30386
|
+
get LastRunID() {
|
|
30387
|
+
return this.Get('LastRunID');
|
|
30388
|
+
}
|
|
30389
|
+
set LastRunID(value) {
|
|
30390
|
+
this.Set('LastRunID', value);
|
|
30391
|
+
}
|
|
30392
|
+
/**
|
|
30393
|
+
* * Field Name: StartingPayload
|
|
30394
|
+
* * Display Name: Starting Payload
|
|
30395
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
30396
|
+
* * Description: The initial payload provided at the start of this run. Can be populated from the FinalPayload of the LastRun.
|
|
30397
|
+
*/
|
|
30398
|
+
get StartingPayload() {
|
|
30399
|
+
return this.Get('StartingPayload');
|
|
30400
|
+
}
|
|
30401
|
+
set StartingPayload(value) {
|
|
30402
|
+
this.Set('StartingPayload', value);
|
|
30403
|
+
}
|
|
30404
|
+
/**
|
|
30188
30405
|
* * Field Name: Agent
|
|
30189
30406
|
* * Display Name: Agent
|
|
30190
30407
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -32552,6 +32769,80 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
32552
32769
|
this.Set('ValidationSummary', value);
|
|
32553
32770
|
}
|
|
32554
32771
|
/**
|
|
32772
|
+
* * Field Name: FailoverAttempts
|
|
32773
|
+
* * Display Name: Failover Attempts
|
|
32774
|
+
* * SQL Data Type: int
|
|
32775
|
+
* * Default Value: 0
|
|
32776
|
+
* * Description: Number of failover attempts made during this prompt run
|
|
32777
|
+
*/
|
|
32778
|
+
get FailoverAttempts() {
|
|
32779
|
+
return this.Get('FailoverAttempts');
|
|
32780
|
+
}
|
|
32781
|
+
set FailoverAttempts(value) {
|
|
32782
|
+
this.Set('FailoverAttempts', value);
|
|
32783
|
+
}
|
|
32784
|
+
/**
|
|
32785
|
+
* * Field Name: FailoverErrors
|
|
32786
|
+
* * Display Name: Failover Errors
|
|
32787
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
32788
|
+
* * Description: JSON array of error details from each failover attempt
|
|
32789
|
+
*/
|
|
32790
|
+
get FailoverErrors() {
|
|
32791
|
+
return this.Get('FailoverErrors');
|
|
32792
|
+
}
|
|
32793
|
+
set FailoverErrors(value) {
|
|
32794
|
+
this.Set('FailoverErrors', value);
|
|
32795
|
+
}
|
|
32796
|
+
/**
|
|
32797
|
+
* * Field Name: FailoverDurations
|
|
32798
|
+
* * Display Name: Failover Durations
|
|
32799
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
32800
|
+
* * Description: JSON array of duration in milliseconds for each failover attempt
|
|
32801
|
+
*/
|
|
32802
|
+
get FailoverDurations() {
|
|
32803
|
+
return this.Get('FailoverDurations');
|
|
32804
|
+
}
|
|
32805
|
+
set FailoverDurations(value) {
|
|
32806
|
+
this.Set('FailoverDurations', value);
|
|
32807
|
+
}
|
|
32808
|
+
/**
|
|
32809
|
+
* * Field Name: OriginalRequestStartTime
|
|
32810
|
+
* * Display Name: Original Request Start Time
|
|
32811
|
+
* * SQL Data Type: datetime
|
|
32812
|
+
* * Description: Timestamp when the original request started, before any failovers
|
|
32813
|
+
*/
|
|
32814
|
+
get OriginalRequestStartTime() {
|
|
32815
|
+
return this.Get('OriginalRequestStartTime');
|
|
32816
|
+
}
|
|
32817
|
+
set OriginalRequestStartTime(value) {
|
|
32818
|
+
this.Set('OriginalRequestStartTime', value);
|
|
32819
|
+
}
|
|
32820
|
+
/**
|
|
32821
|
+
* * Field Name: TotalFailoverDuration
|
|
32822
|
+
* * Display Name: Total Failover Duration
|
|
32823
|
+
* * SQL Data Type: int
|
|
32824
|
+
* * Description: Total time spent in failover attempts in milliseconds
|
|
32825
|
+
*/
|
|
32826
|
+
get TotalFailoverDuration() {
|
|
32827
|
+
return this.Get('TotalFailoverDuration');
|
|
32828
|
+
}
|
|
32829
|
+
set TotalFailoverDuration(value) {
|
|
32830
|
+
this.Set('TotalFailoverDuration', value);
|
|
32831
|
+
}
|
|
32832
|
+
/**
|
|
32833
|
+
* * Field Name: OriginalModelID
|
|
32834
|
+
* * Display Name: Original Model ID
|
|
32835
|
+
* * SQL Data Type: uniqueidentifier
|
|
32836
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
32837
|
+
* * Description: The AI Model ID that was originally attempted before any failovers
|
|
32838
|
+
*/
|
|
32839
|
+
get OriginalModelID() {
|
|
32840
|
+
return this.Get('OriginalModelID');
|
|
32841
|
+
}
|
|
32842
|
+
set OriginalModelID(value) {
|
|
32843
|
+
this.Set('OriginalModelID', value);
|
|
32844
|
+
}
|
|
32845
|
+
/**
|
|
32555
32846
|
* * Field Name: Prompt
|
|
32556
32847
|
* * Display Name: Prompt
|
|
32557
32848
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -32591,6 +32882,14 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
32591
32882
|
get Configuration() {
|
|
32592
32883
|
return this.Get('Configuration');
|
|
32593
32884
|
}
|
|
32885
|
+
/**
|
|
32886
|
+
* * Field Name: OriginalModel
|
|
32887
|
+
* * Display Name: Original Model
|
|
32888
|
+
* * SQL Data Type: nvarchar(50)
|
|
32889
|
+
*/
|
|
32890
|
+
get OriginalModel() {
|
|
32891
|
+
return this.Get('OriginalModel');
|
|
32892
|
+
}
|
|
32594
32893
|
};
|
|
32595
32894
|
exports.AIPromptRunEntity = AIPromptRunEntity;
|
|
32596
32895
|
exports.AIPromptRunEntity = AIPromptRunEntity = __decorate([
|