@wix/auto_sdk_ai-gateway_generators 1.0.97 → 1.0.99
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 +532 -9
- package/build/cjs/index.js +132 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +132 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +528 -9
- package/build/cjs/meta.js +132 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +532 -9
- package/build/es/index.mjs +131 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +131 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +528 -9
- package/build/es/meta.mjs +131 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +132 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +545 -22
- package/build/internal/cjs/index.typings.js +132 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +528 -9
- package/build/internal/cjs/meta.js +132 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +131 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +545 -22
- package/build/internal/es/index.typings.mjs +131 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +528 -9
- package/build/internal/es/meta.mjs +131 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -118,6 +118,7 @@ __export(meta_exports, {
|
|
|
118
118
|
V1VideoModelOriginal: () => V1VideoModel,
|
|
119
119
|
VideoGenModelOriginal: () => VideoGenModel,
|
|
120
120
|
VideoModelOriginal: () => VideoModel,
|
|
121
|
+
Vllm_proxyV1ChatCompletionMessageMessageRoleOriginal: () => Vllm_proxyV1ChatCompletionMessageMessageRole,
|
|
121
122
|
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
122
123
|
editImage: () => editImage2,
|
|
123
124
|
generateAudio: () => generateAudio2,
|
|
@@ -387,6 +388,16 @@ function generateTextByPrompt(payload) {
|
|
|
387
388
|
{
|
|
388
389
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
389
390
|
},
|
|
391
|
+
{
|
|
392
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
393
|
+
},
|
|
394
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
395
|
+
{
|
|
396
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
400
|
+
},
|
|
390
401
|
{
|
|
391
402
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
392
403
|
isRepeated: true
|
|
@@ -573,6 +584,10 @@ function generateTextByPromptObject(payload) {
|
|
|
573
584
|
{
|
|
574
585
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
575
586
|
},
|
|
587
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
588
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
589
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
590
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
576
591
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
577
592
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
578
593
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -747,6 +762,16 @@ function generateTextByPromptObject(payload) {
|
|
|
747
762
|
{
|
|
748
763
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
749
764
|
},
|
|
765
|
+
{
|
|
766
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
767
|
+
},
|
|
768
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
769
|
+
{
|
|
770
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
774
|
+
},
|
|
750
775
|
{
|
|
751
776
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
752
777
|
isRepeated: true
|
|
@@ -878,6 +903,10 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
878
903
|
{
|
|
879
904
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
880
905
|
},
|
|
906
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
907
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
908
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
909
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
881
910
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
882
911
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
883
912
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1147,6 +1176,16 @@ function generateTextByProject(payload) {
|
|
|
1147
1176
|
{
|
|
1148
1177
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1149
1178
|
},
|
|
1179
|
+
{
|
|
1180
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1181
|
+
},
|
|
1182
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1183
|
+
{
|
|
1184
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1188
|
+
},
|
|
1150
1189
|
{
|
|
1151
1190
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
1152
1191
|
isRepeated: true
|
|
@@ -1426,6 +1465,16 @@ function generateImageByProject(payload) {
|
|
|
1426
1465
|
{
|
|
1427
1466
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1428
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1470
|
+
},
|
|
1471
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1472
|
+
{
|
|
1473
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1477
|
+
},
|
|
1429
1478
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1430
1479
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1431
1480
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1614,6 +1663,16 @@ function generateImageByPrompt(payload) {
|
|
|
1614
1663
|
{
|
|
1615
1664
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1616
1665
|
},
|
|
1666
|
+
{
|
|
1667
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1668
|
+
},
|
|
1669
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1670
|
+
{
|
|
1671
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1675
|
+
},
|
|
1617
1676
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1618
1677
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1619
1678
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1730,6 +1789,10 @@ function generateImageByPromptObject(payload) {
|
|
|
1730
1789
|
{
|
|
1731
1790
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1732
1791
|
},
|
|
1792
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
1793
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1794
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
1795
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
1733
1796
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
1734
1797
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
1735
1798
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1895,6 +1958,16 @@ function generateImageByPromptObject(payload) {
|
|
|
1895
1958
|
{
|
|
1896
1959
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1897
1960
|
},
|
|
1961
|
+
{
|
|
1962
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1963
|
+
},
|
|
1964
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1965
|
+
{
|
|
1966
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1970
|
+
},
|
|
1898
1971
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1899
1972
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1900
1973
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2097,6 +2170,16 @@ function generateContentByPrompt(payload) {
|
|
|
2097
2170
|
{
|
|
2098
2171
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2099
2172
|
},
|
|
2173
|
+
{
|
|
2174
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2175
|
+
},
|
|
2176
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2177
|
+
{
|
|
2178
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2182
|
+
},
|
|
2100
2183
|
{
|
|
2101
2184
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2102
2185
|
isRepeated: true
|
|
@@ -2139,7 +2222,8 @@ function generateContentByPrompt(payload) {
|
|
|
2139
2222
|
paths: [
|
|
2140
2223
|
{
|
|
2141
2224
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2142
|
-
}
|
|
2225
|
+
},
|
|
2226
|
+
{ path: "response.falRawResponse.body" }
|
|
2143
2227
|
]
|
|
2144
2228
|
}
|
|
2145
2229
|
])
|
|
@@ -2314,6 +2398,16 @@ function generateContentByProject(payload) {
|
|
|
2314
2398
|
{
|
|
2315
2399
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2316
2400
|
},
|
|
2401
|
+
{
|
|
2402
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2403
|
+
},
|
|
2404
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2405
|
+
{
|
|
2406
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2410
|
+
},
|
|
2317
2411
|
{
|
|
2318
2412
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2319
2413
|
isRepeated: true
|
|
@@ -2356,7 +2450,8 @@ function generateContentByProject(payload) {
|
|
|
2356
2450
|
paths: [
|
|
2357
2451
|
{
|
|
2358
2452
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2359
|
-
}
|
|
2453
|
+
},
|
|
2454
|
+
{ path: "response.falRawResponse.body" }
|
|
2360
2455
|
]
|
|
2361
2456
|
}
|
|
2362
2457
|
])
|
|
@@ -2445,6 +2540,10 @@ function generateContentByPromptObject(payload) {
|
|
|
2445
2540
|
{
|
|
2446
2541
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2447
2542
|
},
|
|
2543
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
2544
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2545
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
2546
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2448
2547
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2449
2548
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2450
2549
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2624,6 +2723,16 @@ function generateContentByPromptObject(payload) {
|
|
|
2624
2723
|
{
|
|
2625
2724
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2626
2725
|
},
|
|
2726
|
+
{
|
|
2727
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2728
|
+
},
|
|
2729
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2730
|
+
{
|
|
2731
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2735
|
+
},
|
|
2627
2736
|
{
|
|
2628
2737
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2629
2738
|
isRepeated: true
|
|
@@ -2666,7 +2775,8 @@ function generateContentByPromptObject(payload) {
|
|
|
2666
2775
|
paths: [
|
|
2667
2776
|
{
|
|
2668
2777
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2669
|
-
}
|
|
2778
|
+
},
|
|
2779
|
+
{ path: "response.falRawResponse.body" }
|
|
2670
2780
|
]
|
|
2671
2781
|
}
|
|
2672
2782
|
])
|
|
@@ -2905,6 +3015,10 @@ function publishPrompt(payload) {
|
|
|
2905
3015
|
{
|
|
2906
3016
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2907
3017
|
},
|
|
3018
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3019
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3020
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3021
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2908
3022
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2909
3023
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2910
3024
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3049,6 +3163,10 @@ function getPrompt(payload) {
|
|
|
3049
3163
|
{
|
|
3050
3164
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
3051
3165
|
},
|
|
3166
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3167
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3168
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3169
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
3052
3170
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
3053
3171
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
3054
3172
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3960,6 +4078,16 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
3960
4078
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3961
4079
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
3962
4080
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
4081
|
+
var Vllm_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Vllm_proxyV1ChatCompletionMessageMessageRole2) => {
|
|
4082
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["UNKNOWN"] = "UNKNOWN";
|
|
4083
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["USER"] = "USER";
|
|
4084
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["ASSISTANT"] = "ASSISTANT";
|
|
4085
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["SYSTEM"] = "SYSTEM";
|
|
4086
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["FUNCTION"] = "FUNCTION";
|
|
4087
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["TOOL"] = "TOOL";
|
|
4088
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
4089
|
+
return Vllm_proxyV1ChatCompletionMessageMessageRole2;
|
|
4090
|
+
})(Vllm_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3963
4091
|
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3964
4092
|
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3965
4093
|
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
@@ -4706,6 +4834,7 @@ function pollImageGenerationResult2() {
|
|
|
4706
4834
|
V1VideoModelOriginal,
|
|
4707
4835
|
VideoGenModelOriginal,
|
|
4708
4836
|
VideoModelOriginal,
|
|
4837
|
+
Vllm_proxyV1ChatCompletionMessageMessageRoleOriginal,
|
|
4709
4838
|
WebhookIdentityTypeOriginal,
|
|
4710
4839
|
editImage,
|
|
4711
4840
|
generateAudio,
|