@wix/auto_sdk_ai-gateway_generators 1.0.73 → 1.0.74

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -102
  2. package/build/cjs/index.js +0 -101
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +0 -101
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -100
  8. package/build/cjs/meta.js +0 -101
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -102
  11. package/build/es/index.mjs +0 -100
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +0 -100
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -100
  17. package/build/es/meta.mjs +0 -100
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +11 -11
  20. package/build/internal/cjs/index.js +0 -101
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +11 -112
  23. package/build/internal/cjs/index.typings.js +0 -101
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +1 -100
  26. package/build/internal/cjs/meta.js +0 -101
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +11 -11
  29. package/build/internal/es/index.mjs +0 -100
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +11 -112
  32. package/build/internal/es/index.typings.mjs +0 -100
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +1 -100
  35. package/build/internal/es/meta.mjs +0 -100
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -108,10 +108,6 @@ function generateTextByPrompt(payload) {
108
108
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
109
109
  isRepeated: true
110
110
  },
111
- {
112
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
113
- isRepeated: true
114
- },
115
111
  {
116
112
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
117
113
  },
@@ -135,12 +131,6 @@ function generateTextByPrompt(payload) {
135
131
  {
136
132
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
137
133
  },
138
- {
139
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
140
- },
141
- {
142
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
143
- },
144
134
  {
145
135
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
146
136
  },
@@ -371,8 +361,6 @@ function generateTextByPromptObject(payload) {
371
361
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
372
362
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
373
363
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
374
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
375
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
376
364
  { path: "prompt.azureChatCompletionRequest.temperature" },
377
365
  { path: "prompt.azureChatCompletionRequest.topP" },
378
366
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -480,10 +468,6 @@ function generateTextByPromptObject(payload) {
480
468
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
481
469
  isRepeated: true
482
470
  },
483
- {
484
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
485
- isRepeated: true
486
- },
487
471
  {
488
472
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
489
473
  },
@@ -507,12 +491,6 @@ function generateTextByPromptObject(payload) {
507
491
  {
508
492
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
509
493
  },
510
- {
511
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
512
- },
513
- {
514
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
515
- },
516
494
  {
517
495
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
518
496
  },
@@ -694,8 +672,6 @@ function generateTextByPromptObjectStreamed(payload) {
694
672
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
695
673
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
696
674
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
697
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
698
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
699
675
  { path: "prompt.azureChatCompletionRequest.temperature" },
700
676
  { path: "prompt.azureChatCompletionRequest.topP" },
701
677
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -892,10 +868,6 @@ function generateTextByProject(payload) {
892
868
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
893
869
  isRepeated: true
894
870
  },
895
- {
896
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
897
- isRepeated: true
898
- },
899
871
  {
900
872
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
901
873
  },
@@ -919,12 +891,6 @@ function generateTextByProject(payload) {
919
891
  {
920
892
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
921
893
  },
922
- {
923
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
924
- },
925
- {
926
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
927
- },
928
894
  {
929
895
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
930
896
  },
@@ -1204,12 +1170,6 @@ function generateImageByProject(payload) {
1204
1170
  {
1205
1171
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1206
1172
  },
1207
- {
1208
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1209
- },
1210
- {
1211
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1212
- },
1213
1173
  {
1214
1174
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1215
1175
  },
@@ -1404,12 +1364,6 @@ function generateImageByPrompt(payload) {
1404
1364
  {
1405
1365
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1406
1366
  },
1407
- {
1408
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1409
- },
1410
- {
1411
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1412
- },
1413
1367
  {
1414
1368
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1415
1369
  },
@@ -1576,8 +1530,6 @@ function generateImageByPromptObject(payload) {
1576
1530
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
1577
1531
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
1578
1532
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
1579
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
1580
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
1581
1533
  { path: "prompt.azureChatCompletionRequest.temperature" },
1582
1534
  { path: "prompt.azureChatCompletionRequest.topP" },
1583
1535
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1701,12 +1653,6 @@ function generateImageByPromptObject(payload) {
1701
1653
  {
1702
1654
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1703
1655
  },
1704
- {
1705
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1706
- },
1707
- {
1708
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1709
- },
1710
1656
  {
1711
1657
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1712
1658
  },
@@ -1885,10 +1831,6 @@ function generateContentByPrompt(payload) {
1885
1831
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
1886
1832
  isRepeated: true
1887
1833
  },
1888
- {
1889
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
1890
- isRepeated: true
1891
- },
1892
1834
  {
1893
1835
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
1894
1836
  },
@@ -1917,12 +1859,6 @@ function generateContentByPrompt(payload) {
1917
1859
  {
1918
1860
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1919
1861
  },
1920
- {
1921
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1922
- },
1923
- {
1924
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1925
- },
1926
1862
  {
1927
1863
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1928
1864
  },
@@ -2116,10 +2052,6 @@ function generateContentByProject(payload) {
2116
2052
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2117
2053
  isRepeated: true
2118
2054
  },
2119
- {
2120
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2121
- isRepeated: true
2122
- },
2123
2055
  {
2124
2056
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2125
2057
  },
@@ -2148,12 +2080,6 @@ function generateContentByProject(payload) {
2148
2080
  {
2149
2081
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2150
2082
  },
2151
- {
2152
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2153
- },
2154
- {
2155
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2156
- },
2157
2083
  {
2158
2084
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2159
2085
  },
@@ -2335,8 +2261,6 @@ function generateContentByPromptObject(payload) {
2335
2261
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2336
2262
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2337
2263
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
2338
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2339
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2340
2264
  { path: "prompt.azureChatCompletionRequest.temperature" },
2341
2265
  { path: "prompt.azureChatCompletionRequest.topP" },
2342
2266
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2444,10 +2368,6 @@ function generateContentByPromptObject(payload) {
2444
2368
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2445
2369
  isRepeated: true
2446
2370
  },
2447
- {
2448
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2449
- isRepeated: true
2450
- },
2451
2371
  {
2452
2372
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2453
2373
  },
@@ -2476,12 +2396,6 @@ function generateContentByPromptObject(payload) {
2476
2396
  {
2477
2397
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2478
2398
  },
2479
- {
2480
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2481
- },
2482
- {
2483
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2484
- },
2485
2399
  {
2486
2400
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2487
2401
  },
@@ -2813,8 +2727,6 @@ function publishPrompt(payload) {
2813
2727
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2814
2728
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2815
2729
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
2816
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2817
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2818
2730
  { path: "prompt.azureChatCompletionRequest.temperature" },
2819
2731
  { path: "prompt.azureChatCompletionRequest.topP" },
2820
2732
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2945,8 +2857,6 @@ function getPrompt(payload) {
2945
2857
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2946
2858
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2947
2859
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
2948
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2949
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2950
2860
  { path: "prompt.azureChatCompletionRequest.temperature" },
2951
2861
  { path: "prompt.azureChatCompletionRequest.topP" },
2952
2862
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3276,15 +3186,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
3276
3186
  TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
3277
3187
  return TextBisonModel2;
3278
3188
  })(TextBisonModel || {});
3279
- var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
3280
- ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
3281
- ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
3282
- ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
3283
- ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
3284
- ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
3285
- ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
3286
- return ChatBisonModel2;
3287
- })(ChatBisonModel || {});
3288
3189
  var V1Model = /* @__PURE__ */ ((V1Model2) => {
3289
3190
  V1Model2["UNKNOWN"] = "UNKNOWN";
3290
3191
  V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
@@ -4964,7 +4865,6 @@ async function pollImageGenerationResult2(options) {
4964
4865
  export {
4965
4866
  AnthropicModel,
4966
4867
  CacheControlType,
4967
- ChatBisonModel,
4968
4868
  ChatCompletionMessageMessageRole,
4969
4869
  ChatCompletionModel,
4970
4870
  ClaudeModel,