@memberjunction/core-entities 2.78.0 → 2.80.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.
|
@@ -7559,6 +7559,35 @@ exports.AIAgentRunSchema = zod_1.z.object({
|
|
|
7559
7559
|
* * Default Value: 0
|
|
7560
7560
|
* * Description: Total number of prompt iterations executed during this agent run. Incremented
|
|
7561
7561
|
each time the agent processes a prompt step.`),
|
|
7562
|
+
ConfigurationID: zod_1.z.string().nullable().describe(`
|
|
7563
|
+
* * Field Name: ConfigurationID
|
|
7564
|
+
* * Display Name: Configuration ID
|
|
7565
|
+
* * SQL Data Type: uniqueidentifier
|
|
7566
|
+
* * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
|
|
7567
|
+
* * Description: The AI Configuration used for this agent execution. When set, this configuration was used for all prompts executed by this agent and its sub-agents.`),
|
|
7568
|
+
OverrideModelID: zod_1.z.string().nullable().describe(`
|
|
7569
|
+
* * Field Name: OverrideModelID
|
|
7570
|
+
* * Display Name: Override Model ID
|
|
7571
|
+
* * SQL Data Type: uniqueidentifier
|
|
7572
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
7573
|
+
* * Description: Runtime model override that was used for this execution. When set, this model took precedence over all other model selection methods.`),
|
|
7574
|
+
OverrideVendorID: zod_1.z.string().nullable().describe(`
|
|
7575
|
+
* * Field Name: OverrideVendorID
|
|
7576
|
+
* * Display Name: Override Vendor ID
|
|
7577
|
+
* * SQL Data Type: uniqueidentifier
|
|
7578
|
+
* * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
|
|
7579
|
+
* * Description: Runtime vendor override that was used for this execution. When set along with OverrideModelID, this vendor was used to provide the model.`),
|
|
7580
|
+
Data: zod_1.z.string().nullable().describe(`
|
|
7581
|
+
* * Field Name: Data
|
|
7582
|
+
* * Display Name: Data
|
|
7583
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
7584
|
+
* * Description: JSON serialized data that was passed for template rendering and prompt execution. This data was passed to the agent's prompt as well as all sub-agents.`),
|
|
7585
|
+
Verbose: zod_1.z.boolean().nullable().describe(`
|
|
7586
|
+
* * Field Name: Verbose
|
|
7587
|
+
* * Display Name: Verbose
|
|
7588
|
+
* * SQL Data Type: bit
|
|
7589
|
+
* * Default Value: 0
|
|
7590
|
+
* * Description: Indicates whether verbose logging was enabled during this agent execution. When true, detailed decision-making and execution flow was logged.`),
|
|
7562
7591
|
Agent: zod_1.z.string().nullable().describe(`
|
|
7563
7592
|
* * Field Name: Agent
|
|
7564
7593
|
* * Display Name: Agent
|
|
@@ -7571,6 +7600,18 @@ each time the agent processes a prompt step.`),
|
|
|
7571
7600
|
* * Field Name: User
|
|
7572
7601
|
* * Display Name: User
|
|
7573
7602
|
* * SQL Data Type: nvarchar(100)`),
|
|
7603
|
+
Configuration: zod_1.z.string().nullable().describe(`
|
|
7604
|
+
* * Field Name: Configuration
|
|
7605
|
+
* * Display Name: Configuration
|
|
7606
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
7607
|
+
OverrideModel: zod_1.z.string().nullable().describe(`
|
|
7608
|
+
* * Field Name: OverrideModel
|
|
7609
|
+
* * Display Name: Override Model
|
|
7610
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
7611
|
+
OverrideVendor: zod_1.z.string().nullable().describe(`
|
|
7612
|
+
* * Field Name: OverrideVendor
|
|
7613
|
+
* * Display Name: Override Vendor
|
|
7614
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
7574
7615
|
});
|
|
7575
7616
|
/**
|
|
7576
7617
|
* zod schema definition for the entity MJ: AI Agent Step Paths
|
|
@@ -8776,6 +8817,32 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
8776
8817
|
* * Display Name: Error Details
|
|
8777
8818
|
* * SQL Data Type: nvarchar(MAX)
|
|
8778
8819
|
* * Description: Detailed error information in JSON format if the prompt execution failed, including stack traces and error codes`),
|
|
8820
|
+
ChildPromptID: zod_1.z.string().nullable().describe(`
|
|
8821
|
+
* * Field Name: ChildPromptID
|
|
8822
|
+
* * Display Name: Child Prompt ID
|
|
8823
|
+
* * SQL Data Type: uniqueidentifier
|
|
8824
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
8825
|
+
* * Description: References the specific child prompt that was executed as part of hierarchical prompt composition. NULL for regular prompts or parent prompts that don't directly execute a child.`),
|
|
8826
|
+
QueueTime: zod_1.z.number().nullable().describe(`
|
|
8827
|
+
* * Field Name: QueueTime
|
|
8828
|
+
* * Display Name: Queue Time
|
|
8829
|
+
* * SQL Data Type: int
|
|
8830
|
+
* * Description: Queue time in milliseconds before the model started processing the request. Provider-specific timing metric.`),
|
|
8831
|
+
PromptTime: zod_1.z.number().nullable().describe(`
|
|
8832
|
+
* * Field Name: PromptTime
|
|
8833
|
+
* * Display Name: Prompt Time
|
|
8834
|
+
* * SQL Data Type: int
|
|
8835
|
+
* * Description: Time in milliseconds for the model to ingest and process the prompt. Provider-specific timing metric.`),
|
|
8836
|
+
CompletionTime: zod_1.z.number().nullable().describe(`
|
|
8837
|
+
* * Field Name: CompletionTime
|
|
8838
|
+
* * Display Name: Completion Time
|
|
8839
|
+
* * SQL Data Type: int
|
|
8840
|
+
* * Description: Time in milliseconds for the model to generate the completion/response tokens. Provider-specific timing metric.`),
|
|
8841
|
+
ModelSpecificResponseDetails: zod_1.z.string().nullable().describe(`
|
|
8842
|
+
* * Field Name: ModelSpecificResponseDetails
|
|
8843
|
+
* * Display Name: Model Specific Response Details
|
|
8844
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8845
|
+
* * Description: JSON field containing provider-specific response metadata and details not captured in standard fields. Structure varies by AI provider.`),
|
|
8779
8846
|
Prompt: zod_1.z.string().describe(`
|
|
8780
8847
|
* * Field Name: Prompt
|
|
8781
8848
|
* * Display Name: Prompt
|
|
@@ -8804,6 +8871,10 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
8804
8871
|
* * Field Name: Judge
|
|
8805
8872
|
* * Display Name: Judge
|
|
8806
8873
|
* * SQL Data Type: nvarchar(255)`),
|
|
8874
|
+
ChildPrompt: zod_1.z.string().nullable().describe(`
|
|
8875
|
+
* * Field Name: ChildPrompt
|
|
8876
|
+
* * Display Name: Child Prompt
|
|
8877
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8807
8878
|
});
|
|
8808
8879
|
/**
|
|
8809
8880
|
* zod schema definition for the entity MJ: AI Vendor Type Definitions
|
|
@@ -31911,6 +31982,70 @@ each time the agent processes a prompt step.
|
|
|
31911
31982
|
this.Set('TotalPromptIterations', value);
|
|
31912
31983
|
}
|
|
31913
31984
|
/**
|
|
31985
|
+
* * Field Name: ConfigurationID
|
|
31986
|
+
* * Display Name: Configuration ID
|
|
31987
|
+
* * SQL Data Type: uniqueidentifier
|
|
31988
|
+
* * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
|
|
31989
|
+
* * Description: The AI Configuration used for this agent execution. When set, this configuration was used for all prompts executed by this agent and its sub-agents.
|
|
31990
|
+
*/
|
|
31991
|
+
get ConfigurationID() {
|
|
31992
|
+
return this.Get('ConfigurationID');
|
|
31993
|
+
}
|
|
31994
|
+
set ConfigurationID(value) {
|
|
31995
|
+
this.Set('ConfigurationID', value);
|
|
31996
|
+
}
|
|
31997
|
+
/**
|
|
31998
|
+
* * Field Name: OverrideModelID
|
|
31999
|
+
* * Display Name: Override Model ID
|
|
32000
|
+
* * SQL Data Type: uniqueidentifier
|
|
32001
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
32002
|
+
* * Description: Runtime model override that was used for this execution. When set, this model took precedence over all other model selection methods.
|
|
32003
|
+
*/
|
|
32004
|
+
get OverrideModelID() {
|
|
32005
|
+
return this.Get('OverrideModelID');
|
|
32006
|
+
}
|
|
32007
|
+
set OverrideModelID(value) {
|
|
32008
|
+
this.Set('OverrideModelID', value);
|
|
32009
|
+
}
|
|
32010
|
+
/**
|
|
32011
|
+
* * Field Name: OverrideVendorID
|
|
32012
|
+
* * Display Name: Override Vendor ID
|
|
32013
|
+
* * SQL Data Type: uniqueidentifier
|
|
32014
|
+
* * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
|
|
32015
|
+
* * Description: Runtime vendor override that was used for this execution. When set along with OverrideModelID, this vendor was used to provide the model.
|
|
32016
|
+
*/
|
|
32017
|
+
get OverrideVendorID() {
|
|
32018
|
+
return this.Get('OverrideVendorID');
|
|
32019
|
+
}
|
|
32020
|
+
set OverrideVendorID(value) {
|
|
32021
|
+
this.Set('OverrideVendorID', value);
|
|
32022
|
+
}
|
|
32023
|
+
/**
|
|
32024
|
+
* * Field Name: Data
|
|
32025
|
+
* * Display Name: Data
|
|
32026
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
32027
|
+
* * Description: JSON serialized data that was passed for template rendering and prompt execution. This data was passed to the agent's prompt as well as all sub-agents.
|
|
32028
|
+
*/
|
|
32029
|
+
get Data() {
|
|
32030
|
+
return this.Get('Data');
|
|
32031
|
+
}
|
|
32032
|
+
set Data(value) {
|
|
32033
|
+
this.Set('Data', value);
|
|
32034
|
+
}
|
|
32035
|
+
/**
|
|
32036
|
+
* * Field Name: Verbose
|
|
32037
|
+
* * Display Name: Verbose
|
|
32038
|
+
* * SQL Data Type: bit
|
|
32039
|
+
* * Default Value: 0
|
|
32040
|
+
* * Description: Indicates whether verbose logging was enabled during this agent execution. When true, detailed decision-making and execution flow was logged.
|
|
32041
|
+
*/
|
|
32042
|
+
get Verbose() {
|
|
32043
|
+
return this.Get('Verbose');
|
|
32044
|
+
}
|
|
32045
|
+
set Verbose(value) {
|
|
32046
|
+
this.Set('Verbose', value);
|
|
32047
|
+
}
|
|
32048
|
+
/**
|
|
31914
32049
|
* * Field Name: Agent
|
|
31915
32050
|
* * Display Name: Agent
|
|
31916
32051
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -31934,6 +32069,30 @@ each time the agent processes a prompt step.
|
|
|
31934
32069
|
get User() {
|
|
31935
32070
|
return this.Get('User');
|
|
31936
32071
|
}
|
|
32072
|
+
/**
|
|
32073
|
+
* * Field Name: Configuration
|
|
32074
|
+
* * Display Name: Configuration
|
|
32075
|
+
* * SQL Data Type: nvarchar(100)
|
|
32076
|
+
*/
|
|
32077
|
+
get Configuration() {
|
|
32078
|
+
return this.Get('Configuration');
|
|
32079
|
+
}
|
|
32080
|
+
/**
|
|
32081
|
+
* * Field Name: OverrideModel
|
|
32082
|
+
* * Display Name: Override Model
|
|
32083
|
+
* * SQL Data Type: nvarchar(50)
|
|
32084
|
+
*/
|
|
32085
|
+
get OverrideModel() {
|
|
32086
|
+
return this.Get('OverrideModel');
|
|
32087
|
+
}
|
|
32088
|
+
/**
|
|
32089
|
+
* * Field Name: OverrideVendor
|
|
32090
|
+
* * Display Name: Override Vendor
|
|
32091
|
+
* * SQL Data Type: nvarchar(50)
|
|
32092
|
+
*/
|
|
32093
|
+
get OverrideVendor() {
|
|
32094
|
+
return this.Get('OverrideVendor');
|
|
32095
|
+
}
|
|
31937
32096
|
};
|
|
31938
32097
|
exports.AIAgentRunEntity = AIAgentRunEntity;
|
|
31939
32098
|
exports.AIAgentRunEntity = AIAgentRunEntity = __decorate([
|
|
@@ -35132,6 +35291,67 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
35132
35291
|
this.Set('ErrorDetails', value);
|
|
35133
35292
|
}
|
|
35134
35293
|
/**
|
|
35294
|
+
* * Field Name: ChildPromptID
|
|
35295
|
+
* * Display Name: Child Prompt ID
|
|
35296
|
+
* * SQL Data Type: uniqueidentifier
|
|
35297
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
35298
|
+
* * Description: References the specific child prompt that was executed as part of hierarchical prompt composition. NULL for regular prompts or parent prompts that don't directly execute a child.
|
|
35299
|
+
*/
|
|
35300
|
+
get ChildPromptID() {
|
|
35301
|
+
return this.Get('ChildPromptID');
|
|
35302
|
+
}
|
|
35303
|
+
set ChildPromptID(value) {
|
|
35304
|
+
this.Set('ChildPromptID', value);
|
|
35305
|
+
}
|
|
35306
|
+
/**
|
|
35307
|
+
* * Field Name: QueueTime
|
|
35308
|
+
* * Display Name: Queue Time
|
|
35309
|
+
* * SQL Data Type: int
|
|
35310
|
+
* * Description: Queue time in milliseconds before the model started processing the request. Provider-specific timing metric.
|
|
35311
|
+
*/
|
|
35312
|
+
get QueueTime() {
|
|
35313
|
+
return this.Get('QueueTime');
|
|
35314
|
+
}
|
|
35315
|
+
set QueueTime(value) {
|
|
35316
|
+
this.Set('QueueTime', value);
|
|
35317
|
+
}
|
|
35318
|
+
/**
|
|
35319
|
+
* * Field Name: PromptTime
|
|
35320
|
+
* * Display Name: Prompt Time
|
|
35321
|
+
* * SQL Data Type: int
|
|
35322
|
+
* * Description: Time in milliseconds for the model to ingest and process the prompt. Provider-specific timing metric.
|
|
35323
|
+
*/
|
|
35324
|
+
get PromptTime() {
|
|
35325
|
+
return this.Get('PromptTime');
|
|
35326
|
+
}
|
|
35327
|
+
set PromptTime(value) {
|
|
35328
|
+
this.Set('PromptTime', value);
|
|
35329
|
+
}
|
|
35330
|
+
/**
|
|
35331
|
+
* * Field Name: CompletionTime
|
|
35332
|
+
* * Display Name: Completion Time
|
|
35333
|
+
* * SQL Data Type: int
|
|
35334
|
+
* * Description: Time in milliseconds for the model to generate the completion/response tokens. Provider-specific timing metric.
|
|
35335
|
+
*/
|
|
35336
|
+
get CompletionTime() {
|
|
35337
|
+
return this.Get('CompletionTime');
|
|
35338
|
+
}
|
|
35339
|
+
set CompletionTime(value) {
|
|
35340
|
+
this.Set('CompletionTime', value);
|
|
35341
|
+
}
|
|
35342
|
+
/**
|
|
35343
|
+
* * Field Name: ModelSpecificResponseDetails
|
|
35344
|
+
* * Display Name: Model Specific Response Details
|
|
35345
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
35346
|
+
* * Description: JSON field containing provider-specific response metadata and details not captured in standard fields. Structure varies by AI provider.
|
|
35347
|
+
*/
|
|
35348
|
+
get ModelSpecificResponseDetails() {
|
|
35349
|
+
return this.Get('ModelSpecificResponseDetails');
|
|
35350
|
+
}
|
|
35351
|
+
set ModelSpecificResponseDetails(value) {
|
|
35352
|
+
this.Set('ModelSpecificResponseDetails', value);
|
|
35353
|
+
}
|
|
35354
|
+
/**
|
|
35135
35355
|
* * Field Name: Prompt
|
|
35136
35356
|
* * Display Name: Prompt
|
|
35137
35357
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -35187,6 +35407,14 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
35187
35407
|
get Judge() {
|
|
35188
35408
|
return this.Get('Judge');
|
|
35189
35409
|
}
|
|
35410
|
+
/**
|
|
35411
|
+
* * Field Name: ChildPrompt
|
|
35412
|
+
* * Display Name: Child Prompt
|
|
35413
|
+
* * SQL Data Type: nvarchar(255)
|
|
35414
|
+
*/
|
|
35415
|
+
get ChildPrompt() {
|
|
35416
|
+
return this.Get('ChildPrompt');
|
|
35417
|
+
}
|
|
35190
35418
|
};
|
|
35191
35419
|
exports.AIPromptRunEntity = AIPromptRunEntity;
|
|
35192
35420
|
exports.AIPromptRunEntity = AIPromptRunEntity = __decorate([
|