@orq-ai/node 4.11.0-rc.52 → 4.11.0-rc.54
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/funcs/knowledgeList.js +1 -0
- package/funcs/knowledgeList.js.map +1 -1
- package/funcs/memoryStoresList.js +1 -0
- package/funcs/memoryStoresList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/createskillrequest.d.ts +6 -6
- package/models/components/createskillrequest.d.ts.map +1 -1
- package/models/components/createskillrequest.js +6 -7
- package/models/components/createskillrequest.js.map +1 -1
- package/models/components/evaluatorresponsefunction.d.ts +270 -0
- package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
- package/models/components/evaluatorresponsefunction.js +491 -0
- package/models/components/evaluatorresponsefunction.js.map +1 -0
- package/models/components/evaluatorresponsehttp.d.ts +76 -0
- package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
- package/models/components/evaluatorresponsehttp.js +146 -0
- package/models/components/evaluatorresponsehttp.js.map +1 -0
- package/models/components/evaluatorresponsejsonschema.d.ts +62 -0
- package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
- package/models/components/evaluatorresponsejsonschema.js +135 -0
- package/models/components/evaluatorresponsejsonschema.js.map +1 -0
- package/models/components/evaluatorresponsellm.d.ts +140 -0
- package/models/components/evaluatorresponsellm.d.ts.map +1 -0
- package/models/components/evaluatorresponsellm.js +250 -0
- package/models/components/evaluatorresponsellm.js.map +1 -0
- package/models/components/evaluatorresponsepython.d.ts +62 -0
- package/models/components/evaluatorresponsepython.d.ts.map +1 -0
- package/models/components/evaluatorresponsepython.js +136 -0
- package/models/components/evaluatorresponsepython.js.map +1 -0
- package/models/components/evaluatorresponseragas.d.ts +80 -0
- package/models/components/evaluatorresponseragas.d.ts.map +1 -0
- package/models/components/evaluatorresponseragas.js +155 -0
- package/models/components/evaluatorresponseragas.js.map +1 -0
- package/models/components/evaluatorresponsetypescript.d.ts +62 -0
- package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
- package/models/components/evaluatorresponsetypescript.js +136 -0
- package/models/components/evaluatorresponsetypescript.js.map +1 -0
- package/models/components/guardrailrule.d.ts +2 -0
- package/models/components/guardrailrule.d.ts.map +1 -1
- package/models/components/guardrailrule.js +2 -0
- package/models/components/guardrailrule.js.map +1 -1
- package/models/components/index.d.ts +13 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +36 -36
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +33 -34
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/modelsconfig.d.ts +5 -5
- package/models/components/modelsconfig.d.ts.map +1 -1
- package/models/components/modelsconfig.js +6 -6
- package/models/components/modelsconfig.js.map +1 -1
- package/models/components/piiredactionplugin.d.ts +14 -0
- package/models/components/piiredactionplugin.d.ts.map +1 -0
- package/models/components/piiredactionplugin.js +59 -0
- package/models/components/piiredactionplugin.js.map +1 -0
- package/models/components/piiredactionpluginauto.d.ts +127 -0
- package/models/components/piiredactionpluginauto.d.ts.map +1 -0
- package/models/components/piiredactionpluginauto.js +157 -0
- package/models/components/piiredactionpluginauto.js.map +1 -0
- package/models/components/piiredactionpluginen.d.ts +146 -0
- package/models/components/piiredactionpluginen.d.ts.map +1 -0
- package/models/components/piiredactionpluginen.js +168 -0
- package/models/components/piiredactionpluginen.js.map +1 -0
- package/models/components/piiredactionpluginnl.d.ts +138 -0
- package/models/components/piiredactionpluginnl.d.ts.map +1 -0
- package/models/components/piiredactionpluginnl.js +159 -0
- package/models/components/piiredactionpluginnl.js.map +1 -0
- package/models/components/plugin.d.ts +11 -0
- package/models/components/plugin.d.ts.map +1 -0
- package/models/components/plugin.js +57 -0
- package/models/components/plugin.js.map +1 -0
- package/models/components/publicpiiredactionplugin.d.ts +79 -0
- package/models/components/publicpiiredactionplugin.d.ts.map +1 -0
- package/models/components/publicpiiredactionplugin.js +86 -0
- package/models/components/publicpiiredactionplugin.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/textcontentpartschema.d.ts +10 -10
- package/models/components/textcontentpartschema.d.ts.map +1 -1
- package/models/components/textcontentpartschema.js +11 -11
- package/models/components/textcontentpartschema.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +38 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +65 -5
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +11 -0
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +18 -3
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +11 -0
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +18 -3
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +22 -852
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +30 -1341
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createimage.d.ts +11 -0
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +16 -1
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +27 -8
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +42 -12
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +11 -0
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +16 -1
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +5 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +1 -0
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.d.ts +8 -8
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +10 -10
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -0
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +2 -0
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +8 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -1
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.d.ts +20 -20
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +28 -26
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +3 -833
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +16 -1314
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +8 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +17 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +8 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +17 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/guardrailrulecreate.d.ts +1 -0
- package/models/operations/guardrailrulecreate.d.ts.map +1 -1
- package/models/operations/guardrailrulecreate.js +1 -0
- package/models/operations/guardrailrulecreate.js.map +1 -1
- package/models/operations/guardrailruleget.d.ts +1 -0
- package/models/operations/guardrailruleget.d.ts.map +1 -1
- package/models/operations/guardrailruleget.js +1 -0
- package/models/operations/guardrailruleget.js.map +1 -1
- package/models/operations/guardrailruleupdate.d.ts +1 -0
- package/models/operations/guardrailruleupdate.d.ts.map +1 -1
- package/models/operations/guardrailruleupdate.js +1 -0
- package/models/operations/guardrailruleupdate.js.map +1 -1
- package/models/operations/invokeeval.d.ts +7 -7
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +11 -11
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +16 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +32 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +5 -0
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +2 -0
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +8 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +17 -2
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +16 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +32 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- 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.d.ts +22 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +34 -4
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +22 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +34 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +38 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +65 -5
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +2 -832
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +9 -1304
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +19 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -3
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/knowledgeList.ts +1 -0
- package/src/funcs/memoryStoresList.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/createskillrequest.ts +27 -20
- package/src/models/components/evaluatorresponsefunction.ts +1107 -0
- package/src/models/components/evaluatorresponsehttp.ts +247 -0
- package/src/models/components/evaluatorresponsejsonschema.ts +214 -0
- package/src/models/components/evaluatorresponsellm.ts +442 -0
- package/src/models/components/evaluatorresponsepython.ts +234 -0
- package/src/models/components/evaluatorresponseragas.ts +257 -0
- package/src/models/components/evaluatorresponsetypescript.ts +247 -0
- package/src/models/components/guardrailrule.ts +3 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/invokedeploymentrequest.ts +119 -95
- package/src/models/components/modelsconfig.ts +11 -10
- package/src/models/components/piiredactionplugin.ts +44 -0
- package/src/models/components/piiredactionpluginauto.ts +186 -0
- package/src/models/components/piiredactionpluginen.ts +223 -0
- package/src/models/components/piiredactionpluginnl.ts +219 -0
- package/src/models/components/plugin.ts +37 -0
- package/src/models/components/publicpiiredactionplugin.ts +127 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/textcontentpartschema.ts +23 -19
- package/src/models/operations/createagentrequest.ts +199 -0
- package/src/models/operations/createchatcompletion.ts +56 -0
- package/src/models/operations/createcompletion.ts +54 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +673 -3909
- package/src/models/operations/createimage.ts +54 -0
- package/src/models/operations/createprompt.ts +115 -22
- package/src/models/operations/creatererank.ts +54 -0
- package/src/models/operations/createrouterresponse.ts +11 -0
- package/src/models/operations/createtool.ts +22 -24
- package/src/models/operations/deploymentgetconfig.ts +16 -18
- package/src/models/operations/getallmemorystores.ts +7 -0
- package/src/models/operations/getallprompts.ts +43 -0
- package/src/models/operations/getalltools.ts +47 -53
- package/src/models/operations/getevals.ts +29 -3214
- package/src/models/operations/getoneprompt.ts +43 -0
- package/src/models/operations/getpromptversion.ts +43 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/guardrailrulecreate.ts +2 -0
- package/src/models/operations/guardrailruleget.ts +2 -0
- package/src/models/operations/guardrailruleupdate.ts +2 -0
- package/src/models/operations/invokeeval.ts +18 -18
- package/src/models/operations/listagents.ts +93 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +7 -0
- package/src/models/operations/listpromptversions.ts +43 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +93 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- 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 +115 -1
- package/src/models/operations/streamrunagent.ts +116 -1
- package/src/models/operations/updateagent.ts +205 -0
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +306 -3524
- package/src/models/operations/updateprompt.ts +97 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -198,6 +198,11 @@ export type ModelConfigurationGuardrails = {
|
|
|
198
198
|
executeOn: ModelConfigurationExecuteOn;
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
+
export type ModelConfigurationPlugins =
|
|
202
|
+
| components.PIIRedactionPluginEn
|
|
203
|
+
| components.PIIRedactionPluginNl
|
|
204
|
+
| components.PIIRedactionPluginAuto;
|
|
205
|
+
|
|
201
206
|
export type UpdateAgentModelConfigurationFallbacks = {
|
|
202
207
|
/**
|
|
203
208
|
* Fallback model identifier
|
|
@@ -417,6 +422,16 @@ export type ModelConfigurationParameters = {
|
|
|
417
422
|
* A list of guardrails to apply to the request.
|
|
418
423
|
*/
|
|
419
424
|
guardrails?: Array<ModelConfigurationGuardrails> | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
427
|
+
*/
|
|
428
|
+
plugins?:
|
|
429
|
+
| Array<
|
|
430
|
+
| components.PIIRedactionPluginEn
|
|
431
|
+
| components.PIIRedactionPluginNl
|
|
432
|
+
| components.PIIRedactionPluginAuto
|
|
433
|
+
>
|
|
434
|
+
| undefined;
|
|
420
435
|
/**
|
|
421
436
|
* Array of fallback models to use if primary model fails
|
|
422
437
|
*/
|
|
@@ -676,6 +691,11 @@ export type UpdateAgentFallbackModelConfigurationGuardrails = {
|
|
|
676
691
|
executeOn: UpdateAgentFallbackModelConfigurationExecuteOn;
|
|
677
692
|
};
|
|
678
693
|
|
|
694
|
+
export type UpdateAgentFallbackModelConfigurationPlugins =
|
|
695
|
+
| components.PIIRedactionPluginEn
|
|
696
|
+
| components.PIIRedactionPluginNl
|
|
697
|
+
| components.PIIRedactionPluginAuto;
|
|
698
|
+
|
|
679
699
|
export type UpdateAgentFallbackModelConfigurationFallbacks = {
|
|
680
700
|
/**
|
|
681
701
|
* Fallback model identifier
|
|
@@ -906,6 +926,16 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
906
926
|
guardrails?:
|
|
907
927
|
| Array<UpdateAgentFallbackModelConfigurationGuardrails>
|
|
908
928
|
| undefined;
|
|
929
|
+
/**
|
|
930
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
931
|
+
*/
|
|
932
|
+
plugins?:
|
|
933
|
+
| Array<
|
|
934
|
+
| components.PIIRedactionPluginEn
|
|
935
|
+
| components.PIIRedactionPluginNl
|
|
936
|
+
| components.PIIRedactionPluginAuto
|
|
937
|
+
>
|
|
938
|
+
| undefined;
|
|
909
939
|
/**
|
|
910
940
|
* Array of fallback models to use if primary model fails
|
|
911
941
|
*/
|
|
@@ -2028,6 +2058,11 @@ export type UpdateAgentAgentsResponseGuardrails = {
|
|
|
2028
2058
|
executeOn: UpdateAgentAgentsResponse200ApplicationJSONExecuteOn;
|
|
2029
2059
|
};
|
|
2030
2060
|
|
|
2061
|
+
export type UpdateAgentPlugins =
|
|
2062
|
+
| components.PIIRedactionPluginEn
|
|
2063
|
+
| components.PIIRedactionPluginNl
|
|
2064
|
+
| components.PIIRedactionPluginAuto;
|
|
2065
|
+
|
|
2031
2066
|
export type UpdateAgentFallbacks = {
|
|
2032
2067
|
/**
|
|
2033
2068
|
* Fallback model identifier
|
|
@@ -2246,6 +2281,16 @@ export type UpdateAgentParameters = {
|
|
|
2246
2281
|
* A list of guardrails to apply to the request.
|
|
2247
2282
|
*/
|
|
2248
2283
|
guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
|
|
2284
|
+
/**
|
|
2285
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
2286
|
+
*/
|
|
2287
|
+
plugins?:
|
|
2288
|
+
| Array<
|
|
2289
|
+
| components.PIIRedactionPluginEn
|
|
2290
|
+
| components.PIIRedactionPluginNl
|
|
2291
|
+
| components.PIIRedactionPluginAuto
|
|
2292
|
+
>
|
|
2293
|
+
| undefined;
|
|
2249
2294
|
/**
|
|
2250
2295
|
* Array of fallback models to use if primary model fails
|
|
2251
2296
|
*/
|
|
@@ -2484,6 +2529,11 @@ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
|
|
|
2484
2529
|
executeOn: UpdateAgentFallbackModelConfigurationAgentsExecuteOn;
|
|
2485
2530
|
};
|
|
2486
2531
|
|
|
2532
|
+
export type UpdateAgentFallbackModelConfigurationAgentsPlugins =
|
|
2533
|
+
| components.PIIRedactionPluginEn
|
|
2534
|
+
| components.PIIRedactionPluginNl
|
|
2535
|
+
| components.PIIRedactionPluginAuto;
|
|
2536
|
+
|
|
2487
2537
|
export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
|
|
2488
2538
|
/**
|
|
2489
2539
|
* Fallback model identifier
|
|
@@ -2712,6 +2762,16 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2712
2762
|
guardrails?:
|
|
2713
2763
|
| Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails>
|
|
2714
2764
|
| undefined;
|
|
2765
|
+
/**
|
|
2766
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
2767
|
+
*/
|
|
2768
|
+
plugins?:
|
|
2769
|
+
| Array<
|
|
2770
|
+
| components.PIIRedactionPluginEn
|
|
2771
|
+
| components.PIIRedactionPluginNl
|
|
2772
|
+
| components.PIIRedactionPluginAuto
|
|
2773
|
+
>
|
|
2774
|
+
| undefined;
|
|
2715
2775
|
/**
|
|
2716
2776
|
* Array of fallback models to use if primary model fails
|
|
2717
2777
|
*/
|
|
@@ -3210,6 +3270,31 @@ export function modelConfigurationGuardrailsToJSON(
|
|
|
3210
3270
|
);
|
|
3211
3271
|
}
|
|
3212
3272
|
|
|
3273
|
+
/** @internal */
|
|
3274
|
+
export type ModelConfigurationPlugins$Outbound =
|
|
3275
|
+
| components.PIIRedactionPluginEn$Outbound
|
|
3276
|
+
| components.PIIRedactionPluginNl$Outbound
|
|
3277
|
+
| components.PIIRedactionPluginAuto$Outbound;
|
|
3278
|
+
|
|
3279
|
+
/** @internal */
|
|
3280
|
+
export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
3281
|
+
ModelConfigurationPlugins$Outbound,
|
|
3282
|
+
z.ZodTypeDef,
|
|
3283
|
+
ModelConfigurationPlugins
|
|
3284
|
+
> = z.union([
|
|
3285
|
+
components.PIIRedactionPluginEn$outboundSchema,
|
|
3286
|
+
components.PIIRedactionPluginNl$outboundSchema,
|
|
3287
|
+
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3288
|
+
]);
|
|
3289
|
+
|
|
3290
|
+
export function modelConfigurationPluginsToJSON(
|
|
3291
|
+
modelConfigurationPlugins: ModelConfigurationPlugins,
|
|
3292
|
+
): string {
|
|
3293
|
+
return JSON.stringify(
|
|
3294
|
+
ModelConfigurationPlugins$outboundSchema.parse(modelConfigurationPlugins),
|
|
3295
|
+
);
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3213
3298
|
/** @internal */
|
|
3214
3299
|
export type UpdateAgentModelConfigurationFallbacks$Outbound = {
|
|
3215
3300
|
model: string;
|
|
@@ -3432,6 +3517,13 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
3432
3517
|
parallel_tool_calls?: boolean | undefined;
|
|
3433
3518
|
modalities?: Array<string> | null | undefined;
|
|
3434
3519
|
guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
|
|
3520
|
+
plugins?:
|
|
3521
|
+
| Array<
|
|
3522
|
+
| components.PIIRedactionPluginEn$Outbound
|
|
3523
|
+
| components.PIIRedactionPluginNl$Outbound
|
|
3524
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3525
|
+
>
|
|
3526
|
+
| undefined;
|
|
3435
3527
|
fallbacks?:
|
|
3436
3528
|
| Array<UpdateAgentModelConfigurationFallbacks$Outbound>
|
|
3437
3529
|
| undefined;
|
|
@@ -3481,6 +3573,13 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3481
3573
|
.optional(),
|
|
3482
3574
|
guardrails: z.array(z.lazy(() => ModelConfigurationGuardrails$outboundSchema))
|
|
3483
3575
|
.optional(),
|
|
3576
|
+
plugins: z.array(
|
|
3577
|
+
z.union([
|
|
3578
|
+
components.PIIRedactionPluginEn$outboundSchema,
|
|
3579
|
+
components.PIIRedactionPluginNl$outboundSchema,
|
|
3580
|
+
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3581
|
+
]),
|
|
3582
|
+
).optional(),
|
|
3484
3583
|
fallbacks: z.array(
|
|
3485
3584
|
z.lazy(() => UpdateAgentModelConfigurationFallbacks$outboundSchema),
|
|
3486
3585
|
).optional(),
|
|
@@ -3966,6 +4065,35 @@ export function updateAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3966
4065
|
);
|
|
3967
4066
|
}
|
|
3968
4067
|
|
|
4068
|
+
/** @internal */
|
|
4069
|
+
export type UpdateAgentFallbackModelConfigurationPlugins$Outbound =
|
|
4070
|
+
| components.PIIRedactionPluginEn$Outbound
|
|
4071
|
+
| components.PIIRedactionPluginNl$Outbound
|
|
4072
|
+
| components.PIIRedactionPluginAuto$Outbound;
|
|
4073
|
+
|
|
4074
|
+
/** @internal */
|
|
4075
|
+
export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
4076
|
+
z.ZodType<
|
|
4077
|
+
UpdateAgentFallbackModelConfigurationPlugins$Outbound,
|
|
4078
|
+
z.ZodTypeDef,
|
|
4079
|
+
UpdateAgentFallbackModelConfigurationPlugins
|
|
4080
|
+
> = z.union([
|
|
4081
|
+
components.PIIRedactionPluginEn$outboundSchema,
|
|
4082
|
+
components.PIIRedactionPluginNl$outboundSchema,
|
|
4083
|
+
components.PIIRedactionPluginAuto$outboundSchema,
|
|
4084
|
+
]);
|
|
4085
|
+
|
|
4086
|
+
export function updateAgentFallbackModelConfigurationPluginsToJSON(
|
|
4087
|
+
updateAgentFallbackModelConfigurationPlugins:
|
|
4088
|
+
UpdateAgentFallbackModelConfigurationPlugins,
|
|
4089
|
+
): string {
|
|
4090
|
+
return JSON.stringify(
|
|
4091
|
+
UpdateAgentFallbackModelConfigurationPlugins$outboundSchema.parse(
|
|
4092
|
+
updateAgentFallbackModelConfigurationPlugins,
|
|
4093
|
+
),
|
|
4094
|
+
);
|
|
4095
|
+
}
|
|
4096
|
+
|
|
3969
4097
|
/** @internal */
|
|
3970
4098
|
export type UpdateAgentFallbackModelConfigurationFallbacks$Outbound = {
|
|
3971
4099
|
model: string;
|
|
@@ -4205,6 +4333,13 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
4205
4333
|
guardrails?:
|
|
4206
4334
|
| Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound>
|
|
4207
4335
|
| undefined;
|
|
4336
|
+
plugins?:
|
|
4337
|
+
| Array<
|
|
4338
|
+
| components.PIIRedactionPluginEn$Outbound
|
|
4339
|
+
| components.PIIRedactionPluginNl$Outbound
|
|
4340
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
4341
|
+
>
|
|
4342
|
+
| undefined;
|
|
4208
4343
|
fallbacks?:
|
|
4209
4344
|
| Array<UpdateAgentFallbackModelConfigurationFallbacks$Outbound>
|
|
4210
4345
|
| undefined;
|
|
@@ -4263,6 +4398,13 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
4263
4398
|
UpdateAgentFallbackModelConfigurationGuardrails$outboundSchema
|
|
4264
4399
|
),
|
|
4265
4400
|
).optional(),
|
|
4401
|
+
plugins: z.array(
|
|
4402
|
+
z.union([
|
|
4403
|
+
components.PIIRedactionPluginEn$outboundSchema,
|
|
4404
|
+
components.PIIRedactionPluginNl$outboundSchema,
|
|
4405
|
+
components.PIIRedactionPluginAuto$outboundSchema,
|
|
4406
|
+
]),
|
|
4407
|
+
).optional(),
|
|
4266
4408
|
fallbacks: z.array(
|
|
4267
4409
|
z.lazy(() =>
|
|
4268
4410
|
UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema
|
|
@@ -6023,6 +6165,27 @@ export function updateAgentAgentsResponseGuardrailsFromJSON(
|
|
|
6023
6165
|
);
|
|
6024
6166
|
}
|
|
6025
6167
|
|
|
6168
|
+
/** @internal */
|
|
6169
|
+
export const UpdateAgentPlugins$inboundSchema: z.ZodType<
|
|
6170
|
+
UpdateAgentPlugins,
|
|
6171
|
+
z.ZodTypeDef,
|
|
6172
|
+
unknown
|
|
6173
|
+
> = z.union([
|
|
6174
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
6175
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
6176
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
6177
|
+
]);
|
|
6178
|
+
|
|
6179
|
+
export function updateAgentPluginsFromJSON(
|
|
6180
|
+
jsonString: string,
|
|
6181
|
+
): SafeParseResult<UpdateAgentPlugins, SDKValidationError> {
|
|
6182
|
+
return safeParse(
|
|
6183
|
+
jsonString,
|
|
6184
|
+
(x) => UpdateAgentPlugins$inboundSchema.parse(JSON.parse(x)),
|
|
6185
|
+
`Failed to parse 'UpdateAgentPlugins' from JSON`,
|
|
6186
|
+
);
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6026
6189
|
/** @internal */
|
|
6027
6190
|
export const UpdateAgentFallbacks$inboundSchema: z.ZodType<
|
|
6028
6191
|
UpdateAgentFallbacks,
|
|
@@ -6234,6 +6397,13 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
6234
6397
|
guardrails: z.array(
|
|
6235
6398
|
z.lazy(() => UpdateAgentAgentsResponseGuardrails$inboundSchema),
|
|
6236
6399
|
).optional(),
|
|
6400
|
+
plugins: z.array(
|
|
6401
|
+
z.union([
|
|
6402
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
6403
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
6404
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
6405
|
+
]),
|
|
6406
|
+
).optional(),
|
|
6237
6407
|
fallbacks: z.array(z.lazy(() => UpdateAgentFallbacks$inboundSchema))
|
|
6238
6408
|
.optional(),
|
|
6239
6409
|
cache: z.lazy(() => UpdateAgentCache$inboundSchema).optional(),
|
|
@@ -6659,6 +6829,34 @@ export function updateAgentFallbackModelConfigurationAgentsGuardrailsFromJSON(
|
|
|
6659
6829
|
);
|
|
6660
6830
|
}
|
|
6661
6831
|
|
|
6832
|
+
/** @internal */
|
|
6833
|
+
export const UpdateAgentFallbackModelConfigurationAgentsPlugins$inboundSchema:
|
|
6834
|
+
z.ZodType<
|
|
6835
|
+
UpdateAgentFallbackModelConfigurationAgentsPlugins,
|
|
6836
|
+
z.ZodTypeDef,
|
|
6837
|
+
unknown
|
|
6838
|
+
> = z.union([
|
|
6839
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
6840
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
6841
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
6842
|
+
]);
|
|
6843
|
+
|
|
6844
|
+
export function updateAgentFallbackModelConfigurationAgentsPluginsFromJSON(
|
|
6845
|
+
jsonString: string,
|
|
6846
|
+
): SafeParseResult<
|
|
6847
|
+
UpdateAgentFallbackModelConfigurationAgentsPlugins,
|
|
6848
|
+
SDKValidationError
|
|
6849
|
+
> {
|
|
6850
|
+
return safeParse(
|
|
6851
|
+
jsonString,
|
|
6852
|
+
(x) =>
|
|
6853
|
+
UpdateAgentFallbackModelConfigurationAgentsPlugins$inboundSchema.parse(
|
|
6854
|
+
JSON.parse(x),
|
|
6855
|
+
),
|
|
6856
|
+
`Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsPlugins' from JSON`,
|
|
6857
|
+
);
|
|
6858
|
+
}
|
|
6859
|
+
|
|
6662
6860
|
/** @internal */
|
|
6663
6861
|
export const UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema:
|
|
6664
6862
|
z.ZodType<
|
|
@@ -6923,6 +7121,13 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
6923
7121
|
UpdateAgentFallbackModelConfigurationAgentsGuardrails$inboundSchema
|
|
6924
7122
|
),
|
|
6925
7123
|
).optional(),
|
|
7124
|
+
plugins: z.array(
|
|
7125
|
+
z.union([
|
|
7126
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
7127
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
7128
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
7129
|
+
]),
|
|
7130
|
+
).optional(),
|
|
6926
7131
|
fallbacks: z.array(
|
|
6927
7132
|
z.lazy(() =>
|
|
6928
7133
|
UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema
|
|
@@ -2629,7 +2629,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2629
2629
|
explanation: z.string().optional(),
|
|
2630
2630
|
reviewed_by_id: z.string(),
|
|
2631
2631
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2632
|
-
"2026-06-
|
|
2632
|
+
"2026-06-29T09:12:57.365Z",
|
|
2633
2633
|
).transform(v => new Date(v)),
|
|
2634
2634
|
type: z.literal("string_array"),
|
|
2635
2635
|
values: z.array(z.string()),
|
|
@@ -2726,7 +2726,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2726
2726
|
explanation: z.string().optional(),
|
|
2727
2727
|
reviewed_by_id: z.string(),
|
|
2728
2728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2729
|
-
"2026-06-
|
|
2729
|
+
"2026-06-29T09:12:57.364Z",
|
|
2730
2730
|
).transform(v => new Date(v)),
|
|
2731
2731
|
type: z.literal("number"),
|
|
2732
2732
|
value: z.number(),
|
|
@@ -2815,7 +2815,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2815
2815
|
explanation: z.string().optional(),
|
|
2816
2816
|
reviewed_by_id: z.string(),
|
|
2817
2817
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2818
|
-
"2026-06-
|
|
2818
|
+
"2026-06-29T09:12:57.363Z",
|
|
2819
2819
|
).transform(v => new Date(v)),
|
|
2820
2820
|
type: z.literal("string"),
|
|
2821
2821
|
value: z.string(),
|
|
@@ -2898,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2898
2898
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2899
2899
|
.optional(),
|
|
2900
2900
|
updated: z.string().datetime({ offset: true }).default(
|
|
2901
|
-
"2026-06-
|
|
2901
|
+
"2026-06-29T09:12:35.937Z",
|
|
2902
2902
|
).transform(v => new Date(v)),
|
|
2903
2903
|
}).transform((v) => {
|
|
2904
2904
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-29T09:12:35.937Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KW9AEEN3C8SG0JKG3XR51CJP"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|