@wix/auto_sdk_ai-gateway_generators 1.0.77 → 1.0.78
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 +242 -4
- package/build/cjs/index.js +91 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +91 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +236 -2
- package/build/cjs/meta.js +87 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +242 -4
- package/build/es/index.mjs +91 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +91 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +236 -2
- package/build/es/meta.mjs +87 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +91 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +252 -14
- package/build/internal/cjs/index.typings.js +91 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +236 -2
- package/build/internal/cjs/meta.js +87 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +91 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +252 -14
- package/build/internal/es/index.typings.mjs +91 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +236 -2
- package/build/internal/es/meta.mjs +87 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -103,6 +103,12 @@ function generateTextByPrompt(payload) {
|
|
|
103
103
|
{
|
|
104
104
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
105
105
|
},
|
|
106
|
+
{
|
|
107
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
111
|
+
},
|
|
106
112
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
107
113
|
{
|
|
108
114
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -309,6 +315,12 @@ function generateTextByPromptStreamed(payload) {
|
|
|
309
315
|
{
|
|
310
316
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
311
317
|
},
|
|
318
|
+
{
|
|
319
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
323
|
+
},
|
|
312
324
|
{
|
|
313
325
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
314
326
|
isRepeated: true
|
|
@@ -451,6 +463,12 @@ function generateTextByPromptObject(payload) {
|
|
|
451
463
|
{
|
|
452
464
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
453
465
|
},
|
|
466
|
+
{
|
|
467
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
471
|
+
},
|
|
454
472
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
455
473
|
{
|
|
456
474
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -750,6 +768,12 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
750
768
|
{
|
|
751
769
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
752
770
|
},
|
|
771
|
+
{
|
|
772
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
776
|
+
},
|
|
753
777
|
{
|
|
754
778
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
755
779
|
isRepeated: true
|
|
@@ -839,6 +863,12 @@ function generateTextByProject(payload) {
|
|
|
839
863
|
{
|
|
840
864
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
841
865
|
},
|
|
866
|
+
{
|
|
867
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
871
|
+
},
|
|
842
872
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
843
873
|
{
|
|
844
874
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -1045,6 +1075,12 @@ function generateTextByProjectStreamed(payload) {
|
|
|
1045
1075
|
{
|
|
1046
1076
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
1047
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
1083
|
+
},
|
|
1048
1084
|
{
|
|
1049
1085
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
1050
1086
|
isRepeated: true
|
|
@@ -1772,6 +1808,12 @@ function generateContentByPrompt(payload) {
|
|
|
1772
1808
|
{
|
|
1773
1809
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
1774
1810
|
},
|
|
1811
|
+
{
|
|
1812
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
1816
|
+
},
|
|
1775
1817
|
{
|
|
1776
1818
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
1777
1819
|
isRepeated: true
|
|
@@ -1983,6 +2025,12 @@ function generateContentByProject(payload) {
|
|
|
1983
2025
|
{
|
|
1984
2026
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
1985
2027
|
},
|
|
2028
|
+
{
|
|
2029
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
2033
|
+
},
|
|
1986
2034
|
{
|
|
1987
2035
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
1988
2036
|
isRepeated: true
|
|
@@ -2287,6 +2335,12 @@ function generateContentByPromptObject(payload) {
|
|
|
2287
2335
|
{
|
|
2288
2336
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
2289
2337
|
},
|
|
2338
|
+
{
|
|
2339
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
2343
|
+
},
|
|
2290
2344
|
{
|
|
2291
2345
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
2292
2346
|
isRepeated: true
|
|
@@ -2992,7 +3046,38 @@ function editImage(payload) {
|
|
|
2992
3046
|
{ path: "replicateEditImageResponse.metrics.predictTime" },
|
|
2993
3047
|
{ path: "replicateEditImageResponse.metrics.totalTime" },
|
|
2994
3048
|
{ path: "replicateExtractFromImageResponse.metrics.extractTime" },
|
|
2995
|
-
{ path: "replicateExtractFromImageResponse.metrics.totalTime" }
|
|
3049
|
+
{ path: "replicateExtractFromImageResponse.metrics.totalTime" },
|
|
3050
|
+
{ path: "googleDetectTextResponse.textAnnotations.confidence" },
|
|
3051
|
+
{
|
|
3052
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.confidence"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.property.detectedLanguages.confidence"
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.confidence"
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.property.detectedLanguages.confidence"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.confidence"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.property.detectedLanguages.confidence"
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.confidence"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.property.detectedLanguages.confidence"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.confidence"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.property.detectedLanguages.confidence"
|
|
3080
|
+
}
|
|
2996
3081
|
]
|
|
2997
3082
|
}
|
|
2998
3083
|
])
|
|
@@ -3741,6 +3826,7 @@ var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
|
|
|
3741
3826
|
FinishReason2["SPII"] = "SPII";
|
|
3742
3827
|
FinishReason2["MALFORMED_FUNCTION_CALL"] = "MALFORMED_FUNCTION_CALL";
|
|
3743
3828
|
FinishReason2["IMAGE_SAFETY"] = "IMAGE_SAFETY";
|
|
3829
|
+
FinishReason2["MODEL_ARMOR"] = "MODEL_ARMOR";
|
|
3744
3830
|
FinishReason2["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
|
|
3745
3831
|
FinishReason2["TOO_MANY_TOOL_CALLS"] = "TOO_MANY_TOOL_CALLS";
|
|
3746
3832
|
FinishReason2["IMAGE_PROHIBITED_CONTENT"] = "IMAGE_PROHIBITED_CONTENT";
|