@wix/auto_sdk_ai-gateway_generators 1.0.97 → 1.0.98
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 +473 -1
- package/build/cjs/index.js +126 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +126 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +471 -1
- package/build/cjs/meta.js +126 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +473 -1
- package/build/es/index.mjs +125 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +125 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +471 -1
- package/build/es/meta.mjs +125 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +126 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +486 -14
- package/build/internal/cjs/index.typings.js +126 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +471 -1
- package/build/internal/cjs/meta.js +126 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +125 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +486 -14
- package/build/internal/es/index.typings.mjs +125 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +471 -1
- package/build/internal/es/meta.mjs +125 -0
- 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
|
|
@@ -2314,6 +2397,16 @@ function generateContentByProject(payload) {
|
|
|
2314
2397
|
{
|
|
2315
2398
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2316
2399
|
},
|
|
2400
|
+
{
|
|
2401
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2402
|
+
},
|
|
2403
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2404
|
+
{
|
|
2405
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2409
|
+
},
|
|
2317
2410
|
{
|
|
2318
2411
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2319
2412
|
isRepeated: true
|
|
@@ -2445,6 +2538,10 @@ function generateContentByPromptObject(payload) {
|
|
|
2445
2538
|
{
|
|
2446
2539
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2447
2540
|
},
|
|
2541
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
2542
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2543
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
2544
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2448
2545
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2449
2546
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2450
2547
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2624,6 +2721,16 @@ function generateContentByPromptObject(payload) {
|
|
|
2624
2721
|
{
|
|
2625
2722
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2626
2723
|
},
|
|
2724
|
+
{
|
|
2725
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2726
|
+
},
|
|
2727
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2728
|
+
{
|
|
2729
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2733
|
+
},
|
|
2627
2734
|
{
|
|
2628
2735
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2629
2736
|
isRepeated: true
|
|
@@ -2905,6 +3012,10 @@ function publishPrompt(payload) {
|
|
|
2905
3012
|
{
|
|
2906
3013
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2907
3014
|
},
|
|
3015
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3016
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3017
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3018
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2908
3019
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2909
3020
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2910
3021
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3049,6 +3160,10 @@ function getPrompt(payload) {
|
|
|
3049
3160
|
{
|
|
3050
3161
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
3051
3162
|
},
|
|
3163
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3164
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3165
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3166
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
3052
3167
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
3053
3168
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
3054
3169
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3960,6 +4075,16 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
3960
4075
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3961
4076
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
3962
4077
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
4078
|
+
var Vllm_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Vllm_proxyV1ChatCompletionMessageMessageRole2) => {
|
|
4079
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["UNKNOWN"] = "UNKNOWN";
|
|
4080
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["USER"] = "USER";
|
|
4081
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["ASSISTANT"] = "ASSISTANT";
|
|
4082
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["SYSTEM"] = "SYSTEM";
|
|
4083
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["FUNCTION"] = "FUNCTION";
|
|
4084
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["TOOL"] = "TOOL";
|
|
4085
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
4086
|
+
return Vllm_proxyV1ChatCompletionMessageMessageRole2;
|
|
4087
|
+
})(Vllm_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3963
4088
|
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3964
4089
|
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3965
4090
|
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
@@ -4706,6 +4831,7 @@ function pollImageGenerationResult2() {
|
|
|
4706
4831
|
V1VideoModelOriginal,
|
|
4707
4832
|
VideoGenModelOriginal,
|
|
4708
4833
|
VideoModelOriginal,
|
|
4834
|
+
Vllm_proxyV1ChatCompletionMessageMessageRoleOriginal,
|
|
4709
4835
|
WebhookIdentityTypeOriginal,
|
|
4710
4836
|
editImage,
|
|
4711
4837
|
generateAudio,
|