@memberjunction/core-entities 2.54.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.
|
@@ -7774,7 +7774,7 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
7774
7774
|
* * Field Name: TotalCost
|
|
7775
7775
|
* * Display Name: Total Cost
|
|
7776
7776
|
* * SQL Data Type: decimal(18, 6)
|
|
7777
|
-
* * 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.`),
|
|
7778
7778
|
Success: zod_1.z.boolean().describe(`
|
|
7779
7779
|
* * Field Name: Success
|
|
7780
7780
|
* * Display Name: Success
|
|
@@ -7905,6 +7905,11 @@ exports.AIPromptRunSchema = zod_1.z.object({
|
|
|
7905
7905
|
* * Display Name: Top Log Probs
|
|
7906
7906
|
* * SQL Data Type: int
|
|
7907
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.`),
|
|
7908
7913
|
Prompt: zod_1.z.string().describe(`
|
|
7909
7914
|
* * Field Name: Prompt
|
|
7910
7915
|
* * Display Name: Prompt
|
|
@@ -27997,7 +28002,6 @@ exports.FileEntity = FileEntity = __decorate([
|
|
|
27997
28002
|
* * Schema: __mj
|
|
27998
28003
|
* * Base Table: GeneratedCodeCategory
|
|
27999
28004
|
* * Base View: vwGeneratedCodeCategories
|
|
28000
|
-
* * @description Categorization for generated code, including optional parent-child relationships.
|
|
28001
28005
|
* * Primary Key: ID
|
|
28002
28006
|
* @extends {BaseEntity}
|
|
28003
28007
|
* @class
|
|
@@ -31937,7 +31941,7 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
31937
31941
|
* * Field Name: TotalCost
|
|
31938
31942
|
* * Display Name: Total Cost
|
|
31939
31943
|
* * SQL Data Type: decimal(18, 6)
|
|
31940
|
-
* * 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.
|
|
31941
31945
|
*/
|
|
31942
31946
|
get TotalCost() {
|
|
31943
31947
|
return this.Get('TotalCost');
|
|
@@ -32238,6 +32242,18 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
|
|
|
32238
32242
|
this.Set('TopLogProbs', value);
|
|
32239
32243
|
}
|
|
32240
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
|
+
/**
|
|
32241
32257
|
* * Field Name: Prompt
|
|
32242
32258
|
* * Display Name: Prompt
|
|
32243
32259
|
* * SQL Data Type: nvarchar(255)
|