@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.
- package/build/cjs/index.d.ts +1 -102
- package/build/cjs/index.js +0 -101
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +0 -101
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -100
- package/build/cjs/meta.js +0 -101
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -102
- package/build/es/index.mjs +0 -100
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +0 -100
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -100
- package/build/es/meta.mjs +0 -100
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +0 -101
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +11 -112
- package/build/internal/cjs/index.typings.js +0 -101
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -100
- package/build/internal/cjs/meta.js +0 -101
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +0 -100
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +11 -112
- package/build/internal/es/index.typings.mjs +0 -100
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -100
- package/build/internal/es/meta.mjs +0 -100
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -101,10 +101,6 @@ function generateTextByPrompt(payload) {
|
|
|
101
101
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
102
102
|
isRepeated: true
|
|
103
103
|
},
|
|
104
|
-
{
|
|
105
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
106
|
-
isRepeated: true
|
|
107
|
-
},
|
|
108
104
|
{
|
|
109
105
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
110
106
|
},
|
|
@@ -128,12 +124,6 @@ function generateTextByPrompt(payload) {
|
|
|
128
124
|
{
|
|
129
125
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
130
126
|
},
|
|
131
|
-
{
|
|
132
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
136
|
-
},
|
|
137
127
|
{
|
|
138
128
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
139
129
|
},
|
|
@@ -364,8 +354,6 @@ function generateTextByPromptObject(payload) {
|
|
|
364
354
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
365
355
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
366
356
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
367
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
368
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
369
357
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
370
358
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
371
359
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -473,10 +461,6 @@ function generateTextByPromptObject(payload) {
|
|
|
473
461
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
474
462
|
isRepeated: true
|
|
475
463
|
},
|
|
476
|
-
{
|
|
477
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
478
|
-
isRepeated: true
|
|
479
|
-
},
|
|
480
464
|
{
|
|
481
465
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
482
466
|
},
|
|
@@ -500,12 +484,6 @@ function generateTextByPromptObject(payload) {
|
|
|
500
484
|
{
|
|
501
485
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
502
486
|
},
|
|
503
|
-
{
|
|
504
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
508
|
-
},
|
|
509
487
|
{
|
|
510
488
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
511
489
|
},
|
|
@@ -687,8 +665,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
687
665
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
688
666
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
689
667
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
690
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
691
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
692
668
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
693
669
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
694
670
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -885,10 +861,6 @@ function generateTextByProject(payload) {
|
|
|
885
861
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
886
862
|
isRepeated: true
|
|
887
863
|
},
|
|
888
|
-
{
|
|
889
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
890
|
-
isRepeated: true
|
|
891
|
-
},
|
|
892
864
|
{
|
|
893
865
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
894
866
|
},
|
|
@@ -912,12 +884,6 @@ function generateTextByProject(payload) {
|
|
|
912
884
|
{
|
|
913
885
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
914
886
|
},
|
|
915
|
-
{
|
|
916
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
920
|
-
},
|
|
921
887
|
{
|
|
922
888
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
923
889
|
},
|
|
@@ -1197,12 +1163,6 @@ function generateImageByProject(payload) {
|
|
|
1197
1163
|
{
|
|
1198
1164
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1199
1165
|
},
|
|
1200
|
-
{
|
|
1201
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1205
|
-
},
|
|
1206
1166
|
{
|
|
1207
1167
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1208
1168
|
},
|
|
@@ -1397,12 +1357,6 @@ function generateImageByPrompt(payload) {
|
|
|
1397
1357
|
{
|
|
1398
1358
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1399
1359
|
},
|
|
1400
|
-
{
|
|
1401
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1402
|
-
},
|
|
1403
|
-
{
|
|
1404
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1405
|
-
},
|
|
1406
1360
|
{
|
|
1407
1361
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1408
1362
|
},
|
|
@@ -1569,8 +1523,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1569
1523
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1570
1524
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1571
1525
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1572
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
1573
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
1574
1526
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1575
1527
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1576
1528
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1694,12 +1646,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1694
1646
|
{
|
|
1695
1647
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1696
1648
|
},
|
|
1697
|
-
{
|
|
1698
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1702
|
-
},
|
|
1703
1649
|
{
|
|
1704
1650
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1705
1651
|
},
|
|
@@ -1878,10 +1824,6 @@ function generateContentByPrompt(payload) {
|
|
|
1878
1824
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1879
1825
|
isRepeated: true
|
|
1880
1826
|
},
|
|
1881
|
-
{
|
|
1882
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
1883
|
-
isRepeated: true
|
|
1884
|
-
},
|
|
1885
1827
|
{
|
|
1886
1828
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1887
1829
|
},
|
|
@@ -1910,12 +1852,6 @@ function generateContentByPrompt(payload) {
|
|
|
1910
1852
|
{
|
|
1911
1853
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1912
1854
|
},
|
|
1913
|
-
{
|
|
1914
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1915
|
-
},
|
|
1916
|
-
{
|
|
1917
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1918
|
-
},
|
|
1919
1855
|
{
|
|
1920
1856
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1921
1857
|
},
|
|
@@ -2109,10 +2045,6 @@ function generateContentByProject(payload) {
|
|
|
2109
2045
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2110
2046
|
isRepeated: true
|
|
2111
2047
|
},
|
|
2112
|
-
{
|
|
2113
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2114
|
-
isRepeated: true
|
|
2115
|
-
},
|
|
2116
2048
|
{
|
|
2117
2049
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2118
2050
|
},
|
|
@@ -2141,12 +2073,6 @@ function generateContentByProject(payload) {
|
|
|
2141
2073
|
{
|
|
2142
2074
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2143
2075
|
},
|
|
2144
|
-
{
|
|
2145
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2146
|
-
},
|
|
2147
|
-
{
|
|
2148
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2149
|
-
},
|
|
2150
2076
|
{
|
|
2151
2077
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2152
2078
|
},
|
|
@@ -2328,8 +2254,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2328
2254
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2329
2255
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2330
2256
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2331
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2332
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2333
2257
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2334
2258
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2335
2259
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2437,10 +2361,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2437
2361
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2438
2362
|
isRepeated: true
|
|
2439
2363
|
},
|
|
2440
|
-
{
|
|
2441
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2442
|
-
isRepeated: true
|
|
2443
|
-
},
|
|
2444
2364
|
{
|
|
2445
2365
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2446
2366
|
},
|
|
@@ -2469,12 +2389,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2469
2389
|
{
|
|
2470
2390
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2471
2391
|
},
|
|
2472
|
-
{
|
|
2473
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2477
|
-
},
|
|
2478
2392
|
{
|
|
2479
2393
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2480
2394
|
},
|
|
@@ -2806,8 +2720,6 @@ function publishPrompt(payload) {
|
|
|
2806
2720
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2807
2721
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2808
2722
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2809
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2810
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2811
2723
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2812
2724
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2813
2725
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2938,8 +2850,6 @@ function getPrompt(payload) {
|
|
|
2938
2850
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2939
2851
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2940
2852
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2941
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2942
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2943
2853
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2944
2854
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2945
2855
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3269,15 +3179,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
|
3269
3179
|
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3270
3180
|
return TextBisonModel2;
|
|
3271
3181
|
})(TextBisonModel || {});
|
|
3272
|
-
var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
|
|
3273
|
-
ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
|
|
3274
|
-
ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
|
|
3275
|
-
ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
|
|
3276
|
-
ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
|
|
3277
|
-
ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
|
|
3278
|
-
ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
|
|
3279
|
-
return ChatBisonModel2;
|
|
3280
|
-
})(ChatBisonModel || {});
|
|
3281
3182
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3282
3183
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3283
3184
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -4553,7 +4454,6 @@ function pollImageGenerationResult2() {
|
|
|
4553
4454
|
export {
|
|
4554
4455
|
AnthropicModel as AnthropicModelOriginal,
|
|
4555
4456
|
CacheControlType as CacheControlTypeOriginal,
|
|
4556
|
-
ChatBisonModel as ChatBisonModelOriginal,
|
|
4557
4457
|
ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal,
|
|
4558
4458
|
ChatCompletionModel as ChatCompletionModelOriginal,
|
|
4559
4459
|
ClaudeModel as ClaudeModelOriginal,
|