@memberjunction/core-entities 2.80.1 → 2.82.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.
|
@@ -686,6 +686,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
686
686
|
MaxExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
|
|
687
687
|
StartingPayloadValidation: z.ZodNullable<z.ZodString>;
|
|
688
688
|
StartingPayloadValidationMode: z.ZodUnion<[z.ZodLiteral<"Fail">, z.ZodLiteral<"Warn">]>;
|
|
689
|
+
DefaultPromptEffortLevel: z.ZodNullable<z.ZodNumber>;
|
|
689
690
|
Parent: z.ZodNullable<z.ZodString>;
|
|
690
691
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
691
692
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -727,6 +728,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
727
728
|
MaxTimePerRun?: number;
|
|
728
729
|
StartingPayloadValidation?: string;
|
|
729
730
|
StartingPayloadValidationMode?: "Fail" | "Warn";
|
|
731
|
+
DefaultPromptEffortLevel?: number;
|
|
730
732
|
ContextCompressionPrompt?: string;
|
|
731
733
|
}, {
|
|
732
734
|
ID?: string;
|
|
@@ -766,6 +768,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
766
768
|
MaxTimePerRun?: number;
|
|
767
769
|
StartingPayloadValidation?: string;
|
|
768
770
|
StartingPayloadValidationMode?: "Fail" | "Warn";
|
|
771
|
+
DefaultPromptEffortLevel?: number;
|
|
769
772
|
ContextCompressionPrompt?: string;
|
|
770
773
|
}>;
|
|
771
774
|
export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
|
|
@@ -995,6 +998,7 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
995
998
|
FailoverDelaySeconds: z.ZodNullable<z.ZodNumber>;
|
|
996
999
|
FailoverModelStrategy: z.ZodString;
|
|
997
1000
|
FailoverErrorScope: z.ZodString;
|
|
1001
|
+
EffortLevel: z.ZodNullable<z.ZodNumber>;
|
|
998
1002
|
Template: z.ZodString;
|
|
999
1003
|
Category: z.ZodNullable<z.ZodString>;
|
|
1000
1004
|
Type: z.ZodString;
|
|
@@ -1054,6 +1058,7 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1054
1058
|
FailoverDelaySeconds?: number;
|
|
1055
1059
|
FailoverModelStrategy?: string;
|
|
1056
1060
|
FailoverErrorScope?: string;
|
|
1061
|
+
EffortLevel?: number;
|
|
1057
1062
|
Template?: string;
|
|
1058
1063
|
ResultSelectorPrompt?: string;
|
|
1059
1064
|
}, {
|
|
@@ -1110,6 +1115,7 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1110
1115
|
FailoverDelaySeconds?: number;
|
|
1111
1116
|
FailoverModelStrategy?: string;
|
|
1112
1117
|
FailoverErrorScope?: string;
|
|
1118
|
+
EffortLevel?: number;
|
|
1113
1119
|
Template?: string;
|
|
1114
1120
|
ResultSelectorPrompt?: string;
|
|
1115
1121
|
}>;
|
|
@@ -3010,6 +3016,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
3010
3016
|
RowCount: z.ZodNullable<z.ZodNumber>;
|
|
3011
3017
|
RowCountRunAt: z.ZodNullable<z.ZodDate>;
|
|
3012
3018
|
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
|
|
3019
|
+
DisplayName: z.ZodNullable<z.ZodString>;
|
|
3013
3020
|
CodeName: z.ZodNullable<z.ZodString>;
|
|
3014
3021
|
ClassName: z.ZodNullable<z.ZodString>;
|
|
3015
3022
|
BaseTableCodeName: z.ZodNullable<z.ZodString>;
|
|
@@ -3074,6 +3081,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
3074
3081
|
AutoRowCountFrequency?: number;
|
|
3075
3082
|
RowCount?: number;
|
|
3076
3083
|
RowCountRunAt?: Date;
|
|
3084
|
+
DisplayName?: string;
|
|
3077
3085
|
ClassName?: string;
|
|
3078
3086
|
BaseTableCodeName?: string;
|
|
3079
3087
|
ParentEntity?: string;
|
|
@@ -3137,6 +3145,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
3137
3145
|
AutoRowCountFrequency?: number;
|
|
3138
3146
|
RowCount?: number;
|
|
3139
3147
|
RowCountRunAt?: Date;
|
|
3148
|
+
DisplayName?: string;
|
|
3140
3149
|
ClassName?: string;
|
|
3141
3150
|
BaseTableCodeName?: string;
|
|
3142
3151
|
ParentEntity?: string;
|
|
@@ -4795,6 +4804,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4795
4804
|
OverrideVendorID: z.ZodNullable<z.ZodString>;
|
|
4796
4805
|
Data: z.ZodNullable<z.ZodString>;
|
|
4797
4806
|
Verbose: z.ZodNullable<z.ZodBoolean>;
|
|
4807
|
+
EffortLevel: z.ZodNullable<z.ZodNumber>;
|
|
4798
4808
|
Agent: z.ZodNullable<z.ZodString>;
|
|
4799
4809
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
4800
4810
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -4812,6 +4822,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4812
4822
|
User?: string;
|
|
4813
4823
|
AgentID?: string;
|
|
4814
4824
|
Agent?: string;
|
|
4825
|
+
EffortLevel?: number;
|
|
4815
4826
|
ConfigurationID?: string;
|
|
4816
4827
|
Configuration?: string;
|
|
4817
4828
|
Success?: boolean;
|
|
@@ -4855,6 +4866,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4855
4866
|
User?: string;
|
|
4856
4867
|
AgentID?: string;
|
|
4857
4868
|
Agent?: string;
|
|
4869
|
+
EffortLevel?: number;
|
|
4858
4870
|
ConfigurationID?: string;
|
|
4859
4871
|
Configuration?: string;
|
|
4860
4872
|
Success?: boolean;
|
|
@@ -5269,10 +5281,10 @@ export declare const AIModelVendorSchema: z.ZodObject<{
|
|
|
5269
5281
|
SupportsStreaming: z.ZodBoolean;
|
|
5270
5282
|
__mj_CreatedAt: z.ZodDate;
|
|
5271
5283
|
__mj_UpdatedAt: z.ZodDate;
|
|
5272
|
-
TypeID: z.
|
|
5284
|
+
TypeID: z.ZodString;
|
|
5273
5285
|
Model: z.ZodString;
|
|
5274
5286
|
Vendor: z.ZodString;
|
|
5275
|
-
Type: z.
|
|
5287
|
+
Type: z.ZodString;
|
|
5276
5288
|
}, "strip", z.ZodTypeAny, {
|
|
5277
5289
|
ID?: string;
|
|
5278
5290
|
__mj_CreatedAt?: Date;
|
|
@@ -5461,6 +5473,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5461
5473
|
PromptTime: z.ZodNullable<z.ZodNumber>;
|
|
5462
5474
|
CompletionTime: z.ZodNullable<z.ZodNumber>;
|
|
5463
5475
|
ModelSpecificResponseDetails: z.ZodNullable<z.ZodString>;
|
|
5476
|
+
EffortLevel: z.ZodNullable<z.ZodNumber>;
|
|
5464
5477
|
Prompt: z.ZodString;
|
|
5465
5478
|
Model: z.ZodString;
|
|
5466
5479
|
Vendor: z.ZodString;
|
|
@@ -5494,6 +5507,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5494
5507
|
Seed?: number;
|
|
5495
5508
|
StopSequences?: string;
|
|
5496
5509
|
TopLogProbs?: number;
|
|
5510
|
+
EffortLevel?: number;
|
|
5497
5511
|
RunAt?: Date;
|
|
5498
5512
|
VendorID?: string;
|
|
5499
5513
|
ConfigurationID?: string;
|
|
@@ -5583,6 +5597,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5583
5597
|
Seed?: number;
|
|
5584
5598
|
StopSequences?: string;
|
|
5585
5599
|
TopLogProbs?: number;
|
|
5600
|
+
EffortLevel?: number;
|
|
5586
5601
|
RunAt?: Date;
|
|
5587
5602
|
VendorID?: string;
|
|
5588
5603
|
ConfigurationID?: string;
|
|
@@ -6148,6 +6163,10 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
6148
6163
|
__mj_CreatedAt: z.ZodDate;
|
|
6149
6164
|
__mj_UpdatedAt: z.ZodDate;
|
|
6150
6165
|
UsesTemplate: z.ZodNullable<z.ZodBoolean>;
|
|
6166
|
+
AuditQueryRuns: z.ZodBoolean;
|
|
6167
|
+
CacheEnabled: z.ZodBoolean;
|
|
6168
|
+
CacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6169
|
+
CacheMaxSize: z.ZodNullable<z.ZodNumber>;
|
|
6151
6170
|
Category: z.ZodNullable<z.ZodString>;
|
|
6152
6171
|
}, "strip", z.ZodTypeAny, {
|
|
6153
6172
|
ID?: string;
|
|
@@ -6166,6 +6185,10 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
6166
6185
|
QualityRank?: number;
|
|
6167
6186
|
ExecutionCostRank?: number;
|
|
6168
6187
|
UsesTemplate?: boolean;
|
|
6188
|
+
AuditQueryRuns?: boolean;
|
|
6189
|
+
CacheEnabled?: boolean;
|
|
6190
|
+
CacheTTLMinutes?: number;
|
|
6191
|
+
CacheMaxSize?: number;
|
|
6169
6192
|
}, {
|
|
6170
6193
|
ID?: string;
|
|
6171
6194
|
__mj_CreatedAt?: Date;
|
|
@@ -6183,6 +6206,10 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
6183
6206
|
QualityRank?: number;
|
|
6184
6207
|
ExecutionCostRank?: number;
|
|
6185
6208
|
UsesTemplate?: boolean;
|
|
6209
|
+
AuditQueryRuns?: boolean;
|
|
6210
|
+
CacheEnabled?: boolean;
|
|
6211
|
+
CacheTTLMinutes?: number;
|
|
6212
|
+
CacheMaxSize?: number;
|
|
6186
6213
|
}>;
|
|
6187
6214
|
export type QueryEntityType = z.infer<typeof QuerySchema>;
|
|
6188
6215
|
/**
|
|
@@ -6196,6 +6223,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
|
|
|
6196
6223
|
UserID: z.ZodString;
|
|
6197
6224
|
__mj_CreatedAt: z.ZodDate;
|
|
6198
6225
|
__mj_UpdatedAt: z.ZodDate;
|
|
6226
|
+
DefaultCacheEnabled: z.ZodBoolean;
|
|
6227
|
+
DefaultCacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6228
|
+
DefaultCacheMaxSize: z.ZodNullable<z.ZodNumber>;
|
|
6229
|
+
CacheInheritanceEnabled: z.ZodBoolean;
|
|
6199
6230
|
Parent: z.ZodNullable<z.ZodString>;
|
|
6200
6231
|
User: z.ZodString;
|
|
6201
6232
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6208,6 +6239,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
|
|
|
6208
6239
|
Parent?: string;
|
|
6209
6240
|
UserID?: string;
|
|
6210
6241
|
User?: string;
|
|
6242
|
+
DefaultCacheEnabled?: boolean;
|
|
6243
|
+
DefaultCacheTTLMinutes?: number;
|
|
6244
|
+
DefaultCacheMaxSize?: number;
|
|
6245
|
+
CacheInheritanceEnabled?: boolean;
|
|
6211
6246
|
}, {
|
|
6212
6247
|
ID?: string;
|
|
6213
6248
|
__mj_CreatedAt?: Date;
|
|
@@ -6218,6 +6253,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
|
|
|
6218
6253
|
Parent?: string;
|
|
6219
6254
|
UserID?: string;
|
|
6220
6255
|
User?: string;
|
|
6256
|
+
DefaultCacheEnabled?: boolean;
|
|
6257
|
+
DefaultCacheTTLMinutes?: number;
|
|
6258
|
+
DefaultCacheMaxSize?: number;
|
|
6259
|
+
CacheInheritanceEnabled?: boolean;
|
|
6221
6260
|
}>;
|
|
6222
6261
|
export type QueryCategoryEntityType = z.infer<typeof QueryCategorySchema>;
|
|
6223
6262
|
/**
|
|
@@ -10193,6 +10232,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
10193
10232
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10194
10233
|
/**
|
|
10195
10234
|
* Validate() method override for AI Agents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10235
|
+
* * DefaultPromptEffortLevel: This rule ensures that the DefaultPromptEffortLevel must always be a value between 1 and 100, inclusive.
|
|
10196
10236
|
* * MaxExecutionsPerRun: This rule ensures that the maximum number of executions per run can either be left blank (unspecified) or, if provided, it must be a positive number greater than zero.
|
|
10197
10237
|
* * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
|
|
10198
10238
|
* * Table-Level: This rule ensures that if context compression is enabled, all related settings (message threshold, prompt ID, and message retention count) must be specified. If context compression is not enabled, these settings may be left unspecified.
|
|
@@ -10204,6 +10244,13 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
10204
10244
|
*/
|
|
10205
10245
|
Validate(): ValidationResult;
|
|
10206
10246
|
/**
|
|
10247
|
+
* This rule ensures that the DefaultPromptEffortLevel must always be a value between 1 and 100, inclusive.
|
|
10248
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10249
|
+
* @public
|
|
10250
|
+
* @method
|
|
10251
|
+
*/
|
|
10252
|
+
ValidateDefaultPromptEffortLevelWithinRange(result: ValidationResult): void;
|
|
10253
|
+
/**
|
|
10207
10254
|
* This rule ensures that the maximum number of executions per run can either be left blank (unspecified) or, if provided, it must be a positive number greater than zero.
|
|
10208
10255
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10209
10256
|
* @public
|
|
@@ -10554,6 +10601,14 @@ if this limit is exceeded.
|
|
|
10554
10601
|
get StartingPayloadValidationMode(): 'Fail' | 'Warn';
|
|
10555
10602
|
set StartingPayloadValidationMode(value: 'Fail' | 'Warn');
|
|
10556
10603
|
/**
|
|
10604
|
+
* * Field Name: DefaultPromptEffortLevel
|
|
10605
|
+
* * Display Name: Default Prompt Effort Level
|
|
10606
|
+
* * SQL Data Type: int
|
|
10607
|
+
* * Description: Default effort level for all prompts executed by this agent (1-100, where 1=minimal effort, 100=maximum effort). Takes precedence over individual prompt EffortLevel settings but can be overridden by runtime parameters. Inherited by sub-agents unless explicitly overridden.
|
|
10608
|
+
*/
|
|
10609
|
+
get DefaultPromptEffortLevel(): number | null;
|
|
10610
|
+
set DefaultPromptEffortLevel(value: number | null);
|
|
10611
|
+
/**
|
|
10557
10612
|
* * Field Name: Parent
|
|
10558
10613
|
* * Display Name: Parent
|
|
10559
10614
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -11075,6 +11130,7 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
11075
11130
|
* 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:
|
|
11076
11131
|
* * 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.
|
|
11077
11132
|
* * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
|
|
11133
|
+
* * EffortLevel: This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
|
|
11078
11134
|
* * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
11079
11135
|
* * 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.
|
|
11080
11136
|
* * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
@@ -11103,6 +11159,13 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
11103
11159
|
*/
|
|
11104
11160
|
ValidateCacheTTLSecondsGreaterThanZero(result: ValidationResult): void;
|
|
11105
11161
|
/**
|
|
11162
|
+
* This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
|
|
11163
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11164
|
+
* @public
|
|
11165
|
+
* @method
|
|
11166
|
+
*/
|
|
11167
|
+
ValidateEffortLevelIsWithinRange(result: ValidationResult): void;
|
|
11168
|
+
/**
|
|
11106
11169
|
* This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
11107
11170
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11108
11171
|
* @public
|
|
@@ -11643,6 +11706,14 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
11643
11706
|
get FailoverErrorScope(): string;
|
|
11644
11707
|
set FailoverErrorScope(value: string);
|
|
11645
11708
|
/**
|
|
11709
|
+
* * Field Name: EffortLevel
|
|
11710
|
+
* * Display Name: Effort Level
|
|
11711
|
+
* * SQL Data Type: int
|
|
11712
|
+
* * Description: Effort level for this specific prompt (1-100, where 1=minimal effort, 100=maximum effort). Higher values request more thorough reasoning and analysis. Can be overridden by agent DefaultPromptEffortLevel or runtime parameters.
|
|
11713
|
+
*/
|
|
11714
|
+
get EffortLevel(): number | null;
|
|
11715
|
+
set EffortLevel(value: number | null);
|
|
11716
|
+
/**
|
|
11646
11717
|
* * Field Name: Template
|
|
11647
11718
|
* * Display Name: Template
|
|
11648
11719
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -17155,6 +17226,14 @@ export declare class EntityEntity extends BaseEntity<EntityEntityType> {
|
|
|
17155
17226
|
get Status(): 'Active' | 'Deprecated' | 'Disabled';
|
|
17156
17227
|
set Status(value: 'Active' | 'Deprecated' | 'Disabled');
|
|
17157
17228
|
/**
|
|
17229
|
+
* * Field Name: DisplayName
|
|
17230
|
+
* * Display Name: Display Name
|
|
17231
|
+
* * SQL Data Type: nvarchar(255)
|
|
17232
|
+
* * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.
|
|
17233
|
+
*/
|
|
17234
|
+
get DisplayName(): string | null;
|
|
17235
|
+
set DisplayName(value: string | null);
|
|
17236
|
+
/**
|
|
17158
17237
|
* * Field Name: CodeName
|
|
17159
17238
|
* * Display Name: Code Name
|
|
17160
17239
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -21653,6 +21732,21 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
21653
21732
|
*/
|
|
21654
21733
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21655
21734
|
/**
|
|
21735
|
+
* Validate() method override for MJ: AI Agent Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
21736
|
+
* * EffortLevel: This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
|
|
21737
|
+
* @public
|
|
21738
|
+
* @method
|
|
21739
|
+
* @override
|
|
21740
|
+
*/
|
|
21741
|
+
Validate(): ValidationResult;
|
|
21742
|
+
/**
|
|
21743
|
+
* This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
|
|
21744
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21745
|
+
* @public
|
|
21746
|
+
* @method
|
|
21747
|
+
*/
|
|
21748
|
+
ValidateEffortLevelWithinAllowedRange(result: ValidationResult): void;
|
|
21749
|
+
/**
|
|
21656
21750
|
* * Field Name: ID
|
|
21657
21751
|
* * Display Name: ID
|
|
21658
21752
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -21977,6 +22071,14 @@ each time the agent processes a prompt step.
|
|
|
21977
22071
|
get Verbose(): boolean | null;
|
|
21978
22072
|
set Verbose(value: boolean | null);
|
|
21979
22073
|
/**
|
|
22074
|
+
* * Field Name: EffortLevel
|
|
22075
|
+
* * Display Name: Effort Level
|
|
22076
|
+
* * SQL Data Type: int
|
|
22077
|
+
* * Description: Effort level that was actually used during this agent run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt defaults.
|
|
22078
|
+
*/
|
|
22079
|
+
get EffortLevel(): number | null;
|
|
22080
|
+
set EffortLevel(value: number | null);
|
|
22081
|
+
/**
|
|
21980
22082
|
* * Field Name: Agent
|
|
21981
22083
|
* * Display Name: Agent
|
|
21982
22084
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -23314,8 +23416,8 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
|
|
|
23314
23416
|
* * Related Entity/Foreign Key: MJ: AI Vendor Type Definitions (vwAIVendorTypeDefinitions.ID)
|
|
23315
23417
|
* * Description: References the type/role of the vendor for this model (e.g., model developer, inference provider)
|
|
23316
23418
|
*/
|
|
23317
|
-
get TypeID(): string
|
|
23318
|
-
set TypeID(value: string
|
|
23419
|
+
get TypeID(): string;
|
|
23420
|
+
set TypeID(value: string);
|
|
23319
23421
|
/**
|
|
23320
23422
|
* * Field Name: Model
|
|
23321
23423
|
* * Display Name: Model
|
|
@@ -23333,7 +23435,7 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
|
|
|
23333
23435
|
* * Display Name: Type
|
|
23334
23436
|
* * SQL Data Type: nvarchar(50)
|
|
23335
23437
|
*/
|
|
23336
|
-
get Type(): string
|
|
23438
|
+
get Type(): string;
|
|
23337
23439
|
}
|
|
23338
23440
|
/**
|
|
23339
23441
|
* MJ: AI Prompt Models - strongly typed entity sub-class
|
|
@@ -23579,6 +23681,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
23579
23681
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23580
23682
|
/**
|
|
23581
23683
|
* Validate() method override for MJ: AI Prompt Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
23684
|
+
* * EffortLevel: This rule ensures that the effort level must be a number between 1 and 100, inclusive.
|
|
23582
23685
|
* * Table-Level: This rule ensures that if the 'CompletedAt' field has a value, it must be on or after the 'RunAt' field. Otherwise, if 'CompletedAt' is empty, there is no restriction.
|
|
23583
23686
|
* * Table-Level: This rule ensures that either both TokensPrompt and TokensCompletion are missing, or TokensUsed is missing, or, if all values are present, the value of TokensUsed equals the sum of TokensPrompt and TokensCompletion.
|
|
23584
23687
|
* @public
|
|
@@ -23587,6 +23690,13 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
23587
23690
|
*/
|
|
23588
23691
|
Validate(): ValidationResult;
|
|
23589
23692
|
/**
|
|
23693
|
+
* This rule ensures that the effort level must be a number between 1 and 100, inclusive.
|
|
23694
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23695
|
+
* @public
|
|
23696
|
+
* @method
|
|
23697
|
+
*/
|
|
23698
|
+
ValidateEffortLevelWithinRange(result: ValidationResult): void;
|
|
23699
|
+
/**
|
|
23590
23700
|
* This rule ensures that if the 'CompletedAt' field has a value, it must be on or after the 'RunAt' field. Otherwise, if 'CompletedAt' is empty, there is no restriction.
|
|
23591
23701
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23592
23702
|
* @public
|
|
@@ -24277,6 +24387,14 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
24277
24387
|
get ModelSpecificResponseDetails(): string | null;
|
|
24278
24388
|
set ModelSpecificResponseDetails(value: string | null);
|
|
24279
24389
|
/**
|
|
24390
|
+
* * Field Name: EffortLevel
|
|
24391
|
+
* * Display Name: Effort Level
|
|
24392
|
+
* * SQL Data Type: int
|
|
24393
|
+
* * Description: Effort level that was actually used during this prompt run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt default > provider default.
|
|
24394
|
+
*/
|
|
24395
|
+
get EffortLevel(): number | null;
|
|
24396
|
+
set EffortLevel(value: number | null);
|
|
24397
|
+
/**
|
|
24280
24398
|
* * Field Name: Prompt
|
|
24281
24399
|
* * Display Name: Prompt
|
|
24282
24400
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -25881,6 +25999,40 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
|
|
|
25881
25999
|
get UsesTemplate(): boolean | null;
|
|
25882
26000
|
set UsesTemplate(value: boolean | null);
|
|
25883
26001
|
/**
|
|
26002
|
+
* * Field Name: AuditQueryRuns
|
|
26003
|
+
* * Display Name: Audit Query Runs
|
|
26004
|
+
* * SQL Data Type: bit
|
|
26005
|
+
* * Default Value: 0
|
|
26006
|
+
* * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance
|
|
26007
|
+
*/
|
|
26008
|
+
get AuditQueryRuns(): boolean;
|
|
26009
|
+
set AuditQueryRuns(value: boolean);
|
|
26010
|
+
/**
|
|
26011
|
+
* * Field Name: CacheEnabled
|
|
26012
|
+
* * Display Name: Cache Enabled
|
|
26013
|
+
* * SQL Data Type: bit
|
|
26014
|
+
* * Default Value: 0
|
|
26015
|
+
* * Description: When true, query results will be cached in memory with TTL expiration
|
|
26016
|
+
*/
|
|
26017
|
+
get CacheEnabled(): boolean;
|
|
26018
|
+
set CacheEnabled(value: boolean);
|
|
26019
|
+
/**
|
|
26020
|
+
* * Field Name: CacheTTLMinutes
|
|
26021
|
+
* * Display Name: Cache TTL Minutes
|
|
26022
|
+
* * SQL Data Type: int
|
|
26023
|
+
* * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.
|
|
26024
|
+
*/
|
|
26025
|
+
get CacheTTLMinutes(): number | null;
|
|
26026
|
+
set CacheTTLMinutes(value: number | null);
|
|
26027
|
+
/**
|
|
26028
|
+
* * Field Name: CacheMaxSize
|
|
26029
|
+
* * Display Name: Cache Max Size
|
|
26030
|
+
* * SQL Data Type: int
|
|
26031
|
+
* * Description: Maximum number of cached result sets for this query. NULL uses default size limit.
|
|
26032
|
+
*/
|
|
26033
|
+
get CacheMaxSize(): number | null;
|
|
26034
|
+
set CacheMaxSize(value: number | null);
|
|
26035
|
+
/**
|
|
25884
26036
|
* * Field Name: Category
|
|
25885
26037
|
* * Display Name: Category
|
|
25886
26038
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -25964,6 +26116,40 @@ export declare class QueryCategoryEntity extends BaseEntity<QueryCategoryEntityT
|
|
|
25964
26116
|
*/
|
|
25965
26117
|
get __mj_UpdatedAt(): Date;
|
|
25966
26118
|
/**
|
|
26119
|
+
* * Field Name: DefaultCacheEnabled
|
|
26120
|
+
* * Display Name: Default Cache Enabled
|
|
26121
|
+
* * SQL Data Type: bit
|
|
26122
|
+
* * Default Value: 0
|
|
26123
|
+
* * Description: Default cache setting for queries in this category
|
|
26124
|
+
*/
|
|
26125
|
+
get DefaultCacheEnabled(): boolean;
|
|
26126
|
+
set DefaultCacheEnabled(value: boolean);
|
|
26127
|
+
/**
|
|
26128
|
+
* * Field Name: DefaultCacheTTLMinutes
|
|
26129
|
+
* * Display Name: Default Cache TTL Minutes
|
|
26130
|
+
* * SQL Data Type: int
|
|
26131
|
+
* * Description: Default TTL in minutes for cached results of queries in this category
|
|
26132
|
+
*/
|
|
26133
|
+
get DefaultCacheTTLMinutes(): number | null;
|
|
26134
|
+
set DefaultCacheTTLMinutes(value: number | null);
|
|
26135
|
+
/**
|
|
26136
|
+
* * Field Name: DefaultCacheMaxSize
|
|
26137
|
+
* * Display Name: Default Cache Max Size
|
|
26138
|
+
* * SQL Data Type: int
|
|
26139
|
+
* * Description: Default maximum cache size for queries in this category
|
|
26140
|
+
*/
|
|
26141
|
+
get DefaultCacheMaxSize(): number | null;
|
|
26142
|
+
set DefaultCacheMaxSize(value: number | null);
|
|
26143
|
+
/**
|
|
26144
|
+
* * Field Name: CacheInheritanceEnabled
|
|
26145
|
+
* * Display Name: Cache Inheritance Enabled
|
|
26146
|
+
* * SQL Data Type: bit
|
|
26147
|
+
* * Default Value: 1
|
|
26148
|
+
* * Description: When true, queries without cache config will inherit from this category
|
|
26149
|
+
*/
|
|
26150
|
+
get CacheInheritanceEnabled(): boolean;
|
|
26151
|
+
set CacheInheritanceEnabled(value: boolean);
|
|
26152
|
+
/**
|
|
25967
26153
|
* * Field Name: Parent
|
|
25968
26154
|
* * Display Name: Parent
|
|
25969
26155
|
* * SQL Data Type: nvarchar(50)
|