@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
|
@@ -22,7 +22,6 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AnthropicModel: () => AnthropicModel,
|
|
24
24
|
CacheControlType: () => CacheControlType,
|
|
25
|
-
ChatBisonModel: () => ChatBisonModel,
|
|
26
25
|
ChatCompletionMessageMessageRole: () => ChatCompletionMessageMessageRole,
|
|
27
26
|
ChatCompletionModel: () => ChatCompletionModel,
|
|
28
27
|
ClaudeModel: () => ClaudeModel,
|
|
@@ -255,10 +254,6 @@ function generateTextByPrompt(payload) {
|
|
|
255
254
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
256
255
|
isRepeated: true
|
|
257
256
|
},
|
|
258
|
-
{
|
|
259
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
260
|
-
isRepeated: true
|
|
261
|
-
},
|
|
262
257
|
{
|
|
263
258
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
264
259
|
},
|
|
@@ -282,12 +277,6 @@ function generateTextByPrompt(payload) {
|
|
|
282
277
|
{
|
|
283
278
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
284
279
|
},
|
|
285
|
-
{
|
|
286
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
290
|
-
},
|
|
291
280
|
{
|
|
292
281
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
293
282
|
},
|
|
@@ -518,8 +507,6 @@ function generateTextByPromptObject(payload) {
|
|
|
518
507
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
519
508
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
520
509
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
521
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
522
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
523
510
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
524
511
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
525
512
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -627,10 +614,6 @@ function generateTextByPromptObject(payload) {
|
|
|
627
614
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
628
615
|
isRepeated: true
|
|
629
616
|
},
|
|
630
|
-
{
|
|
631
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
632
|
-
isRepeated: true
|
|
633
|
-
},
|
|
634
617
|
{
|
|
635
618
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
636
619
|
},
|
|
@@ -654,12 +637,6 @@ function generateTextByPromptObject(payload) {
|
|
|
654
637
|
{
|
|
655
638
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
656
639
|
},
|
|
657
|
-
{
|
|
658
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
662
|
-
},
|
|
663
640
|
{
|
|
664
641
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
665
642
|
},
|
|
@@ -841,8 +818,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
841
818
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
842
819
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
843
820
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
844
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
845
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
846
821
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
847
822
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
848
823
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1039,10 +1014,6 @@ function generateTextByProject(payload) {
|
|
|
1039
1014
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1040
1015
|
isRepeated: true
|
|
1041
1016
|
},
|
|
1042
|
-
{
|
|
1043
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
1044
|
-
isRepeated: true
|
|
1045
|
-
},
|
|
1046
1017
|
{
|
|
1047
1018
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1048
1019
|
},
|
|
@@ -1066,12 +1037,6 @@ function generateTextByProject(payload) {
|
|
|
1066
1037
|
{
|
|
1067
1038
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1068
1039
|
},
|
|
1069
|
-
{
|
|
1070
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1074
|
-
},
|
|
1075
1040
|
{
|
|
1076
1041
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1077
1042
|
},
|
|
@@ -1351,12 +1316,6 @@ function generateImageByProject(payload) {
|
|
|
1351
1316
|
{
|
|
1352
1317
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1353
1318
|
},
|
|
1354
|
-
{
|
|
1355
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1359
|
-
},
|
|
1360
1319
|
{
|
|
1361
1320
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1362
1321
|
},
|
|
@@ -1551,12 +1510,6 @@ function generateImageByPrompt(payload) {
|
|
|
1551
1510
|
{
|
|
1552
1511
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1553
1512
|
},
|
|
1554
|
-
{
|
|
1555
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1559
|
-
},
|
|
1560
1513
|
{
|
|
1561
1514
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1562
1515
|
},
|
|
@@ -1723,8 +1676,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1723
1676
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1724
1677
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1725
1678
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1726
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
1727
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
1728
1679
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1729
1680
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1730
1681
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1848,12 +1799,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1848
1799
|
{
|
|
1849
1800
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1850
1801
|
},
|
|
1851
|
-
{
|
|
1852
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1853
|
-
},
|
|
1854
|
-
{
|
|
1855
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1856
|
-
},
|
|
1857
1802
|
{
|
|
1858
1803
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1859
1804
|
},
|
|
@@ -2032,10 +1977,6 @@ function generateContentByPrompt(payload) {
|
|
|
2032
1977
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2033
1978
|
isRepeated: true
|
|
2034
1979
|
},
|
|
2035
|
-
{
|
|
2036
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2037
|
-
isRepeated: true
|
|
2038
|
-
},
|
|
2039
1980
|
{
|
|
2040
1981
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2041
1982
|
},
|
|
@@ -2064,12 +2005,6 @@ function generateContentByPrompt(payload) {
|
|
|
2064
2005
|
{
|
|
2065
2006
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2066
2007
|
},
|
|
2067
|
-
{
|
|
2068
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2072
|
-
},
|
|
2073
2008
|
{
|
|
2074
2009
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2075
2010
|
},
|
|
@@ -2263,10 +2198,6 @@ function generateContentByProject(payload) {
|
|
|
2263
2198
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2264
2199
|
isRepeated: true
|
|
2265
2200
|
},
|
|
2266
|
-
{
|
|
2267
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2268
|
-
isRepeated: true
|
|
2269
|
-
},
|
|
2270
2201
|
{
|
|
2271
2202
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2272
2203
|
},
|
|
@@ -2295,12 +2226,6 @@ function generateContentByProject(payload) {
|
|
|
2295
2226
|
{
|
|
2296
2227
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2297
2228
|
},
|
|
2298
|
-
{
|
|
2299
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2303
|
-
},
|
|
2304
2229
|
{
|
|
2305
2230
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2306
2231
|
},
|
|
@@ -2482,8 +2407,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2482
2407
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2483
2408
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2484
2409
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2485
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2486
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2487
2410
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2488
2411
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2489
2412
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2591,10 +2514,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2591
2514
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2592
2515
|
isRepeated: true
|
|
2593
2516
|
},
|
|
2594
|
-
{
|
|
2595
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2596
|
-
isRepeated: true
|
|
2597
|
-
},
|
|
2598
2517
|
{
|
|
2599
2518
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2600
2519
|
},
|
|
@@ -2623,12 +2542,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2623
2542
|
{
|
|
2624
2543
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2625
2544
|
},
|
|
2626
|
-
{
|
|
2627
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2631
|
-
},
|
|
2632
2545
|
{
|
|
2633
2546
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2634
2547
|
},
|
|
@@ -2960,8 +2873,6 @@ function publishPrompt(payload) {
|
|
|
2960
2873
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2961
2874
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2962
2875
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2963
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2964
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2965
2876
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2966
2877
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2967
2878
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3092,8 +3003,6 @@ function getPrompt(payload) {
|
|
|
3092
3003
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
3093
3004
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
3094
3005
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
3095
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
3096
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
3097
3006
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
3098
3007
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
3099
3008
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3423,15 +3332,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
|
3423
3332
|
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3424
3333
|
return TextBisonModel2;
|
|
3425
3334
|
})(TextBisonModel || {});
|
|
3426
|
-
var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
|
|
3427
|
-
ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
|
|
3428
|
-
ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
|
|
3429
|
-
ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
|
|
3430
|
-
ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
|
|
3431
|
-
ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
|
|
3432
|
-
ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
|
|
3433
|
-
return ChatBisonModel2;
|
|
3434
|
-
})(ChatBisonModel || {});
|
|
3435
3335
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3436
3336
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3437
3337
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -5328,7 +5228,6 @@ var pollImageGenerationResult4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
5328
5228
|
0 && (module.exports = {
|
|
5329
5229
|
AnthropicModel,
|
|
5330
5230
|
CacheControlType,
|
|
5331
|
-
ChatBisonModel,
|
|
5332
5231
|
ChatCompletionMessageMessageRole,
|
|
5333
5232
|
ChatCompletionModel,
|
|
5334
5233
|
ClaudeModel,
|