@memberjunction/core-entities 2.51.0 → 2.52.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.
@@ -1562,6 +1562,57 @@ exports.AIPromptSchema = zod_1.z.object({
1562
1562
  * * First
1563
1563
  * * Last
1564
1564
  * * Description: Controls message placement for User and Assistant role prompts: First (beginning of conversation) or Last (end of conversation). Not used for System role prompts which are always first`),
1565
+ Temperature: zod_1.z.number().nullable().describe(`
1566
+ * * Field Name: Temperature
1567
+ * * Display Name: Temperature
1568
+ * * SQL Data Type: decimal(3, 2)
1569
+ * * 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.`),
1570
+ TopP: zod_1.z.number().nullable().describe(`
1571
+ * * Field Name: TopP
1572
+ * * Display Name: Top P
1573
+ * * SQL Data Type: decimal(3, 2)
1574
+ * * 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.`),
1575
+ TopK: zod_1.z.number().nullable().describe(`
1576
+ * * Field Name: TopK
1577
+ * * Display Name: Top K
1578
+ * * SQL Data Type: int
1579
+ * * Description: Default TopK sampling for this prompt. Only sample from the top K tokens. Lower values reduce randomness. Can be overridden at runtime.`),
1580
+ MinP: zod_1.z.number().nullable().describe(`
1581
+ * * Field Name: MinP
1582
+ * * Display Name: Min P
1583
+ * * SQL Data Type: decimal(3, 2)
1584
+ * * Description: Default MinP (minimum probability) for this prompt. Tokens with probability below this threshold are filtered out. Can be overridden at runtime.`),
1585
+ FrequencyPenalty: zod_1.z.number().nullable().describe(`
1586
+ * * Field Name: FrequencyPenalty
1587
+ * * Display Name: Frequency Penalty
1588
+ * * SQL Data Type: decimal(3, 2)
1589
+ * * 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.`),
1590
+ PresencePenalty: zod_1.z.number().nullable().describe(`
1591
+ * * Field Name: PresencePenalty
1592
+ * * Display Name: Presence Penalty
1593
+ * * SQL Data Type: decimal(3, 2)
1594
+ * * 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.`),
1595
+ Seed: zod_1.z.number().nullable().describe(`
1596
+ * * Field Name: Seed
1597
+ * * Display Name: Seed
1598
+ * * SQL Data Type: int
1599
+ * * Description: Default random seed for this prompt. Used for deterministic generation. Same seed produces same output. Can be overridden at runtime.`),
1600
+ StopSequences: zod_1.z.string().nullable().describe(`
1601
+ * * Field Name: StopSequences
1602
+ * * Display Name: Stop Sequences
1603
+ * * SQL Data Type: nvarchar(1000)
1604
+ * * Description: Default stop sequences for this prompt. Comma-delimited list of sequences that will stop generation when encountered. Can be overridden at runtime.`),
1605
+ IncludeLogProbs: zod_1.z.boolean().nullable().describe(`
1606
+ * * Field Name: IncludeLogProbs
1607
+ * * Display Name: Include Log Probs
1608
+ * * SQL Data Type: bit
1609
+ * * Default Value: 0
1610
+ * * Description: Default setting for including log probabilities in the response. Can be overridden at runtime.`),
1611
+ TopLogProbs: zod_1.z.number().nullable().describe(`
1612
+ * * Field Name: TopLogProbs
1613
+ * * Display Name: Top Log Probs
1614
+ * * SQL Data Type: int
1615
+ * * Description: Default number of top log probabilities to include when IncludeLogProbs is true. Can be overridden at runtime.`),
1565
1616
  Template: zod_1.z.string().describe(`
1566
1617
  * * Field Name: Template
1567
1618
  * * Display Name: Template
@@ -7784,6 +7835,61 @@ exports.AIPromptRunSchema = zod_1.z.object({
7784
7835
  * * Display Name: Tokens Completion Rollup
7785
7836
  * * SQL Data Type: int
7786
7837
  * * Description: Total completion/output tokens including this execution and all child/grandchild executions. For leaf nodes (no children), this equals TokensCompletion. For parent nodes, this includes the sum of all descendant completion tokens.`),
7838
+ Temperature: zod_1.z.number().nullable().describe(`
7839
+ * * Field Name: Temperature
7840
+ * * Display Name: Temperature
7841
+ * * SQL Data Type: decimal(3, 2)
7842
+ * * Description: The temperature parameter used for this prompt run, controlling randomness in the output (0.0 = deterministic, 2.0 = very random)`),
7843
+ TopP: zod_1.z.number().nullable().describe(`
7844
+ * * Field Name: TopP
7845
+ * * Display Name: Top P
7846
+ * * SQL Data Type: decimal(3, 2)
7847
+ * * Description: Top-p (nucleus) sampling parameter used for this run. Considers tokens with cumulative probability up to this value (0-1)`),
7848
+ TopK: zod_1.z.number().nullable().describe(`
7849
+ * * Field Name: TopK
7850
+ * * Display Name: Top K
7851
+ * * SQL Data Type: int
7852
+ * * Description: Top-k sampling parameter used for this run. Limits sampling to the top K most likely tokens`),
7853
+ MinP: zod_1.z.number().nullable().describe(`
7854
+ * * Field Name: MinP
7855
+ * * Display Name: Min P
7856
+ * * SQL Data Type: decimal(3, 2)
7857
+ * * Description: Minimum probability threshold used for token sampling (0-1). Tokens below this probability are filtered out`),
7858
+ FrequencyPenalty: zod_1.z.number().nullable().describe(`
7859
+ * * Field Name: FrequencyPenalty
7860
+ * * Display Name: Frequency Penalty
7861
+ * * SQL Data Type: decimal(3, 2)
7862
+ * * Description: Frequency penalty parameter used (-2.0 to 2.0). Positive values reduce repetition of tokens based on their frequency in the output`),
7863
+ PresencePenalty: zod_1.z.number().nullable().describe(`
7864
+ * * Field Name: PresencePenalty
7865
+ * * Display Name: Presence Penalty
7866
+ * * SQL Data Type: decimal(3, 2)
7867
+ * * Description: Presence penalty parameter used (-2.0 to 2.0). Positive values encourage the model to talk about new topics`),
7868
+ Seed: zod_1.z.number().nullable().describe(`
7869
+ * * Field Name: Seed
7870
+ * * Display Name: Seed
7871
+ * * SQL Data Type: int
7872
+ * * Description: Random seed used for reproducible outputs. When set, the same seed with identical inputs should produce the same output`),
7873
+ StopSequences: zod_1.z.string().nullable().describe(`
7874
+ * * Field Name: StopSequences
7875
+ * * Display Name: Stop Sequences
7876
+ * * SQL Data Type: nvarchar(MAX)
7877
+ * * Description: JSON array of stop sequences used. The model stops generating when any of these sequences are encountered`),
7878
+ ResponseFormat: zod_1.z.string().nullable().describe(`
7879
+ * * Field Name: ResponseFormat
7880
+ * * Display Name: Response Format
7881
+ * * SQL Data Type: nvarchar(50)
7882
+ * * Description: The response format requested for this run (e.g., 'JSON', 'Text', 'Markdown')`),
7883
+ LogProbs: zod_1.z.boolean().nullable().describe(`
7884
+ * * Field Name: LogProbs
7885
+ * * Display Name: Log Probs
7886
+ * * SQL Data Type: bit
7887
+ * * Description: Whether log probabilities were requested for this run`),
7888
+ TopLogProbs: zod_1.z.number().nullable().describe(`
7889
+ * * Field Name: TopLogProbs
7890
+ * * Display Name: Top Log Probs
7891
+ * * SQL Data Type: int
7892
+ * * Description: Number of top log probabilities requested per token (if LogProbs is true)`),
7787
7893
  Prompt: zod_1.z.string().describe(`
7788
7894
  * * Field Name: Prompt
7789
7895
  * * Display Name: Prompt
@@ -15530,6 +15636,127 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
15530
15636
  this.Set('PromptPosition', value);
15531
15637
  }
15532
15638
  /**
15639
+ * * Field Name: Temperature
15640
+ * * Display Name: Temperature
15641
+ * * SQL Data Type: decimal(3, 2)
15642
+ * * 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.
15643
+ */
15644
+ get Temperature() {
15645
+ return this.Get('Temperature');
15646
+ }
15647
+ set Temperature(value) {
15648
+ this.Set('Temperature', value);
15649
+ }
15650
+ /**
15651
+ * * Field Name: TopP
15652
+ * * Display Name: Top P
15653
+ * * SQL Data Type: decimal(3, 2)
15654
+ * * 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.
15655
+ */
15656
+ get TopP() {
15657
+ return this.Get('TopP');
15658
+ }
15659
+ set TopP(value) {
15660
+ this.Set('TopP', value);
15661
+ }
15662
+ /**
15663
+ * * Field Name: TopK
15664
+ * * Display Name: Top K
15665
+ * * SQL Data Type: int
15666
+ * * Description: Default TopK sampling for this prompt. Only sample from the top K tokens. Lower values reduce randomness. Can be overridden at runtime.
15667
+ */
15668
+ get TopK() {
15669
+ return this.Get('TopK');
15670
+ }
15671
+ set TopK(value) {
15672
+ this.Set('TopK', value);
15673
+ }
15674
+ /**
15675
+ * * Field Name: MinP
15676
+ * * Display Name: Min P
15677
+ * * SQL Data Type: decimal(3, 2)
15678
+ * * Description: Default MinP (minimum probability) for this prompt. Tokens with probability below this threshold are filtered out. Can be overridden at runtime.
15679
+ */
15680
+ get MinP() {
15681
+ return this.Get('MinP');
15682
+ }
15683
+ set MinP(value) {
15684
+ this.Set('MinP', value);
15685
+ }
15686
+ /**
15687
+ * * Field Name: FrequencyPenalty
15688
+ * * Display Name: Frequency Penalty
15689
+ * * SQL Data Type: decimal(3, 2)
15690
+ * * 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.
15691
+ */
15692
+ get FrequencyPenalty() {
15693
+ return this.Get('FrequencyPenalty');
15694
+ }
15695
+ set FrequencyPenalty(value) {
15696
+ this.Set('FrequencyPenalty', value);
15697
+ }
15698
+ /**
15699
+ * * Field Name: PresencePenalty
15700
+ * * Display Name: Presence Penalty
15701
+ * * SQL Data Type: decimal(3, 2)
15702
+ * * 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.
15703
+ */
15704
+ get PresencePenalty() {
15705
+ return this.Get('PresencePenalty');
15706
+ }
15707
+ set PresencePenalty(value) {
15708
+ this.Set('PresencePenalty', value);
15709
+ }
15710
+ /**
15711
+ * * Field Name: Seed
15712
+ * * Display Name: Seed
15713
+ * * SQL Data Type: int
15714
+ * * Description: Default random seed for this prompt. Used for deterministic generation. Same seed produces same output. Can be overridden at runtime.
15715
+ */
15716
+ get Seed() {
15717
+ return this.Get('Seed');
15718
+ }
15719
+ set Seed(value) {
15720
+ this.Set('Seed', value);
15721
+ }
15722
+ /**
15723
+ * * Field Name: StopSequences
15724
+ * * Display Name: Stop Sequences
15725
+ * * SQL Data Type: nvarchar(1000)
15726
+ * * Description: Default stop sequences for this prompt. Comma-delimited list of sequences that will stop generation when encountered. Can be overridden at runtime.
15727
+ */
15728
+ get StopSequences() {
15729
+ return this.Get('StopSequences');
15730
+ }
15731
+ set StopSequences(value) {
15732
+ this.Set('StopSequences', value);
15733
+ }
15734
+ /**
15735
+ * * Field Name: IncludeLogProbs
15736
+ * * Display Name: Include Log Probs
15737
+ * * SQL Data Type: bit
15738
+ * * Default Value: 0
15739
+ * * Description: Default setting for including log probabilities in the response. Can be overridden at runtime.
15740
+ */
15741
+ get IncludeLogProbs() {
15742
+ return this.Get('IncludeLogProbs');
15743
+ }
15744
+ set IncludeLogProbs(value) {
15745
+ this.Set('IncludeLogProbs', value);
15746
+ }
15747
+ /**
15748
+ * * Field Name: TopLogProbs
15749
+ * * Display Name: Top Log Probs
15750
+ * * SQL Data Type: int
15751
+ * * Description: Default number of top log probabilities to include when IncludeLogProbs is true. Can be overridden at runtime.
15752
+ */
15753
+ get TopLogProbs() {
15754
+ return this.Get('TopLogProbs');
15755
+ }
15756
+ set TopLogProbs(value) {
15757
+ this.Set('TopLogProbs', value);
15758
+ }
15759
+ /**
15533
15760
  * * Field Name: Template
15534
15761
  * * Display Name: Template
15535
15762
  * * SQL Data Type: nvarchar(255)
@@ -31825,6 +32052,138 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
31825
32052
  this.Set('TokensCompletionRollup', value);
31826
32053
  }
31827
32054
  /**
32055
+ * * Field Name: Temperature
32056
+ * * Display Name: Temperature
32057
+ * * SQL Data Type: decimal(3, 2)
32058
+ * * Description: The temperature parameter used for this prompt run, controlling randomness in the output (0.0 = deterministic, 2.0 = very random)
32059
+ */
32060
+ get Temperature() {
32061
+ return this.Get('Temperature');
32062
+ }
32063
+ set Temperature(value) {
32064
+ this.Set('Temperature', value);
32065
+ }
32066
+ /**
32067
+ * * Field Name: TopP
32068
+ * * Display Name: Top P
32069
+ * * SQL Data Type: decimal(3, 2)
32070
+ * * Description: Top-p (nucleus) sampling parameter used for this run. Considers tokens with cumulative probability up to this value (0-1)
32071
+ */
32072
+ get TopP() {
32073
+ return this.Get('TopP');
32074
+ }
32075
+ set TopP(value) {
32076
+ this.Set('TopP', value);
32077
+ }
32078
+ /**
32079
+ * * Field Name: TopK
32080
+ * * Display Name: Top K
32081
+ * * SQL Data Type: int
32082
+ * * Description: Top-k sampling parameter used for this run. Limits sampling to the top K most likely tokens
32083
+ */
32084
+ get TopK() {
32085
+ return this.Get('TopK');
32086
+ }
32087
+ set TopK(value) {
32088
+ this.Set('TopK', value);
32089
+ }
32090
+ /**
32091
+ * * Field Name: MinP
32092
+ * * Display Name: Min P
32093
+ * * SQL Data Type: decimal(3, 2)
32094
+ * * Description: Minimum probability threshold used for token sampling (0-1). Tokens below this probability are filtered out
32095
+ */
32096
+ get MinP() {
32097
+ return this.Get('MinP');
32098
+ }
32099
+ set MinP(value) {
32100
+ this.Set('MinP', value);
32101
+ }
32102
+ /**
32103
+ * * Field Name: FrequencyPenalty
32104
+ * * Display Name: Frequency Penalty
32105
+ * * SQL Data Type: decimal(3, 2)
32106
+ * * Description: Frequency penalty parameter used (-2.0 to 2.0). Positive values reduce repetition of tokens based on their frequency in the output
32107
+ */
32108
+ get FrequencyPenalty() {
32109
+ return this.Get('FrequencyPenalty');
32110
+ }
32111
+ set FrequencyPenalty(value) {
32112
+ this.Set('FrequencyPenalty', value);
32113
+ }
32114
+ /**
32115
+ * * Field Name: PresencePenalty
32116
+ * * Display Name: Presence Penalty
32117
+ * * SQL Data Type: decimal(3, 2)
32118
+ * * Description: Presence penalty parameter used (-2.0 to 2.0). Positive values encourage the model to talk about new topics
32119
+ */
32120
+ get PresencePenalty() {
32121
+ return this.Get('PresencePenalty');
32122
+ }
32123
+ set PresencePenalty(value) {
32124
+ this.Set('PresencePenalty', value);
32125
+ }
32126
+ /**
32127
+ * * Field Name: Seed
32128
+ * * Display Name: Seed
32129
+ * * SQL Data Type: int
32130
+ * * Description: Random seed used for reproducible outputs. When set, the same seed with identical inputs should produce the same output
32131
+ */
32132
+ get Seed() {
32133
+ return this.Get('Seed');
32134
+ }
32135
+ set Seed(value) {
32136
+ this.Set('Seed', value);
32137
+ }
32138
+ /**
32139
+ * * Field Name: StopSequences
32140
+ * * Display Name: Stop Sequences
32141
+ * * SQL Data Type: nvarchar(MAX)
32142
+ * * Description: JSON array of stop sequences used. The model stops generating when any of these sequences are encountered
32143
+ */
32144
+ get StopSequences() {
32145
+ return this.Get('StopSequences');
32146
+ }
32147
+ set StopSequences(value) {
32148
+ this.Set('StopSequences', value);
32149
+ }
32150
+ /**
32151
+ * * Field Name: ResponseFormat
32152
+ * * Display Name: Response Format
32153
+ * * SQL Data Type: nvarchar(50)
32154
+ * * Description: The response format requested for this run (e.g., 'JSON', 'Text', 'Markdown')
32155
+ */
32156
+ get ResponseFormat() {
32157
+ return this.Get('ResponseFormat');
32158
+ }
32159
+ set ResponseFormat(value) {
32160
+ this.Set('ResponseFormat', value);
32161
+ }
32162
+ /**
32163
+ * * Field Name: LogProbs
32164
+ * * Display Name: Log Probs
32165
+ * * SQL Data Type: bit
32166
+ * * Description: Whether log probabilities were requested for this run
32167
+ */
32168
+ get LogProbs() {
32169
+ return this.Get('LogProbs');
32170
+ }
32171
+ set LogProbs(value) {
32172
+ this.Set('LogProbs', value);
32173
+ }
32174
+ /**
32175
+ * * Field Name: TopLogProbs
32176
+ * * Display Name: Top Log Probs
32177
+ * * SQL Data Type: int
32178
+ * * Description: Number of top log probabilities requested per token (if LogProbs is true)
32179
+ */
32180
+ get TopLogProbs() {
32181
+ return this.Get('TopLogProbs');
32182
+ }
32183
+ set TopLogProbs(value) {
32184
+ this.Set('TopLogProbs', value);
32185
+ }
32186
+ /**
31828
32187
  * * Field Name: Prompt
31829
32188
  * * Display Name: Prompt
31830
32189
  * * SQL Data Type: nvarchar(255)