@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.
|
@@ -5134,6 +5134,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5134
5134
|
ResponseFormat: z.ZodNullable<z.ZodString>;
|
|
5135
5135
|
LogProbs: z.ZodNullable<z.ZodBoolean>;
|
|
5136
5136
|
TopLogProbs: z.ZodNullable<z.ZodNumber>;
|
|
5137
|
+
DescendantCost: z.ZodNullable<z.ZodNumber>;
|
|
5137
5138
|
Prompt: z.ZodString;
|
|
5138
5139
|
Model: z.ZodString;
|
|
5139
5140
|
Vendor: z.ZodString;
|
|
@@ -5184,6 +5185,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5184
5185
|
TokensPromptRollup?: number;
|
|
5185
5186
|
TokensCompletionRollup?: number;
|
|
5186
5187
|
LogProbs?: boolean;
|
|
5188
|
+
DescendantCost?: number;
|
|
5187
5189
|
}, {
|
|
5188
5190
|
ID?: string;
|
|
5189
5191
|
__mj_CreatedAt?: Date;
|
|
@@ -5229,6 +5231,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5229
5231
|
TokensPromptRollup?: number;
|
|
5230
5232
|
TokensCompletionRollup?: number;
|
|
5231
5233
|
LogProbs?: boolean;
|
|
5234
|
+
DescendantCost?: number;
|
|
5232
5235
|
}>;
|
|
5233
5236
|
export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
|
|
5234
5237
|
/**
|
|
@@ -19476,7 +19479,6 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
|
|
|
19476
19479
|
* * Schema: __mj
|
|
19477
19480
|
* * Base Table: GeneratedCodeCategory
|
|
19478
19481
|
* * Base View: vwGeneratedCodeCategories
|
|
19479
|
-
* * @description Categorization for generated code, including optional parent-child relationships.
|
|
19480
19482
|
* * Primary Key: ID
|
|
19481
19483
|
* @extends {BaseEntity}
|
|
19482
19484
|
* @class
|
|
@@ -22255,7 +22257,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
22255
22257
|
* * Field Name: TotalCost
|
|
22256
22258
|
* * Display Name: Total Cost
|
|
22257
22259
|
* * SQL Data Type: decimal(18, 6)
|
|
22258
|
-
* * Description: Total cost
|
|
22260
|
+
* * 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.
|
|
22259
22261
|
*/
|
|
22260
22262
|
get TotalCost(): number | null;
|
|
22261
22263
|
set TotalCost(value: number | null);
|
|
@@ -22460,6 +22462,14 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
22460
22462
|
get TopLogProbs(): number | null;
|
|
22461
22463
|
set TopLogProbs(value: number | null);
|
|
22462
22464
|
/**
|
|
22465
|
+
* * Field Name: DescendantCost
|
|
22466
|
+
* * Display Name: Descendant Cost
|
|
22467
|
+
* * SQL Data Type: decimal(18, 6)
|
|
22468
|
+
* * 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.
|
|
22469
|
+
*/
|
|
22470
|
+
get DescendantCost(): number | null;
|
|
22471
|
+
set DescendantCost(value: number | null);
|
|
22472
|
+
/**
|
|
22463
22473
|
* * Field Name: Prompt
|
|
22464
22474
|
* * Display Name: Prompt
|
|
22465
22475
|
* * SQL Data Type: nvarchar(255)
|