@orq-ai/node 4.12.8 → 4.12.10
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/index.ts +2 -1
- package/packages/orq-rc/src/models/components/plugin.ts +7 -0
- package/packages/orq-rc/src/models/components/publicplugin.ts +111 -0
- package/packages/orq-rc/src/models/components/reasoning.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsehealingplugin.ts +77 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +30 -10
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +9 -3
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +5 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +10 -5
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +10 -5
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +10 -5
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +66 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +12 -4
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +10 -5
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +12 -4
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/updateagent.ts +30 -10
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -189,7 +189,8 @@ export type Guardrails = {
|
|
|
189
189
|
export type Plugins =
|
|
190
190
|
| components.PIIRedactionPluginEn
|
|
191
191
|
| components.PIIRedactionPluginNl
|
|
192
|
-
| components.PIIRedactionPluginAuto
|
|
192
|
+
| components.PIIRedactionPluginAuto
|
|
193
|
+
| components.ResponseHealingPlugin;
|
|
193
194
|
|
|
194
195
|
export type ModelConfigurationFallbacks = {
|
|
195
196
|
/**
|
|
@@ -401,13 +402,14 @@ export type ParametersT = {
|
|
|
401
402
|
*/
|
|
402
403
|
guardrails?: Array<Guardrails> | undefined;
|
|
403
404
|
/**
|
|
404
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
405
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
405
406
|
*/
|
|
406
407
|
plugins?:
|
|
407
408
|
| Array<
|
|
408
409
|
| components.PIIRedactionPluginEn
|
|
409
410
|
| components.PIIRedactionPluginNl
|
|
410
411
|
| components.PIIRedactionPluginAuto
|
|
412
|
+
| components.ResponseHealingPlugin
|
|
411
413
|
>
|
|
412
414
|
| undefined;
|
|
413
415
|
/**
|
|
@@ -669,7 +671,8 @@ export type FallbackModelConfigurationGuardrails = {
|
|
|
669
671
|
export type FallbackModelConfigurationPlugins =
|
|
670
672
|
| components.PIIRedactionPluginEn
|
|
671
673
|
| components.PIIRedactionPluginNl
|
|
672
|
-
| components.PIIRedactionPluginAuto
|
|
674
|
+
| components.PIIRedactionPluginAuto
|
|
675
|
+
| components.ResponseHealingPlugin;
|
|
673
676
|
|
|
674
677
|
export type FallbackModelConfigurationFallbacks = {
|
|
675
678
|
/**
|
|
@@ -895,13 +898,14 @@ export type FallbackModelConfigurationParameters = {
|
|
|
895
898
|
*/
|
|
896
899
|
guardrails?: Array<FallbackModelConfigurationGuardrails> | undefined;
|
|
897
900
|
/**
|
|
898
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
901
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
899
902
|
*/
|
|
900
903
|
plugins?:
|
|
901
904
|
| Array<
|
|
902
905
|
| components.PIIRedactionPluginEn
|
|
903
906
|
| components.PIIRedactionPluginNl
|
|
904
907
|
| components.PIIRedactionPluginAuto
|
|
908
|
+
| components.ResponseHealingPlugin
|
|
905
909
|
>
|
|
906
910
|
| undefined;
|
|
907
911
|
/**
|
|
@@ -1590,7 +1594,8 @@ export type CreateAgentRequestAgentsResponseGuardrails = {
|
|
|
1590
1594
|
export type CreateAgentRequestPlugins =
|
|
1591
1595
|
| components.PIIRedactionPluginEn
|
|
1592
1596
|
| components.PIIRedactionPluginNl
|
|
1593
|
-
| components.PIIRedactionPluginAuto
|
|
1597
|
+
| components.PIIRedactionPluginAuto
|
|
1598
|
+
| components.ResponseHealingPlugin;
|
|
1594
1599
|
|
|
1595
1600
|
export type CreateAgentRequestFallbacks = {
|
|
1596
1601
|
/**
|
|
@@ -1814,13 +1819,14 @@ export type CreateAgentRequestParameters = {
|
|
|
1814
1819
|
*/
|
|
1815
1820
|
guardrails?: Array<CreateAgentRequestAgentsResponseGuardrails> | undefined;
|
|
1816
1821
|
/**
|
|
1817
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1822
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1818
1823
|
*/
|
|
1819
1824
|
plugins?:
|
|
1820
1825
|
| Array<
|
|
1821
1826
|
| components.PIIRedactionPluginEn
|
|
1822
1827
|
| components.PIIRedactionPluginNl
|
|
1823
1828
|
| components.PIIRedactionPluginAuto
|
|
1829
|
+
| components.ResponseHealingPlugin
|
|
1824
1830
|
>
|
|
1825
1831
|
| undefined;
|
|
1826
1832
|
/**
|
|
@@ -2067,7 +2073,8 @@ export type CreateAgentRequestFallbackModelConfigurationGuardrails = {
|
|
|
2067
2073
|
export type CreateAgentRequestFallbackModelConfigurationPlugins =
|
|
2068
2074
|
| components.PIIRedactionPluginEn
|
|
2069
2075
|
| components.PIIRedactionPluginNl
|
|
2070
|
-
| components.PIIRedactionPluginAuto
|
|
2076
|
+
| components.PIIRedactionPluginAuto
|
|
2077
|
+
| components.ResponseHealingPlugin;
|
|
2071
2078
|
|
|
2072
2079
|
export type CreateAgentRequestFallbackModelConfigurationFallbacks = {
|
|
2073
2080
|
/**
|
|
@@ -2301,13 +2308,14 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2301
2308
|
| Array<CreateAgentRequestFallbackModelConfigurationGuardrails>
|
|
2302
2309
|
| undefined;
|
|
2303
2310
|
/**
|
|
2304
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
2311
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
2305
2312
|
*/
|
|
2306
2313
|
plugins?:
|
|
2307
2314
|
| Array<
|
|
2308
2315
|
| components.PIIRedactionPluginEn
|
|
2309
2316
|
| components.PIIRedactionPluginNl
|
|
2310
2317
|
| components.PIIRedactionPluginAuto
|
|
2318
|
+
| components.ResponseHealingPlugin
|
|
2311
2319
|
>
|
|
2312
2320
|
| undefined;
|
|
2313
2321
|
/**
|
|
@@ -2738,7 +2746,8 @@ export function guardrailsToJSON(guardrails: Guardrails): string {
|
|
|
2738
2746
|
export type Plugins$Outbound =
|
|
2739
2747
|
| components.PIIRedactionPluginEn$Outbound
|
|
2740
2748
|
| components.PIIRedactionPluginNl$Outbound
|
|
2741
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2749
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2750
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2742
2751
|
|
|
2743
2752
|
/** @internal */
|
|
2744
2753
|
export const Plugins$outboundSchema: z.ZodType<
|
|
@@ -2749,6 +2758,7 @@ export const Plugins$outboundSchema: z.ZodType<
|
|
|
2749
2758
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2750
2759
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2751
2760
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2761
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2752
2762
|
]);
|
|
2753
2763
|
|
|
2754
2764
|
export function pluginsToJSON(plugins: Plugins): string {
|
|
@@ -2954,6 +2964,7 @@ export type ParametersT$Outbound = {
|
|
|
2954
2964
|
| components.PIIRedactionPluginEn$Outbound
|
|
2955
2965
|
| components.PIIRedactionPluginNl$Outbound
|
|
2956
2966
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2967
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2957
2968
|
>
|
|
2958
2969
|
| undefined;
|
|
2959
2970
|
fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
|
|
@@ -3004,6 +3015,7 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
3004
3015
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3005
3016
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3006
3017
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3018
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3007
3019
|
]),
|
|
3008
3020
|
).optional(),
|
|
3009
3021
|
fallbacks: z.array(z.lazy(() => ModelConfigurationFallbacks$outboundSchema))
|
|
@@ -3454,7 +3466,8 @@ export function fallbackModelConfigurationGuardrailsToJSON(
|
|
|
3454
3466
|
export type FallbackModelConfigurationPlugins$Outbound =
|
|
3455
3467
|
| components.PIIRedactionPluginEn$Outbound
|
|
3456
3468
|
| components.PIIRedactionPluginNl$Outbound
|
|
3457
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3469
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3470
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3458
3471
|
|
|
3459
3472
|
/** @internal */
|
|
3460
3473
|
export const FallbackModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -3465,6 +3478,7 @@ export const FallbackModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
3465
3478
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3466
3479
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3467
3480
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3481
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3468
3482
|
]);
|
|
3469
3483
|
|
|
3470
3484
|
export function fallbackModelConfigurationPluginsToJSON(
|
|
@@ -3707,6 +3721,7 @@ export type FallbackModelConfigurationParameters$Outbound = {
|
|
|
3707
3721
|
| components.PIIRedactionPluginEn$Outbound
|
|
3708
3722
|
| components.PIIRedactionPluginNl$Outbound
|
|
3709
3723
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3724
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3710
3725
|
>
|
|
3711
3726
|
| undefined;
|
|
3712
3727
|
fallbacks?: Array<FallbackModelConfigurationFallbacks$Outbound> | undefined;
|
|
@@ -3762,6 +3777,7 @@ export const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3762
3777
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3763
3778
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3764
3779
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3780
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3765
3781
|
]),
|
|
3766
3782
|
).optional(),
|
|
3767
3783
|
fallbacks: z.array(
|
|
@@ -4696,6 +4712,7 @@ export const CreateAgentRequestPlugins$inboundSchema: z.ZodType<
|
|
|
4696
4712
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
4697
4713
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
4698
4714
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
4715
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
4699
4716
|
]);
|
|
4700
4717
|
|
|
4701
4718
|
export function createAgentRequestPluginsFromJSON(
|
|
@@ -4917,6 +4934,7 @@ export const CreateAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
4917
4934
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
4918
4935
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
4919
4936
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
4937
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
4920
4938
|
]),
|
|
4921
4939
|
).optional(),
|
|
4922
4940
|
fallbacks: z.array(z.lazy(() => CreateAgentRequestFallbacks$inboundSchema))
|
|
@@ -5356,6 +5374,7 @@ export const CreateAgentRequestFallbackModelConfigurationPlugins$inboundSchema:
|
|
|
5356
5374
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5357
5375
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5358
5376
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5377
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5359
5378
|
]);
|
|
5360
5379
|
|
|
5361
5380
|
export function createAgentRequestFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -5641,6 +5660,7 @@ export const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchem
|
|
|
5641
5660
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5642
5661
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5643
5662
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5663
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5644
5664
|
]),
|
|
5645
5665
|
).optional(),
|
|
5646
5666
|
fallbacks: z.array(
|
|
@@ -678,7 +678,8 @@ export type CreateChatCompletionGuardrails = {
|
|
|
678
678
|
export type CreateChatCompletionPlugins =
|
|
679
679
|
| components.PIIRedactionPluginEn
|
|
680
680
|
| components.PIIRedactionPluginNl
|
|
681
|
-
| components.PIIRedactionPluginAuto
|
|
681
|
+
| components.PIIRedactionPluginAuto
|
|
682
|
+
| components.ResponseHealingPlugin;
|
|
682
683
|
|
|
683
684
|
export type CreateChatCompletionFallbacks = {
|
|
684
685
|
/**
|
|
@@ -1606,13 +1607,14 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1606
1607
|
*/
|
|
1607
1608
|
guardrails?: Array<CreateChatCompletionGuardrails> | undefined;
|
|
1608
1609
|
/**
|
|
1609
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1610
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1610
1611
|
*/
|
|
1611
1612
|
plugins?:
|
|
1612
1613
|
| Array<
|
|
1613
1614
|
| components.PIIRedactionPluginEn
|
|
1614
1615
|
| components.PIIRedactionPluginNl
|
|
1615
1616
|
| components.PIIRedactionPluginAuto
|
|
1617
|
+
| components.ResponseHealingPlugin
|
|
1616
1618
|
>
|
|
1617
1619
|
| undefined;
|
|
1618
1620
|
/**
|
|
@@ -3442,7 +3444,8 @@ export function createChatCompletionGuardrailsToJSON(
|
|
|
3442
3444
|
export type CreateChatCompletionPlugins$Outbound =
|
|
3443
3445
|
| components.PIIRedactionPluginEn$Outbound
|
|
3444
3446
|
| components.PIIRedactionPluginNl$Outbound
|
|
3445
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3447
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3448
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3446
3449
|
|
|
3447
3450
|
/** @internal */
|
|
3448
3451
|
export const CreateChatCompletionPlugins$outboundSchema: z.ZodType<
|
|
@@ -3453,6 +3456,7 @@ export const CreateChatCompletionPlugins$outboundSchema: z.ZodType<
|
|
|
3453
3456
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3454
3457
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3455
3458
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3459
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3456
3460
|
]);
|
|
3457
3461
|
|
|
3458
3462
|
export function createChatCompletionPluginsToJSON(
|
|
@@ -5482,6 +5486,7 @@ export type CreateChatCompletionRequestBody$Outbound = {
|
|
|
5482
5486
|
| components.PIIRedactionPluginEn$Outbound
|
|
5483
5487
|
| components.PIIRedactionPluginNl$Outbound
|
|
5484
5488
|
| components.PIIRedactionPluginAuto$Outbound
|
|
5489
|
+
| components.ResponseHealingPlugin$Outbound
|
|
5485
5490
|
>
|
|
5486
5491
|
| undefined;
|
|
5487
5492
|
fallbacks?: Array<CreateChatCompletionFallbacks$Outbound> | undefined;
|
|
@@ -5563,6 +5568,7 @@ export const CreateChatCompletionRequestBody$outboundSchema: z.ZodType<
|
|
|
5563
5568
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
5564
5569
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
5565
5570
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
5571
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
5566
5572
|
]),
|
|
5567
5573
|
).optional(),
|
|
5568
5574
|
fallbacks: z.array(z.lazy(() => CreateChatCompletionFallbacks$outboundSchema))
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-07-
|
|
141
|
+
"2026-07-29T10:16:52.982Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2732,7 +2732,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
|
|
|
2732
2732
|
explanation: z.string().optional(),
|
|
2733
2733
|
reviewed_by_id: z.string(),
|
|
2734
2734
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2735
|
-
"2026-07-
|
|
2735
|
+
"2026-07-29T10:17:08.126Z",
|
|
2736
2736
|
).transform(v => new Date(v)),
|
|
2737
2737
|
type: z.literal("string_array"),
|
|
2738
2738
|
values: z.array(z.string()),
|
|
@@ -2822,7 +2822,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2822
2822
|
explanation: z.string().optional(),
|
|
2823
2823
|
reviewed_by_id: z.string(),
|
|
2824
2824
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2825
|
-
"2026-07-
|
|
2825
|
+
"2026-07-29T10:17:08.125Z",
|
|
2826
2826
|
).transform(v => new Date(v)),
|
|
2827
2827
|
type: z.literal("boolean"),
|
|
2828
2828
|
value: z.boolean(),
|
|
@@ -2907,7 +2907,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2907
2907
|
explanation: z.string().optional(),
|
|
2908
2908
|
reviewed_by_id: z.string(),
|
|
2909
2909
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2910
|
-
"2026-07-
|
|
2910
|
+
"2026-07-29T10:17:08.124Z",
|
|
2911
2911
|
).transform(v => new Date(v)),
|
|
2912
2912
|
type: z.literal("number"),
|
|
2913
2913
|
value: z.number(),
|
|
@@ -2993,7 +2993,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2993
2993
|
explanation: z.string().optional(),
|
|
2994
2994
|
reviewed_by_id: z.string(),
|
|
2995
2995
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2996
|
-
"2026-07-
|
|
2996
|
+
"2026-07-29T10:17:08.123Z",
|
|
2997
2997
|
).transform(v => new Date(v)),
|
|
2998
2998
|
type: z.literal("string"),
|
|
2999
2999
|
value: z.string(),
|
|
@@ -3080,7 +3080,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
3080
3080
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3081
3081
|
.optional(),
|
|
3082
3082
|
updated: z.string().datetime({ offset: true }).default(
|
|
3083
|
-
"2026-07-
|
|
3083
|
+
"2026-07-29T10:16:52.982Z",
|
|
3084
3084
|
).transform(v => new Date(v)),
|
|
3085
3085
|
}).transform((v) => {
|
|
3086
3086
|
return remap$(v, {
|
|
@@ -487,7 +487,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
487
487
|
z.ZodTypeDef,
|
|
488
488
|
unknown
|
|
489
489
|
> = z.object({
|
|
490
|
-
_id: z.string().default("
|
|
490
|
+
_id: z.string().default("01KYPP1H6E3DSJGNG5T58YX4J5"),
|
|
491
491
|
display_name: z.string(),
|
|
492
492
|
description: z.nullable(z.string()).optional(),
|
|
493
493
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -636,7 +636,8 @@ export type CreatePromptGuardrails = {
|
|
|
636
636
|
export type CreatePromptPlugins =
|
|
637
637
|
| components.PIIRedactionPluginEn
|
|
638
638
|
| components.PIIRedactionPluginNl
|
|
639
|
-
| components.PIIRedactionPluginAuto
|
|
639
|
+
| components.PIIRedactionPluginAuto
|
|
640
|
+
| components.ResponseHealingPlugin;
|
|
640
641
|
|
|
641
642
|
export type CreatePromptFallbacks = {
|
|
642
643
|
/**
|
|
@@ -901,13 +902,14 @@ export type PromptInput = {
|
|
|
901
902
|
*/
|
|
902
903
|
guardrails?: Array<CreatePromptGuardrails> | undefined;
|
|
903
904
|
/**
|
|
904
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
905
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
905
906
|
*/
|
|
906
907
|
plugins?:
|
|
907
908
|
| Array<
|
|
908
909
|
| components.PIIRedactionPluginEn
|
|
909
910
|
| components.PIIRedactionPluginNl
|
|
910
911
|
| components.PIIRedactionPluginAuto
|
|
912
|
+
| components.ResponseHealingPlugin
|
|
911
913
|
>
|
|
912
914
|
| undefined;
|
|
913
915
|
/**
|
|
@@ -1210,6 +1212,8 @@ export const CreatePromptPromptsResponseReasoningEffort = {
|
|
|
1210
1212
|
Low: "low",
|
|
1211
1213
|
Medium: "medium",
|
|
1212
1214
|
High: "high",
|
|
1215
|
+
Xhigh: "xhigh",
|
|
1216
|
+
Max: "max",
|
|
1213
1217
|
} as const;
|
|
1214
1218
|
/**
|
|
1215
1219
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -1385,6 +1389,8 @@ export const CreatePromptProvider = {
|
|
|
1385
1389
|
Poolside: "poolside",
|
|
1386
1390
|
Tencent: "tencent",
|
|
1387
1391
|
Nebius: "nebius",
|
|
1392
|
+
Fireworks: "fireworks",
|
|
1393
|
+
Baseten: "baseten",
|
|
1388
1394
|
Reson8: "reson8",
|
|
1389
1395
|
Slack: "slack",
|
|
1390
1396
|
Orq: "orq",
|
|
@@ -1529,9 +1535,6 @@ export type CreatePromptPromptsMessages = {
|
|
|
1529
1535
|
export type PromptConfig = {
|
|
1530
1536
|
stream?: boolean | undefined;
|
|
1531
1537
|
model?: string | null | undefined;
|
|
1532
|
-
/**
|
|
1533
|
-
* The id of the resource
|
|
1534
|
-
*/
|
|
1535
1538
|
modelDbId?: string | null | undefined;
|
|
1536
1539
|
/**
|
|
1537
1540
|
* The modality of the model
|
|
@@ -1801,7 +1804,8 @@ export type CreatePromptPromptsGuardrails = {
|
|
|
1801
1804
|
export type CreatePromptPromptsPlugins =
|
|
1802
1805
|
| components.PIIRedactionPluginEn
|
|
1803
1806
|
| components.PIIRedactionPluginNl
|
|
1804
|
-
| components.PIIRedactionPluginAuto
|
|
1807
|
+
| components.PIIRedactionPluginAuto
|
|
1808
|
+
| components.ResponseHealingPlugin;
|
|
1805
1809
|
|
|
1806
1810
|
export type CreatePromptPromptsFallbacks = {
|
|
1807
1811
|
/**
|
|
@@ -2391,13 +2395,14 @@ export type PromptField = {
|
|
|
2391
2395
|
*/
|
|
2392
2396
|
guardrails?: Array<CreatePromptPromptsGuardrails> | undefined;
|
|
2393
2397
|
/**
|
|
2394
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
2398
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
2395
2399
|
*/
|
|
2396
2400
|
plugins?:
|
|
2397
2401
|
| Array<
|
|
2398
2402
|
| components.PIIRedactionPluginEn
|
|
2399
2403
|
| components.PIIRedactionPluginNl
|
|
2400
2404
|
| components.PIIRedactionPluginAuto
|
|
2405
|
+
| components.ResponseHealingPlugin
|
|
2401
2406
|
>
|
|
2402
2407
|
| undefined;
|
|
2403
2408
|
/**
|
|
@@ -3556,7 +3561,8 @@ export function createPromptGuardrailsToJSON(
|
|
|
3556
3561
|
export type CreatePromptPlugins$Outbound =
|
|
3557
3562
|
| components.PIIRedactionPluginEn$Outbound
|
|
3558
3563
|
| components.PIIRedactionPluginNl$Outbound
|
|
3559
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3564
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3565
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3560
3566
|
|
|
3561
3567
|
/** @internal */
|
|
3562
3568
|
export const CreatePromptPlugins$outboundSchema: z.ZodType<
|
|
@@ -3567,6 +3573,7 @@ export const CreatePromptPlugins$outboundSchema: z.ZodType<
|
|
|
3567
3573
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3568
3574
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3569
3575
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3576
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3570
3577
|
]);
|
|
3571
3578
|
|
|
3572
3579
|
export function createPromptPluginsToJSON(
|
|
@@ -3835,6 +3842,7 @@ export type PromptInput$Outbound = {
|
|
|
3835
3842
|
| components.PIIRedactionPluginEn$Outbound
|
|
3836
3843
|
| components.PIIRedactionPluginNl$Outbound
|
|
3837
3844
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3845
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3838
3846
|
>
|
|
3839
3847
|
| undefined;
|
|
3840
3848
|
fallbacks?: Array<CreatePromptFallbacks$Outbound> | undefined;
|
|
@@ -3903,6 +3911,7 @@ export const PromptInput$outboundSchema: z.ZodType<
|
|
|
3903
3911
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3904
3912
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3905
3913
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3914
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3906
3915
|
]),
|
|
3907
3916
|
).optional(),
|
|
3908
3917
|
fallbacks: z.array(z.lazy(() => CreatePromptFallbacks$outboundSchema))
|
|
@@ -4924,6 +4933,7 @@ export const CreatePromptPromptsPlugins$inboundSchema: z.ZodType<
|
|
|
4924
4933
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
4925
4934
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
4926
4935
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
4936
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
4927
4937
|
]);
|
|
4928
4938
|
|
|
4929
4939
|
export function createPromptPromptsPluginsFromJSON(
|
|
@@ -5715,6 +5725,7 @@ export const PromptField$inboundSchema: z.ZodType<
|
|
|
5715
5725
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5716
5726
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5717
5727
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5728
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5718
5729
|
]),
|
|
5719
5730
|
).optional(),
|
|
5720
5731
|
fallbacks: z.array(z.lazy(() => CreatePromptPromptsFallbacks$inboundSchema))
|
|
@@ -813,9 +813,9 @@ export type CreateRouterResponseRequestBody = {
|
|
|
813
813
|
*/
|
|
814
814
|
parallelToolCalls?: boolean | undefined;
|
|
815
815
|
/**
|
|
816
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
816
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports pii_redaction, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and response_healing, which repairs malformed JSON in non-streaming model output.
|
|
817
817
|
*/
|
|
818
|
-
plugins?: Array<components.
|
|
818
|
+
plugins?: Array<components.PublicPlugin> | null | undefined;
|
|
819
819
|
/**
|
|
820
820
|
* Penalize new tokens based on their presence in the text so far. Between -2.0 and 2.0.
|
|
821
821
|
*/
|
|
@@ -1828,10 +1828,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
1828
1828
|
metadata?: { [k: string]: string } | undefined;
|
|
1829
1829
|
model?: string | undefined;
|
|
1830
1830
|
parallel_tool_calls?: boolean | undefined;
|
|
1831
|
-
plugins?:
|
|
1832
|
-
| Array<components.PublicPIIRedactionPlugin$Outbound>
|
|
1833
|
-
| null
|
|
1834
|
-
| undefined;
|
|
1831
|
+
plugins?: Array<components.PublicPlugin$Outbound> | null | undefined;
|
|
1835
1832
|
presence_penalty?: number | undefined;
|
|
1836
1833
|
previous_response_id?: string | undefined;
|
|
1837
1834
|
prompt_cache_key?: string | undefined;
|
|
@@ -1890,9 +1887,8 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1890
1887
|
metadata: z.record(z.string()).optional(),
|
|
1891
1888
|
model: z.string().optional(),
|
|
1892
1889
|
parallelToolCalls: z.boolean().optional(),
|
|
1893
|
-
plugins: z.nullable(
|
|
1894
|
-
|
|
1895
|
-
).optional(),
|
|
1890
|
+
plugins: z.nullable(z.array(components.PublicPlugin$outboundSchema))
|
|
1891
|
+
.optional(),
|
|
1896
1892
|
presencePenalty: z.number().optional(),
|
|
1897
1893
|
previousResponseId: z.string().optional(),
|
|
1898
1894
|
promptCacheKey: z.string().optional(),
|
|
@@ -1892,7 +1892,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1892
1892
|
z.ZodTypeDef,
|
|
1893
1893
|
unknown
|
|
1894
1894
|
> = z.object({
|
|
1895
|
-
_id: z.string().default("
|
|
1895
|
+
_id: z.string().default("tool_01KYPP1H2A20RGYN7T1ZZFD0HF"),
|
|
1896
1896
|
path: z.string(),
|
|
1897
1897
|
key: z.string(),
|
|
1898
1898
|
display_name: z.string().optional(),
|
|
@@ -1989,7 +1989,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1989
1989
|
z.ZodTypeDef,
|
|
1990
1990
|
unknown
|
|
1991
1991
|
> = z.object({
|
|
1992
|
-
id: z.string().default("
|
|
1992
|
+
id: z.string().default("01KYPP1H22YQNCZV4F7ABBQMQK"),
|
|
1993
1993
|
name: z.string(),
|
|
1994
1994
|
description: z.string().optional(),
|
|
1995
1995
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2045,7 +2045,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2045
2045
|
z.ZodTypeDef,
|
|
2046
2046
|
unknown
|
|
2047
2047
|
> = z.object({
|
|
2048
|
-
_id: z.string().default("
|
|
2048
|
+
_id: z.string().default("tool_01KYPP1H21071BRR220JGSG7Q3"),
|
|
2049
2049
|
path: z.string(),
|
|
2050
2050
|
key: z.string(),
|
|
2051
2051
|
display_name: z.string().optional(),
|
|
@@ -2232,7 +2232,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2232
2232
|
z.ZodTypeDef,
|
|
2233
2233
|
unknown
|
|
2234
2234
|
> = z.object({
|
|
2235
|
-
_id: z.string().default("
|
|
2235
|
+
_id: z.string().default("tool_01KYPP1H1ZFHBYXH8BPREWDJSM"),
|
|
2236
2236
|
path: z.string(),
|
|
2237
2237
|
key: z.string(),
|
|
2238
2238
|
display_name: z.string().optional(),
|
|
@@ -2325,7 +2325,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2325
2325
|
z.ZodTypeDef,
|
|
2326
2326
|
unknown
|
|
2327
2327
|
> = z.object({
|
|
2328
|
-
_id: z.string().default("
|
|
2328
|
+
_id: z.string().default("tool_01KYPP1H1YVR3JTGRC2KQJ1WRN"),
|
|
2329
2329
|
path: z.string(),
|
|
2330
2330
|
key: z.string(),
|
|
2331
2331
|
display_name: z.string().optional(),
|
|
@@ -2426,7 +2426,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2426
2426
|
z.ZodTypeDef,
|
|
2427
2427
|
unknown
|
|
2428
2428
|
> = z.object({
|
|
2429
|
-
_id: z.string().default("
|
|
2429
|
+
_id: z.string().default("tool_01KYPP1H1XXAPN76J7G45K697Y"),
|
|
2430
2430
|
path: z.string(),
|
|
2431
2431
|
key: z.string(),
|
|
2432
2432
|
display_name: z.string().optional(),
|
|
@@ -1464,6 +1464,8 @@ export const DeploymentGetConfigReasoningEffort = {
|
|
|
1464
1464
|
Low: "low",
|
|
1465
1465
|
Medium: "medium",
|
|
1466
1466
|
High: "high",
|
|
1467
|
+
Xhigh: "xhigh",
|
|
1468
|
+
Max: "max",
|
|
1467
1469
|
} as const;
|
|
1468
1470
|
/**
|
|
1469
1471
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -315,6 +315,8 @@ export const DeploymentsReasoningEffort = {
|
|
|
315
315
|
Low: "low",
|
|
316
316
|
Medium: "medium",
|
|
317
317
|
High: "high",
|
|
318
|
+
Xhigh: "xhigh",
|
|
319
|
+
Max: "max",
|
|
318
320
|
} as const;
|
|
319
321
|
/**
|
|
320
322
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -490,6 +492,8 @@ export const DeploymentsProvider = {
|
|
|
490
492
|
Poolside: "poolside",
|
|
491
493
|
Tencent: "tencent",
|
|
492
494
|
Nebius: "nebius",
|
|
495
|
+
Fireworks: "fireworks",
|
|
496
|
+
Baseten: "baseten",
|
|
493
497
|
Reson8: "reson8",
|
|
494
498
|
Slack: "slack",
|
|
495
499
|
Orq: "orq",
|
|
@@ -266,6 +266,8 @@ export const GetAllPromptsPromptsReasoningEffort = {
|
|
|
266
266
|
Low: "low",
|
|
267
267
|
Medium: "medium",
|
|
268
268
|
High: "high",
|
|
269
|
+
Xhigh: "xhigh",
|
|
270
|
+
Max: "max",
|
|
269
271
|
} as const;
|
|
270
272
|
/**
|
|
271
273
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -441,6 +443,8 @@ export const GetAllPromptsProvider = {
|
|
|
441
443
|
Poolside: "poolside",
|
|
442
444
|
Tencent: "tencent",
|
|
443
445
|
Nebius: "nebius",
|
|
446
|
+
Fireworks: "fireworks",
|
|
447
|
+
Baseten: "baseten",
|
|
444
448
|
Reson8: "reson8",
|
|
445
449
|
Slack: "slack",
|
|
446
450
|
Orq: "orq",
|
|
@@ -582,9 +586,6 @@ export type GetAllPromptsMessages = {
|
|
|
582
586
|
export type GetAllPromptsPromptConfig = {
|
|
583
587
|
stream?: boolean | undefined;
|
|
584
588
|
model?: string | null | undefined;
|
|
585
|
-
/**
|
|
586
|
-
* The id of the resource
|
|
587
|
-
*/
|
|
588
589
|
modelDbId?: string | null | undefined;
|
|
589
590
|
/**
|
|
590
591
|
* The modality of the model
|
|
@@ -852,7 +853,8 @@ export type GetAllPromptsGuardrails = {
|
|
|
852
853
|
export type GetAllPromptsPlugins =
|
|
853
854
|
| components.PIIRedactionPluginEn
|
|
854
855
|
| components.PIIRedactionPluginNl
|
|
855
|
-
| components.PIIRedactionPluginAuto
|
|
856
|
+
| components.PIIRedactionPluginAuto
|
|
857
|
+
| components.ResponseHealingPlugin;
|
|
856
858
|
|
|
857
859
|
export type GetAllPromptsFallbacks = {
|
|
858
860
|
/**
|
|
@@ -1435,13 +1437,14 @@ export type GetAllPromptsPromptField = {
|
|
|
1435
1437
|
*/
|
|
1436
1438
|
guardrails?: Array<GetAllPromptsGuardrails> | undefined;
|
|
1437
1439
|
/**
|
|
1438
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1440
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1439
1441
|
*/
|
|
1440
1442
|
plugins?:
|
|
1441
1443
|
| Array<
|
|
1442
1444
|
| components.PIIRedactionPluginEn
|
|
1443
1445
|
| components.PIIRedactionPluginNl
|
|
1444
1446
|
| components.PIIRedactionPluginAuto
|
|
1447
|
+
| components.ResponseHealingPlugin
|
|
1445
1448
|
>
|
|
1446
1449
|
| undefined;
|
|
1447
1450
|
/**
|
|
@@ -2532,6 +2535,7 @@ export const GetAllPromptsPlugins$inboundSchema: z.ZodType<
|
|
|
2532
2535
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2533
2536
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2534
2537
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2538
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2535
2539
|
]);
|
|
2536
2540
|
|
|
2537
2541
|
export function getAllPromptsPluginsFromJSON(
|
|
@@ -3274,6 +3278,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3274
3278
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3275
3279
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3276
3280
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3281
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
3277
3282
|
]),
|
|
3278
3283
|
).optional(),
|
|
3279
3284
|
fallbacks: z.array(z.lazy(() => GetAllPromptsFallbacks$inboundSchema))
|