@memberjunction/core-entities 2.51.0 → 2.53.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.
@@ -328,15 +328,19 @@ export declare const ActionSchema: z.ZodObject<{
328
328
  __mj_CreatedAt: z.ZodDate;
329
329
  __mj_UpdatedAt: z.ZodDate;
330
330
  DriverClass: z.ZodNullable<z.ZodString>;
331
+ ParentID: z.ZodNullable<z.ZodString>;
331
332
  Category: z.ZodNullable<z.ZodString>;
332
333
  CodeApprovedByUser: z.ZodNullable<z.ZodString>;
334
+ Parent: z.ZodNullable<z.ZodString>;
333
335
  }, "strip", z.ZodTypeAny, {
334
336
  ID?: string;
335
337
  __mj_CreatedAt?: Date;
336
338
  __mj_UpdatedAt?: Date;
337
339
  Name?: string;
338
340
  Description?: string;
341
+ ParentID?: string;
339
342
  Status?: "Disabled" | "Active" | "Pending";
343
+ Parent?: string;
340
344
  RetentionPeriod?: number;
341
345
  UserComments?: string;
342
346
  Code?: string;
@@ -359,7 +363,9 @@ export declare const ActionSchema: z.ZodObject<{
359
363
  __mj_UpdatedAt?: Date;
360
364
  Name?: string;
361
365
  Description?: string;
366
+ ParentID?: string;
362
367
  Status?: "Disabled" | "Active" | "Pending";
368
+ Parent?: string;
363
369
  RetentionPeriod?: number;
364
370
  UserComments?: string;
365
371
  Code?: string;
@@ -911,6 +917,16 @@ export declare const AIPromptSchema: z.ZodObject<{
911
917
  CacheMustMatchConfig: z.ZodBoolean;
912
918
  PromptRole: z.ZodUnion<[z.ZodLiteral<"System">, z.ZodLiteral<"User">, z.ZodLiteral<"Assistant">, z.ZodLiteral<"SystemOrUser">]>;
913
919
  PromptPosition: z.ZodUnion<[z.ZodLiteral<"First">, z.ZodLiteral<"Last">]>;
920
+ Temperature: z.ZodNullable<z.ZodNumber>;
921
+ TopP: z.ZodNullable<z.ZodNumber>;
922
+ TopK: z.ZodNullable<z.ZodNumber>;
923
+ MinP: z.ZodNullable<z.ZodNumber>;
924
+ FrequencyPenalty: z.ZodNullable<z.ZodNumber>;
925
+ PresencePenalty: z.ZodNullable<z.ZodNumber>;
926
+ Seed: z.ZodNullable<z.ZodNumber>;
927
+ StopSequences: z.ZodNullable<z.ZodString>;
928
+ IncludeLogProbs: z.ZodNullable<z.ZodBoolean>;
929
+ TopLogProbs: z.ZodNullable<z.ZodNumber>;
914
930
  Template: z.ZodString;
915
931
  Category: z.ZodNullable<z.ZodString>;
916
932
  Type: z.ZodString;
@@ -955,6 +971,16 @@ export declare const AIPromptSchema: z.ZodObject<{
955
971
  CacheMustMatchConfig?: boolean;
956
972
  PromptRole?: "User" | "System" | "Assistant" | "SystemOrUser";
957
973
  PromptPosition?: "First" | "Last";
974
+ Temperature?: number;
975
+ TopP?: number;
976
+ TopK?: number;
977
+ MinP?: number;
978
+ FrequencyPenalty?: number;
979
+ PresencePenalty?: number;
980
+ Seed?: number;
981
+ StopSequences?: string;
982
+ IncludeLogProbs?: boolean;
983
+ TopLogProbs?: number;
958
984
  Template?: string;
959
985
  ResultSelectorPrompt?: string;
960
986
  }, {
@@ -996,6 +1022,16 @@ export declare const AIPromptSchema: z.ZodObject<{
996
1022
  CacheMustMatchConfig?: boolean;
997
1023
  PromptRole?: "User" | "System" | "Assistant" | "SystemOrUser";
998
1024
  PromptPosition?: "First" | "Last";
1025
+ Temperature?: number;
1026
+ TopP?: number;
1027
+ TopK?: number;
1028
+ MinP?: number;
1029
+ FrequencyPenalty?: number;
1030
+ PresencePenalty?: number;
1031
+ Seed?: number;
1032
+ StopSequences?: string;
1033
+ IncludeLogProbs?: boolean;
1034
+ TopLogProbs?: number;
999
1035
  Template?: string;
1000
1036
  ResultSelectorPrompt?: string;
1001
1037
  }>;
@@ -5084,6 +5120,17 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5084
5120
  TokensUsedRollup: z.ZodNullable<z.ZodNumber>;
5085
5121
  TokensPromptRollup: z.ZodNullable<z.ZodNumber>;
5086
5122
  TokensCompletionRollup: z.ZodNullable<z.ZodNumber>;
5123
+ Temperature: z.ZodNullable<z.ZodNumber>;
5124
+ TopP: z.ZodNullable<z.ZodNumber>;
5125
+ TopK: z.ZodNullable<z.ZodNumber>;
5126
+ MinP: z.ZodNullable<z.ZodNumber>;
5127
+ FrequencyPenalty: z.ZodNullable<z.ZodNumber>;
5128
+ PresencePenalty: z.ZodNullable<z.ZodNumber>;
5129
+ Seed: z.ZodNullable<z.ZodNumber>;
5130
+ StopSequences: z.ZodNullable<z.ZodString>;
5131
+ ResponseFormat: z.ZodNullable<z.ZodString>;
5132
+ LogProbs: z.ZodNullable<z.ZodBoolean>;
5133
+ TopLogProbs: z.ZodNullable<z.ZodNumber>;
5087
5134
  Prompt: z.ZodString;
5088
5135
  Model: z.ZodString;
5089
5136
  Vendor: z.ZodString;
@@ -5100,6 +5147,16 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5100
5147
  Model?: string;
5101
5148
  ExecutionOrder?: number;
5102
5149
  Vendor?: string;
5150
+ ResponseFormat?: string;
5151
+ Temperature?: number;
5152
+ TopP?: number;
5153
+ TopK?: number;
5154
+ MinP?: number;
5155
+ FrequencyPenalty?: number;
5156
+ PresencePenalty?: number;
5157
+ Seed?: number;
5158
+ StopSequences?: string;
5159
+ TopLogProbs?: number;
5103
5160
  RunAt?: Date;
5104
5161
  VendorID?: string;
5105
5162
  ConfigurationID?: string;
@@ -5123,6 +5180,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5123
5180
  TokensUsedRollup?: number;
5124
5181
  TokensPromptRollup?: number;
5125
5182
  TokensCompletionRollup?: number;
5183
+ LogProbs?: boolean;
5126
5184
  }, {
5127
5185
  ID?: string;
5128
5186
  __mj_CreatedAt?: Date;
@@ -5134,6 +5192,16 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5134
5192
  Model?: string;
5135
5193
  ExecutionOrder?: number;
5136
5194
  Vendor?: string;
5195
+ ResponseFormat?: string;
5196
+ Temperature?: number;
5197
+ TopP?: number;
5198
+ TopK?: number;
5199
+ MinP?: number;
5200
+ FrequencyPenalty?: number;
5201
+ PresencePenalty?: number;
5202
+ Seed?: number;
5203
+ StopSequences?: string;
5204
+ TopLogProbs?: number;
5137
5205
  RunAt?: Date;
5138
5206
  VendorID?: string;
5139
5207
  ConfigurationID?: string;
@@ -5157,6 +5225,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5157
5225
  TokensUsedRollup?: number;
5158
5226
  TokensPromptRollup?: number;
5159
5227
  TokensCompletionRollup?: number;
5228
+ LogProbs?: boolean;
5160
5229
  }>;
5161
5230
  export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
5162
5231
  /**
@@ -6928,6 +6997,7 @@ export declare const TemplateParamSchema: z.ZodObject<{
6928
6997
  __mj_CreatedAt: z.ZodDate;
6929
6998
  __mj_UpdatedAt: z.ZodDate;
6930
6999
  OrderBy: z.ZodNullable<z.ZodString>;
7000
+ TemplateContentID: z.ZodNullable<z.ZodString>;
6931
7001
  Template: z.ZodString;
6932
7002
  Entity: z.ZodNullable<z.ZodString>;
6933
7003
  }, "strip", z.ZodTypeAny, {
@@ -6948,6 +7018,7 @@ export declare const TemplateParamSchema: z.ZodObject<{
6948
7018
  LinkedParameterField?: string;
6949
7019
  ExtraFilter?: string;
6950
7020
  OrderBy?: string;
7021
+ TemplateContentID?: string;
6951
7022
  }, {
6952
7023
  ID?: string;
6953
7024
  __mj_CreatedAt?: Date;
@@ -6966,6 +7037,7 @@ export declare const TemplateParamSchema: z.ZodObject<{
6966
7037
  LinkedParameterField?: string;
6967
7038
  ExtraFilter?: string;
6968
7039
  OrderBy?: string;
7040
+ TemplateContentID?: string;
6969
7041
  }>;
6970
7042
  export type TemplateParamEntityType = z.infer<typeof TemplateParamSchema>;
6971
7043
  /**
@@ -8815,6 +8887,15 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
8815
8887
  get DriverClass(): string | null;
8816
8888
  set DriverClass(value: string | null);
8817
8889
  /**
8890
+ * * Field Name: ParentID
8891
+ * * Display Name: Parent ID
8892
+ * * SQL Data Type: uniqueidentifier
8893
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)
8894
+ * * Description: Optional ID of the parent action this action inherits from. Used for hierarchical action composition where child actions can specialize parent actions.
8895
+ */
8896
+ get ParentID(): string | null;
8897
+ set ParentID(value: string | null);
8898
+ /**
8818
8899
  * * Field Name: Category
8819
8900
  * * Display Name: Category
8820
8901
  * * SQL Data Type: nvarchar(255)
@@ -8826,6 +8907,12 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
8826
8907
  * * SQL Data Type: nvarchar(100)
8827
8908
  */
8828
8909
  get CodeApprovedByUser(): string | null;
8910
+ /**
8911
+ * * Field Name: Parent
8912
+ * * Display Name: Parent
8913
+ * * SQL Data Type: nvarchar(425)
8914
+ */
8915
+ get Parent(): string | null;
8829
8916
  }
8830
8917
  /**
8831
8918
  * AI Actions - strongly typed entity sub-class
@@ -10647,6 +10734,87 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10647
10734
  get PromptPosition(): 'First' | 'Last';
10648
10735
  set PromptPosition(value: 'First' | 'Last');
10649
10736
  /**
10737
+ * * Field Name: Temperature
10738
+ * * Display Name: Temperature
10739
+ * * SQL Data Type: decimal(3, 2)
10740
+ * * Description: Default temperature setting for this prompt. Controls randomness in the output. 0 = more focused and deterministic, 2 = more random and creative. Can be overridden at runtime.
10741
+ */
10742
+ get Temperature(): number | null;
10743
+ set Temperature(value: number | null);
10744
+ /**
10745
+ * * Field Name: TopP
10746
+ * * Display Name: Top P
10747
+ * * SQL Data Type: decimal(3, 2)
10748
+ * * Description: Default TopP (nucleus sampling) for this prompt. Only consider tokens with cumulative probability up to this value. 1 = consider all tokens. Can be overridden at runtime.
10749
+ */
10750
+ get TopP(): number | null;
10751
+ set TopP(value: number | null);
10752
+ /**
10753
+ * * Field Name: TopK
10754
+ * * Display Name: Top K
10755
+ * * SQL Data Type: int
10756
+ * * Description: Default TopK sampling for this prompt. Only sample from the top K tokens. Lower values reduce randomness. Can be overridden at runtime.
10757
+ */
10758
+ get TopK(): number | null;
10759
+ set TopK(value: number | null);
10760
+ /**
10761
+ * * Field Name: MinP
10762
+ * * Display Name: Min P
10763
+ * * SQL Data Type: decimal(3, 2)
10764
+ * * Description: Default MinP (minimum probability) for this prompt. Tokens with probability below this threshold are filtered out. Can be overridden at runtime.
10765
+ */
10766
+ get MinP(): number | null;
10767
+ set MinP(value: number | null);
10768
+ /**
10769
+ * * Field Name: FrequencyPenalty
10770
+ * * Display Name: Frequency Penalty
10771
+ * * SQL Data Type: decimal(3, 2)
10772
+ * * Description: Default frequency penalty for this prompt. Penalizes tokens based on their frequency in the text. Positive values decrease likelihood of repetition. Can be overridden at runtime.
10773
+ */
10774
+ get FrequencyPenalty(): number | null;
10775
+ set FrequencyPenalty(value: number | null);
10776
+ /**
10777
+ * * Field Name: PresencePenalty
10778
+ * * Display Name: Presence Penalty
10779
+ * * SQL Data Type: decimal(3, 2)
10780
+ * * Description: Default presence penalty for this prompt. Penalizes tokens that have appeared in the text. Positive values increase topic diversity. Can be overridden at runtime.
10781
+ */
10782
+ get PresencePenalty(): number | null;
10783
+ set PresencePenalty(value: number | null);
10784
+ /**
10785
+ * * Field Name: Seed
10786
+ * * Display Name: Seed
10787
+ * * SQL Data Type: int
10788
+ * * Description: Default random seed for this prompt. Used for deterministic generation. Same seed produces same output. Can be overridden at runtime.
10789
+ */
10790
+ get Seed(): number | null;
10791
+ set Seed(value: number | null);
10792
+ /**
10793
+ * * Field Name: StopSequences
10794
+ * * Display Name: Stop Sequences
10795
+ * * SQL Data Type: nvarchar(1000)
10796
+ * * Description: Default stop sequences for this prompt. Comma-delimited list of sequences that will stop generation when encountered. Can be overridden at runtime.
10797
+ */
10798
+ get StopSequences(): string | null;
10799
+ set StopSequences(value: string | null);
10800
+ /**
10801
+ * * Field Name: IncludeLogProbs
10802
+ * * Display Name: Include Log Probs
10803
+ * * SQL Data Type: bit
10804
+ * * Default Value: 0
10805
+ * * Description: Default setting for including log probabilities in the response. Can be overridden at runtime.
10806
+ */
10807
+ get IncludeLogProbs(): boolean | null;
10808
+ set IncludeLogProbs(value: boolean | null);
10809
+ /**
10810
+ * * Field Name: TopLogProbs
10811
+ * * Display Name: Top Log Probs
10812
+ * * SQL Data Type: int
10813
+ * * Description: Default number of top log probabilities to include when IncludeLogProbs is true. Can be overridden at runtime.
10814
+ */
10815
+ get TopLogProbs(): number | null;
10816
+ set TopLogProbs(value: number | null);
10817
+ /**
10650
10818
  * * Field Name: Template
10651
10819
  * * Display Name: Template
10652
10820
  * * SQL Data Type: nvarchar(255)
@@ -22193,6 +22361,94 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
22193
22361
  get TokensCompletionRollup(): number | null;
22194
22362
  set TokensCompletionRollup(value: number | null);
22195
22363
  /**
22364
+ * * Field Name: Temperature
22365
+ * * Display Name: Temperature
22366
+ * * SQL Data Type: decimal(3, 2)
22367
+ * * Description: The temperature parameter used for this prompt run, controlling randomness in the output (0.0 = deterministic, 2.0 = very random)
22368
+ */
22369
+ get Temperature(): number | null;
22370
+ set Temperature(value: number | null);
22371
+ /**
22372
+ * * Field Name: TopP
22373
+ * * Display Name: Top P
22374
+ * * SQL Data Type: decimal(3, 2)
22375
+ * * Description: Top-p (nucleus) sampling parameter used for this run. Considers tokens with cumulative probability up to this value (0-1)
22376
+ */
22377
+ get TopP(): number | null;
22378
+ set TopP(value: number | null);
22379
+ /**
22380
+ * * Field Name: TopK
22381
+ * * Display Name: Top K
22382
+ * * SQL Data Type: int
22383
+ * * Description: Top-k sampling parameter used for this run. Limits sampling to the top K most likely tokens
22384
+ */
22385
+ get TopK(): number | null;
22386
+ set TopK(value: number | null);
22387
+ /**
22388
+ * * Field Name: MinP
22389
+ * * Display Name: Min P
22390
+ * * SQL Data Type: decimal(3, 2)
22391
+ * * Description: Minimum probability threshold used for token sampling (0-1). Tokens below this probability are filtered out
22392
+ */
22393
+ get MinP(): number | null;
22394
+ set MinP(value: number | null);
22395
+ /**
22396
+ * * Field Name: FrequencyPenalty
22397
+ * * Display Name: Frequency Penalty
22398
+ * * SQL Data Type: decimal(3, 2)
22399
+ * * Description: Frequency penalty parameter used (-2.0 to 2.0). Positive values reduce repetition of tokens based on their frequency in the output
22400
+ */
22401
+ get FrequencyPenalty(): number | null;
22402
+ set FrequencyPenalty(value: number | null);
22403
+ /**
22404
+ * * Field Name: PresencePenalty
22405
+ * * Display Name: Presence Penalty
22406
+ * * SQL Data Type: decimal(3, 2)
22407
+ * * Description: Presence penalty parameter used (-2.0 to 2.0). Positive values encourage the model to talk about new topics
22408
+ */
22409
+ get PresencePenalty(): number | null;
22410
+ set PresencePenalty(value: number | null);
22411
+ /**
22412
+ * * Field Name: Seed
22413
+ * * Display Name: Seed
22414
+ * * SQL Data Type: int
22415
+ * * Description: Random seed used for reproducible outputs. When set, the same seed with identical inputs should produce the same output
22416
+ */
22417
+ get Seed(): number | null;
22418
+ set Seed(value: number | null);
22419
+ /**
22420
+ * * Field Name: StopSequences
22421
+ * * Display Name: Stop Sequences
22422
+ * * SQL Data Type: nvarchar(MAX)
22423
+ * * Description: JSON array of stop sequences used. The model stops generating when any of these sequences are encountered
22424
+ */
22425
+ get StopSequences(): string | null;
22426
+ set StopSequences(value: string | null);
22427
+ /**
22428
+ * * Field Name: ResponseFormat
22429
+ * * Display Name: Response Format
22430
+ * * SQL Data Type: nvarchar(50)
22431
+ * * Description: The response format requested for this run (e.g., 'JSON', 'Text', 'Markdown')
22432
+ */
22433
+ get ResponseFormat(): string | null;
22434
+ set ResponseFormat(value: string | null);
22435
+ /**
22436
+ * * Field Name: LogProbs
22437
+ * * Display Name: Log Probs
22438
+ * * SQL Data Type: bit
22439
+ * * Description: Whether log probabilities were requested for this run
22440
+ */
22441
+ get LogProbs(): boolean | null;
22442
+ set LogProbs(value: boolean | null);
22443
+ /**
22444
+ * * Field Name: TopLogProbs
22445
+ * * Display Name: Top Log Probs
22446
+ * * SQL Data Type: int
22447
+ * * Description: Number of top log probabilities requested per token (if LogProbs is true)
22448
+ */
22449
+ get TopLogProbs(): number | null;
22450
+ set TopLogProbs(value: number | null);
22451
+ /**
22196
22452
  * * Field Name: Prompt
22197
22453
  * * Display Name: Prompt
22198
22454
  * * SQL Data Type: nvarchar(255)
@@ -27329,6 +27585,15 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
27329
27585
  get OrderBy(): string | null;
27330
27586
  set OrderBy(value: string | null);
27331
27587
  /**
27588
+ * * Field Name: TemplateContentID
27589
+ * * Display Name: Template Content ID
27590
+ * * SQL Data Type: uniqueidentifier
27591
+ * * Related Entity/Foreign Key: Template Contents (vwTemplateContents.ID)
27592
+ * * Description: Optional reference to a specific template content. When NULL, this parameter applies to all content items within the template. When set, this parameter applies only to the specified template content.
27593
+ */
27594
+ get TemplateContentID(): string | null;
27595
+ set TemplateContentID(value: string | null);
27596
+ /**
27332
27597
  * * Field Name: Template
27333
27598
  * * Display Name: Template
27334
27599
  * * SQL Data Type: nvarchar(255)