@memberjunction/core-entities 2.53.0 → 2.55.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.
|
@@ -6967,6 +6967,11 @@ exports.AIAgentRunStepSchema = zod_1.z.object({
|
|
|
6967
6967
|
* * Display Name: Updated At
|
|
6968
6968
|
* * SQL Data Type: datetimeoffset
|
|
6969
6969
|
* * Default Value: getutcdate()`),
|
|
6970
|
+
TargetLogID: zod_1.z.string().nullable().describe(`
|
|
6971
|
+
* * Field Name: TargetLogID
|
|
6972
|
+
* * Display Name: Target Log ID
|
|
6973
|
+
* * SQL Data Type: uniqueidentifier
|
|
6974
|
+
* * Description: ID of the execution log/run record created for this step (ActionExecutionLog.ID for action steps, AIAgentRun.ID for subagent steps, AIPromptRun.ID for prompt steps)`),
|
|
6970
6975
|
});
|
|
6971
6976
|
/**
|
|
6972
6977
|
* zod schema definition for the entity MJ: AI Agent Runs
|
|
@@ -7769,7 +7774,7 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
7769
7774
|
* * Field Name: TotalCost
|
|
7770
7775
|
* * Display Name: Total Cost
|
|
7771
7776
|
* * SQL Data Type: decimal(18, 6)
|
|
7772
|
-
* * Description: Total cost
|
|
7777
|
+
* * Description: Total cost of this prompt run including its own cost plus all descendant costs. Calculated as Cost + DescendantCost. This value is stored (not computed) for query performance. Currency is specified in CostCurrency field.`),
|
|
7773
7778
|
Success: zod_1.z.boolean().describe(`
|
|
7774
7779
|
* * Field Name: Success
|
|
7775
7780
|
* * Display Name: Success
|
|
@@ -7900,6 +7905,11 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
7900
7905
|
* * Display Name: Top Log Probs
|
|
7901
7906
|
* * SQL Data Type: int
|
|
7902
7907
|
* * Description: Number of top log probabilities requested per token (if LogProbs is true)`),
|
|
7908
|
+
DescendantCost: zod_1.z.number().nullable().describe(`
|
|
7909
|
+
* * Field Name: DescendantCost
|
|
7910
|
+
* * Display Name: Descendant Cost
|
|
7911
|
+
* * SQL Data Type: decimal(18, 6)
|
|
7912
|
+
* * Description: The total cost of all descendant (child and grandchild) prompt runs, excluding this run's own cost. For leaf nodes (no children), this is 0. Updated when child costs change.`),
|
|
7903
7913
|
Prompt: zod_1.z.string().describe(`
|
|
7904
7914
|
* * Field Name: Prompt
|
|
7905
7915
|
* * Display Name: Prompt
|
|
@@ -27992,7 +28002,6 @@ exports.FileEntity = FileEntity = __decorate([
|
|
|
27992
28002
|
* * Schema: __mj
|
|
27993
28003
|
* * Base Table: GeneratedCodeCategory
|
|
27994
28004
|
* * Base View: vwGeneratedCodeCategories
|
|
27995
|
-
* * @description Categorization for generated code, including optional parent-child relationships.
|
|
27996
28005
|
* * Primary Key: ID
|
|
27997
28006
|
* @extends {BaseEntity}
|
|
27998
28007
|
* @class
|
|
@@ -29727,6 +29736,18 @@ let AIAgentRunStepEntity = class AIAgentRunStepEntity extends core_1.BaseEntity
|
|
|
29727
29736
|
get __mj_UpdatedAt() {
|
|
29728
29737
|
return this.Get('__mj_UpdatedAt');
|
|
29729
29738
|
}
|
|
29739
|
+
/**
|
|
29740
|
+
* * Field Name: TargetLogID
|
|
29741
|
+
* * Display Name: Target Log ID
|
|
29742
|
+
* * SQL Data Type: uniqueidentifier
|
|
29743
|
+
* * Description: ID of the execution log/run record created for this step (ActionExecutionLog.ID for action steps, AIAgentRun.ID for subagent steps, AIPromptRun.ID for prompt steps)
|
|
29744
|
+
*/
|
|
29745
|
+
get TargetLogID() {
|
|
29746
|
+
return this.Get('TargetLogID');
|
|
29747
|
+
}
|
|
29748
|
+
set TargetLogID(value) {
|
|
29749
|
+
this.Set('TargetLogID', value);
|
|
29750
|
+
}
|
|
29730
29751
|
};
|
|
29731
29752
|
exports.AIAgentRunStepEntity = AIAgentRunStepEntity;
|
|
29732
29753
|
exports.AIAgentRunStepEntity = AIAgentRunStepEntity = __decorate([
|
|
@@ -31920,7 +31941,7 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
31920
31941
|
* * Field Name: TotalCost
|
|
31921
31942
|
* * Display Name: Total Cost
|
|
31922
31943
|
* * SQL Data Type: decimal(18, 6)
|
|
31923
|
-
* * Description: Total cost
|
|
31944
|
+
* * Description: Total cost of this prompt run including its own cost plus all descendant costs. Calculated as Cost + DescendantCost. This value is stored (not computed) for query performance. Currency is specified in CostCurrency field.
|
|
31924
31945
|
*/
|
|
31925
31946
|
get TotalCost() {
|
|
31926
31947
|
return this.Get('TotalCost');
|
|
@@ -32221,6 +32242,18 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
32221
32242
|
this.Set('TopLogProbs', value);
|
|
32222
32243
|
}
|
|
32223
32244
|
/**
|
|
32245
|
+
* * Field Name: DescendantCost
|
|
32246
|
+
* * Display Name: Descendant Cost
|
|
32247
|
+
* * SQL Data Type: decimal(18, 6)
|
|
32248
|
+
* * Description: The total cost of all descendant (child and grandchild) prompt runs, excluding this run's own cost. For leaf nodes (no children), this is 0. Updated when child costs change.
|
|
32249
|
+
*/
|
|
32250
|
+
get DescendantCost() {
|
|
32251
|
+
return this.Get('DescendantCost');
|
|
32252
|
+
}
|
|
32253
|
+
set DescendantCost(value) {
|
|
32254
|
+
this.Set('DescendantCost', value);
|
|
32255
|
+
}
|
|
32256
|
+
/**
|
|
32224
32257
|
* * Field Name: Prompt
|
|
32225
32258
|
* * Display Name: Prompt
|
|
32226
32259
|
* * SQL Data Type: nvarchar(255)
|