@orq-ai/node 4.15.0-rc.21 → 4.15.0-rc.23
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/README.md +54 -28
- package/funcs/hubGet.d.ts +18 -0
- package/funcs/hubGet.d.ts.map +1 -0
- package/funcs/hubGet.js +121 -0
- package/funcs/hubGet.js.map +1 -0
- package/funcs/hubSearch.d.ts +18 -0
- package/funcs/hubSearch.d.ts.map +1 -0
- package/funcs/hubSearch.js +120 -0
- package/funcs/hubSearch.js.map +1 -0
- package/funcs/piiCapabilities.d.ts +17 -0
- package/funcs/piiCapabilities.d.ts.map +1 -0
- package/funcs/piiCapabilities.js +105 -0
- package/funcs/piiCapabilities.js.map +1 -0
- package/funcs/sessionsCreate.d.ts +17 -0
- package/funcs/sessionsCreate.d.ts.map +1 -0
- package/funcs/sessionsCreate.js +115 -0
- package/funcs/sessionsCreate.js.map +1 -0
- package/funcs/sessionsDelete.d.ts +17 -0
- package/funcs/sessionsDelete.d.ts.map +1 -0
- package/funcs/sessionsDelete.js +121 -0
- package/funcs/sessionsDelete.js.map +1 -0
- package/funcs/sessionsGet.d.ts +18 -0
- package/funcs/sessionsGet.d.ts.map +1 -0
- package/funcs/sessionsGet.js +121 -0
- package/funcs/sessionsGet.js.map +1 -0
- package/funcs/sessionsGetCount.d.ts +17 -0
- package/funcs/sessionsGetCount.d.ts.map +1 -0
- package/funcs/sessionsGetCount.js +115 -0
- package/funcs/sessionsGetCount.js.map +1 -0
- package/funcs/sessionsList.d.ts +17 -0
- package/funcs/sessionsList.d.ts.map +1 -0
- package/funcs/sessionsList.js +115 -0
- package/funcs/sessionsList.js.map +1 -0
- package/funcs/sessionsListTags.d.ts +16 -0
- package/funcs/sessionsListTags.d.ts.map +1 -0
- package/funcs/sessionsListTags.js +105 -0
- package/funcs/sessionsListTags.js.map +1 -0
- package/funcs/sessionsUpdate.d.ts +18 -0
- package/funcs/sessionsUpdate.d.ts.map +1 -0
- package/funcs/sessionsUpdate.js +124 -0
- package/funcs/sessionsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentresponserequest.d.ts +6 -6
- package/models/components/agentresponserequest.d.ts.map +1 -1
- package/models/components/agentresponserequest.js +6 -6
- package/models/components/agentresponserequest.js.map +1 -1
- package/models/components/agentstartedstreamingevent.d.ts +13 -1
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +2 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/capabilitiesresponse.d.ts +62 -0
- package/models/components/capabilitiesresponse.d.ts.map +1 -0
- package/models/components/capabilitiesresponse.js +68 -0
- package/models/components/capabilitiesresponse.js.map +1 -0
- package/models/components/createthreadrequest.d.ts +41 -0
- package/models/components/createthreadrequest.d.ts.map +1 -0
- package/models/components/createthreadrequest.js +75 -0
- package/models/components/createthreadrequest.js.map +1 -0
- package/models/components/detectrequest.d.ts +48 -0
- package/models/components/detectrequest.d.ts.map +1 -1
- package/models/components/detectrequest.js +4 -0
- package/models/components/detectrequest.js.map +1 -1
- package/models/components/entitylist.d.ts +16 -0
- package/models/components/entitylist.d.ts.map +1 -0
- package/models/components/entitylist.js +50 -0
- package/models/components/entitylist.js.map +1 -0
- package/models/components/gethubitemresponse.d.ts +11 -0
- package/models/components/gethubitemresponse.d.ts.map +1 -0
- package/models/components/gethubitemresponse.js +56 -0
- package/models/components/gethubitemresponse.js.map +1 -0
- package/models/components/getthreadcountrequest.d.ts +17 -0
- package/models/components/getthreadcountrequest.d.ts.map +1 -0
- package/models/components/getthreadcountrequest.js +52 -0
- package/models/components/getthreadcountrequest.js.map +1 -0
- package/models/components/getthreadcountresponse.d.ts +10 -0
- package/models/components/getthreadcountresponse.d.ts.map +1 -0
- package/models/components/getthreadcountresponse.js +50 -0
- package/models/components/getthreadcountresponse.js.map +1 -0
- package/models/components/guardrailruleplugin.d.ts +25 -0
- package/models/components/guardrailruleplugin.d.ts.map +1 -1
- package/models/components/guardrailruleplugin.js +6 -0
- package/models/components/guardrailruleplugin.js.map +1 -1
- package/models/components/hubitem.d.ts +71 -0
- package/models/components/hubitem.d.ts.map +1 -0
- package/models/components/hubitem.js +83 -0
- package/models/components/hubitem.js.map +1 -0
- package/models/components/hubitemsummary.d.ts +29 -0
- package/models/components/hubitemsummary.d.ts.map +1 -0
- package/models/components/hubitemsummary.js +60 -0
- package/models/components/hubitemsummary.js.map +1 -0
- package/models/components/hubsearchhit.d.ts +11 -0
- package/models/components/hubsearchhit.d.ts.map +1 -0
- package/models/components/hubsearchhit.js +51 -0
- package/models/components/hubsearchhit.js.map +1 -0
- package/models/components/index.d.ts +21 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +21 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listthreadsrequest.d.ts +17 -0
- package/models/components/listthreadsrequest.d.ts.map +1 -0
- package/models/components/listthreadsrequest.js +52 -0
- package/models/components/listthreadsrequest.js.map +1 -0
- package/models/components/listthreadsresponse.d.ts +13 -0
- package/models/components/listthreadsresponse.d.ts.map +1 -0
- package/models/components/listthreadsresponse.js +58 -0
- package/models/components/listthreadsresponse.js.map +1 -0
- package/models/components/openaipromptcacheoptions.d.ts +37 -0
- package/models/components/openaipromptcacheoptions.d.ts.map +1 -0
- package/models/components/openaipromptcacheoptions.js +75 -0
- package/models/components/openaipromptcacheoptions.js.map +1 -0
- package/models/components/piiredactionplugin.d.ts +84 -0
- package/models/components/piiredactionplugin.d.ts.map +1 -0
- package/models/components/piiredactionplugin.js +103 -0
- package/models/components/piiredactionplugin.js.map +1 -0
- package/models/components/publicplugin.d.ts +17 -16
- package/models/components/publicplugin.d.ts.map +1 -1
- package/models/components/publicplugin.js +5 -11
- package/models/components/publicplugin.js.map +1 -1
- package/models/components/publicresponseresource.d.ts +2 -0
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +3 -0
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/redactrequest.d.ts +48 -0
- package/models/components/redactrequest.d.ts.map +1 -1
- package/models/components/redactrequest.js +8 -0
- package/models/components/redactrequest.js.map +1 -1
- package/models/components/responsehealingplugin.d.ts +2 -17
- package/models/components/responsehealingplugin.d.ts.map +1 -1
- package/models/components/responsehealingplugin.js +3 -13
- package/models/components/responsehealingplugin.js.map +1 -1
- package/models/components/routingruleplugin.d.ts +25 -0
- package/models/components/routingruleplugin.d.ts.map +1 -1
- package/models/components/routingruleplugin.js +6 -0
- package/models/components/routingruleplugin.js.map +1 -1
- package/models/components/searchhubitemsresponse.d.ts +11 -0
- package/models/components/searchhubitemsresponse.d.ts.map +1 -0
- package/models/components/searchhubitemsresponse.js +51 -0
- package/models/components/searchhubitemsresponse.js.map +1 -0
- package/models/components/sessioninterval.d.ts +19 -0
- package/models/components/sessioninterval.d.ts.map +1 -0
- package/models/components/sessioninterval.js +56 -0
- package/models/components/sessioninterval.js.map +1 -0
- package/models/components/textcontentpartschema.d.ts +5 -5
- package/models/components/textcontentpartschema.d.ts.map +1 -1
- package/models/components/textcontentpartschema.js +6 -6
- package/models/components/textcontentpartschema.js.map +1 -1
- package/models/components/thread.d.ts +54 -0
- package/models/components/thread.d.ts.map +1 -0
- package/models/components/thread.js +79 -0
- package/models/components/thread.js.map +1 -0
- package/models/components/threadbilling.d.ts +21 -0
- package/models/components/threadbilling.d.ts.map +1 -0
- package/models/components/threadbilling.js +75 -0
- package/models/components/threadbilling.js.map +1 -0
- package/models/components/threadfilters.d.ts +34 -0
- package/models/components/threadfilters.d.ts.map +1 -0
- package/models/components/threadfilters.js +65 -0
- package/models/components/threadfilters.js.map +1 -0
- package/models/components/threadkind.d.ts +13 -0
- package/models/components/threadkind.d.ts.map +1 -0
- package/models/components/threadkind.js +51 -0
- package/models/components/threadkind.js.map +1 -0
- package/models/components/threadusage.d.ts +21 -0
- package/models/components/threadusage.d.ts.map +1 -0
- package/models/components/threadusage.js +75 -0
- package/models/components/threadusage.js.map +1 -0
- package/models/components/tracescrubbingplugin.d.ts +2 -16
- package/models/components/tracescrubbingplugin.d.ts.map +1 -1
- package/models/components/tracescrubbingplugin.js +3 -13
- package/models/components/tracescrubbingplugin.js.map +1 -1
- package/models/components/updatethreadrequest.d.ts +51 -0
- package/models/components/updatethreadrequest.d.ts.map +1 -0
- package/models/components/updatethreadrequest.js +79 -0
- package/models/components/updatethreadrequest.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +67 -13
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +20 -32
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +12 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +4 -8
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +2 -8
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +3 -17
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createimage.d.ts +2 -8
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +2 -16
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +18 -6
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +8 -16
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +2 -8
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +2 -16
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +80 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +48 -5
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deletesession.d.ts +12 -0
- package/models/operations/deletesession.d.ts.map +1 -0
- package/models/operations/deletesession.js +54 -0
- package/models/operations/deletesession.js.map +1 -0
- package/models/operations/getallprompts.d.ts +6 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -8
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getoneprompt.d.ts +6 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -8
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +6 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -8
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getsession.d.ts +12 -0
- package/models/operations/getsession.d.ts.map +1 -0
- package/models/operations/getsession.js +54 -0
- package/models/operations/getsession.js.map +1 -0
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/hubget.d.ts +12 -0
- package/models/operations/hubget.d.ts.map +1 -0
- package/models/operations/hubget.js +49 -0
- package/models/operations/hubget.js.map +1 -0
- package/models/operations/hubsearch.d.ts +14 -0
- package/models/operations/hubsearch.d.ts.map +1 -0
- package/models/operations/hubsearch.js +50 -0
- package/models/operations/hubsearch.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +25 -5
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +10 -16
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listpromptversions.d.ts +6 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -8
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +4 -0
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +4 -0
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +4 -0
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +4 -0
- package/models/operations/modelupdateopenailike.js.map +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/postv2routerocr.d.ts +24 -0
- package/models/operations/postv2routerocr.d.ts.map +1 -1
- package/models/operations/postv2routerocr.js +12 -0
- package/models/operations/postv2routerocr.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +25 -5
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +10 -16
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrieveresponse.d.ts +1 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +2 -0
- package/models/operations/retrieveresponse.js.map +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +42 -8
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +11 -17
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +42 -8
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +11 -17
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +67 -13
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +20 -32
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateprompt.d.ts +18 -6
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -16
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatesession.d.ts +15 -0
- package/models/operations/updatesession.d.ts.map +1 -0
- package/models/operations/updatesession.js +57 -0
- package/models/operations/updatesession.js.map +1 -0
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/sdk/hub.d.ts +20 -0
- package/sdk/hub.d.ts.map +1 -0
- package/sdk/hub.js +32 -0
- package/sdk/hub.js.map +1 -0
- package/sdk/pii.d.ts +7 -0
- package/sdk/pii.d.ts.map +1 -1
- package/sdk/pii.js +10 -0
- package/sdk/pii.js.map +1 -1
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessions.d.ts +55 -0
- package/sdk/sessions.d.ts.map +1 -0
- package/sdk/sessions.js +82 -0
- package/sdk/sessions.js.map +1 -0
- package/src/funcs/hubGet.ts +168 -0
- package/src/funcs/hubSearch.ts +169 -0
- package/src/funcs/piiCapabilities.ts +144 -0
- package/src/funcs/sessionsCreate.ts +162 -0
- package/src/funcs/sessionsDelete.ts +168 -0
- package/src/funcs/sessionsGet.ts +168 -0
- package/src/funcs/sessionsGetCount.ts +162 -0
- package/src/funcs/sessionsList.ts +162 -0
- package/src/funcs/sessionsListTags.ts +144 -0
- package/src/funcs/sessionsUpdate.ts +171 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponserequest.ts +14 -10
- package/src/models/components/agentstartedstreamingevent.ts +11 -1
- package/src/models/components/capabilitiesresponse.ts +96 -0
- package/src/models/components/createthreadrequest.ts +91 -0
- package/src/models/components/detectrequest.ts +48 -0
- package/src/models/components/entitylist.ts +37 -0
- package/src/models/components/gethubitemresponse.ts +37 -0
- package/src/models/components/getthreadcountrequest.ts +42 -0
- package/src/models/components/getthreadcountresponse.ts +31 -0
- package/src/models/components/guardrailruleplugin.ts +27 -0
- package/src/models/components/hubitem.ts +136 -0
- package/src/models/components/hubitemsummary.ts +60 -0
- package/src/models/components/hubsearchhit.ts +35 -0
- package/src/models/components/index.ts +21 -3
- package/src/models/components/listthreadsrequest.ts +42 -0
- package/src/models/components/listthreadsresponse.ts +41 -0
- package/src/models/components/openaipromptcacheoptions.ts +84 -0
- package/src/models/components/piiredactionplugin.ts +143 -0
- package/src/models/components/publicplugin.ts +17 -21
- package/src/models/components/publicresponseresource.ts +7 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/redactrequest.ts +52 -0
- package/src/models/components/responsehealingplugin.ts +4 -27
- package/src/models/components/routingruleplugin.ts +27 -0
- package/src/models/components/searchhubitemsresponse.ts +32 -0
- package/src/models/components/sessioninterval.ts +26 -0
- package/src/models/components/textcontentpartschema.ts +13 -8
- package/src/models/components/thread.ts +101 -0
- package/src/models/components/threadbilling.ts +68 -0
- package/src/models/components/threadfilters.ts +66 -0
- package/src/models/components/threadkind.ts +20 -0
- package/src/models/components/threadusage.ts +68 -0
- package/src/models/components/tracescrubbingplugin.ts +4 -24
- package/src/models/components/updatethreadrequest.ts +105 -0
- package/src/models/operations/createagentrequest.ts +85 -87
- package/src/models/operations/createchatcompletion.ts +18 -26
- package/src/models/operations/createcompletion.ts +3 -51
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createimage.ts +3 -51
- package/src/models/operations/createprompt.ts +31 -43
- package/src/models/operations/creatererank.ts +3 -51
- package/src/models/operations/createrouterresponse.ts +128 -9
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deletesession.ts +36 -0
- package/src/models/operations/getallprompts.ts +13 -17
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getoneprompt.ts +13 -17
- package/src/models/operations/getpromptversion.ts +13 -17
- package/src/models/operations/getsession.ts +36 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/hubget.ts +27 -0
- package/src/models/operations/hubsearch.ts +34 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listagents.ts +37 -35
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +13 -17
- package/src/models/operations/modelcreateopenailike.ts +8 -0
- package/src/models/operations/modelupdateopenailike.ts +8 -0
- 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/postv2routerocr.ts +36 -0
- package/src/models/operations/retrieveagentrequest.ts +37 -35
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrieveresponse.ts +5 -0
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +49 -53
- package/src/models/operations/streamrunagent.ts +49 -53
- package/src/models/operations/updateagent.ts +85 -87
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +31 -43
- package/src/models/operations/updatesession.ts +41 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/hub.ts +46 -0
- package/src/sdk/pii.ts +16 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/sessions.ts +134 -0
- package/models/components/piiredactionpluginauto.d.ts +0 -126
- package/models/components/piiredactionpluginauto.d.ts.map +0 -1
- package/models/components/piiredactionpluginauto.js +0 -156
- package/models/components/piiredactionpluginauto.js.map +0 -1
- package/models/components/piiredactionpluginen.d.ts +0 -145
- package/models/components/piiredactionpluginen.d.ts.map +0 -1
- package/models/components/piiredactionpluginen.js +0 -167
- package/models/components/piiredactionpluginen.js.map +0 -1
- package/models/components/piiredactionpluginnl.d.ts +0 -137
- package/models/components/piiredactionpluginnl.d.ts.map +0 -1
- package/models/components/piiredactionpluginnl.js +0 -158
- package/models/components/piiredactionpluginnl.js.map +0 -1
- package/src/models/components/piiredactionpluginauto.ts +0 -185
- package/src/models/components/piiredactionpluginen.ts +0 -222
- package/src/models/components/piiredactionpluginnl.ts +0 -218
|
@@ -199,11 +199,9 @@ export type RunAgentModelConfigurationGuardrails = {
|
|
|
199
199
|
};
|
|
200
200
|
|
|
201
201
|
export type RunAgentModelConfigurationPlugins =
|
|
202
|
-
| components.
|
|
203
|
-
| components.
|
|
204
|
-
| components.TraceScrubbingPlugin
|
|
205
|
-
| components.PIIRedactionPluginAuto
|
|
206
|
-
| components.ResponseHealingPlugin;
|
|
202
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
203
|
+
| components.ResponseHealingPlugin
|
|
204
|
+
| components.TraceScrubbingPlugin;
|
|
207
205
|
|
|
208
206
|
export type RunAgentModelConfigurationFallbacks = {
|
|
209
207
|
/**
|
|
@@ -429,11 +427,9 @@ export type RunAgentModelConfigurationParameters = {
|
|
|
429
427
|
*/
|
|
430
428
|
plugins?:
|
|
431
429
|
| Array<
|
|
432
|
-
| components.
|
|
433
|
-
| components.PIIRedactionPluginNl
|
|
434
|
-
| components.TraceScrubbingPlugin
|
|
435
|
-
| components.PIIRedactionPluginAuto
|
|
430
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
436
431
|
| components.ResponseHealingPlugin
|
|
432
|
+
| components.TraceScrubbingPlugin
|
|
437
433
|
>
|
|
438
434
|
| undefined;
|
|
439
435
|
/**
|
|
@@ -694,11 +690,9 @@ export type RunAgentFallbackModelConfigurationGuardrails = {
|
|
|
694
690
|
};
|
|
695
691
|
|
|
696
692
|
export type RunAgentFallbackModelConfigurationPlugins =
|
|
697
|
-
| components.
|
|
698
|
-
| components.
|
|
699
|
-
| components.TraceScrubbingPlugin
|
|
700
|
-
| components.PIIRedactionPluginAuto
|
|
701
|
-
| components.ResponseHealingPlugin;
|
|
693
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
694
|
+
| components.ResponseHealingPlugin
|
|
695
|
+
| components.TraceScrubbingPlugin;
|
|
702
696
|
|
|
703
697
|
export type RunAgentFallbackModelConfigurationFallbacks = {
|
|
704
698
|
/**
|
|
@@ -933,11 +927,9 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
933
927
|
*/
|
|
934
928
|
plugins?:
|
|
935
929
|
| Array<
|
|
936
|
-
| components.
|
|
937
|
-
| components.PIIRedactionPluginNl
|
|
938
|
-
| components.TraceScrubbingPlugin
|
|
939
|
-
| components.PIIRedactionPluginAuto
|
|
930
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
940
931
|
| components.ResponseHealingPlugin
|
|
932
|
+
| components.TraceScrubbingPlugin
|
|
941
933
|
>
|
|
942
934
|
| undefined;
|
|
943
935
|
/**
|
|
@@ -1631,6 +1623,10 @@ export type RunAgentEvaluators = {
|
|
|
1631
1623
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1632
1624
|
*/
|
|
1633
1625
|
executeOn: RunAgentExecuteOn;
|
|
1626
|
+
/**
|
|
1627
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
1628
|
+
*/
|
|
1629
|
+
options?: { [k: string]: any } | undefined;
|
|
1634
1630
|
};
|
|
1635
1631
|
|
|
1636
1632
|
/**
|
|
@@ -1660,6 +1656,10 @@ export type RunAgentGuardrails = {
|
|
|
1660
1656
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1661
1657
|
*/
|
|
1662
1658
|
executeOn: RunAgentAgentsExecuteOn;
|
|
1659
|
+
/**
|
|
1660
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
1661
|
+
*/
|
|
1662
|
+
options?: { [k: string]: any } | undefined;
|
|
1663
1663
|
};
|
|
1664
1664
|
|
|
1665
1665
|
export type RunAgentSettings = {
|
|
@@ -2291,11 +2291,9 @@ export function runAgentModelConfigurationGuardrailsToJSON(
|
|
|
2291
2291
|
|
|
2292
2292
|
/** @internal */
|
|
2293
2293
|
export type RunAgentModelConfigurationPlugins$Outbound =
|
|
2294
|
-
| components.
|
|
2295
|
-
| components.
|
|
2296
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
2297
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2298
|
-
| components.ResponseHealingPlugin$Outbound;
|
|
2294
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
2295
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2296
|
+
| components.TraceScrubbingPlugin$Outbound;
|
|
2299
2297
|
|
|
2300
2298
|
/** @internal */
|
|
2301
2299
|
export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2303,11 +2301,11 @@ export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2303
2301
|
z.ZodTypeDef,
|
|
2304
2302
|
RunAgentModelConfigurationPlugins
|
|
2305
2303
|
> = z.union([
|
|
2306
|
-
components.
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2304
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
2305
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2306
|
+
),
|
|
2310
2307
|
components.ResponseHealingPlugin$outboundSchema,
|
|
2308
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
2311
2309
|
]);
|
|
2312
2310
|
|
|
2313
2311
|
export function runAgentModelConfigurationPluginsToJSON(
|
|
@@ -2546,11 +2544,9 @@ export type RunAgentModelConfigurationParameters$Outbound = {
|
|
|
2546
2544
|
guardrails?: Array<RunAgentModelConfigurationGuardrails$Outbound> | undefined;
|
|
2547
2545
|
plugins?:
|
|
2548
2546
|
| Array<
|
|
2549
|
-
| components.
|
|
2550
|
-
| components.PIIRedactionPluginNl$Outbound
|
|
2551
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
2552
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2547
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
2553
2548
|
| components.ResponseHealingPlugin$Outbound
|
|
2549
|
+
| components.TraceScrubbingPlugin$Outbound
|
|
2554
2550
|
>
|
|
2555
2551
|
| undefined;
|
|
2556
2552
|
fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
|
|
@@ -2603,11 +2599,11 @@ export const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
2603
2599
|
).optional(),
|
|
2604
2600
|
plugins: z.array(
|
|
2605
2601
|
z.union([
|
|
2606
|
-
components.
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2602
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
2603
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2604
|
+
),
|
|
2610
2605
|
components.ResponseHealingPlugin$outboundSchema,
|
|
2606
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
2611
2607
|
]),
|
|
2612
2608
|
).optional(),
|
|
2613
2609
|
fallbacks: z.array(
|
|
@@ -3089,11 +3085,9 @@ export function runAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3089
3085
|
|
|
3090
3086
|
/** @internal */
|
|
3091
3087
|
export type RunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3092
|
-
| components.
|
|
3093
|
-
| components.
|
|
3094
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
3095
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3096
|
-
| components.ResponseHealingPlugin$Outbound;
|
|
3088
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
3089
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3090
|
+
| components.TraceScrubbingPlugin$Outbound;
|
|
3097
3091
|
|
|
3098
3092
|
/** @internal */
|
|
3099
3093
|
export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3102,11 +3096,11 @@ export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3102
3096
|
z.ZodTypeDef,
|
|
3103
3097
|
RunAgentFallbackModelConfigurationPlugins
|
|
3104
3098
|
> = z.union([
|
|
3105
|
-
components.
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3099
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
3100
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3101
|
+
),
|
|
3109
3102
|
components.ResponseHealingPlugin$outboundSchema,
|
|
3103
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
3110
3104
|
]);
|
|
3111
3105
|
|
|
3112
3106
|
export function runAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3362,11 +3356,9 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3362
3356
|
| undefined;
|
|
3363
3357
|
plugins?:
|
|
3364
3358
|
| Array<
|
|
3365
|
-
| components.
|
|
3366
|
-
| components.PIIRedactionPluginNl$Outbound
|
|
3367
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
3368
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3359
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
3369
3360
|
| components.ResponseHealingPlugin$Outbound
|
|
3361
|
+
| components.TraceScrubbingPlugin$Outbound
|
|
3370
3362
|
>
|
|
3371
3363
|
| undefined;
|
|
3372
3364
|
fallbacks?:
|
|
@@ -3427,11 +3419,11 @@ export const RunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3427
3419
|
).optional(),
|
|
3428
3420
|
plugins: z.array(
|
|
3429
3421
|
z.union([
|
|
3430
|
-
components.
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3422
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
3423
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3424
|
+
),
|
|
3434
3425
|
components.ResponseHealingPlugin$outboundSchema,
|
|
3426
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
3435
3427
|
]),
|
|
3436
3428
|
).optional(),
|
|
3437
3429
|
fallbacks: z.array(
|
|
@@ -3898,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3898
3890
|
z.ZodTypeDef,
|
|
3899
3891
|
Tools
|
|
3900
3892
|
> = z.object({
|
|
3901
|
-
id: z.string().default("
|
|
3893
|
+
id: z.string().default("01M1WJDNZCP58N8CTF4CG3V87C"),
|
|
3902
3894
|
name: z.string(),
|
|
3903
3895
|
description: z.string().optional(),
|
|
3904
3896
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4542,6 +4534,7 @@ export type RunAgentEvaluators$Outbound = {
|
|
|
4542
4534
|
id: string;
|
|
4543
4535
|
sample_rate: number;
|
|
4544
4536
|
execute_on: string;
|
|
4537
|
+
options?: { [k: string]: any } | undefined;
|
|
4545
4538
|
};
|
|
4546
4539
|
|
|
4547
4540
|
/** @internal */
|
|
@@ -4553,6 +4546,7 @@ export const RunAgentEvaluators$outboundSchema: z.ZodType<
|
|
|
4553
4546
|
id: z.string(),
|
|
4554
4547
|
sampleRate: z.number().default(50),
|
|
4555
4548
|
executeOn: RunAgentExecuteOn$outboundSchema,
|
|
4549
|
+
options: z.record(z.any()).optional(),
|
|
4556
4550
|
}).transform((v) => {
|
|
4557
4551
|
return remap$(v, {
|
|
4558
4552
|
sampleRate: "sample_rate",
|
|
@@ -4578,6 +4572,7 @@ export type RunAgentGuardrails$Outbound = {
|
|
|
4578
4572
|
id: string;
|
|
4579
4573
|
sample_rate: number;
|
|
4580
4574
|
execute_on: string;
|
|
4575
|
+
options?: { [k: string]: any } | undefined;
|
|
4581
4576
|
};
|
|
4582
4577
|
|
|
4583
4578
|
/** @internal */
|
|
@@ -4589,6 +4584,7 @@ export const RunAgentGuardrails$outboundSchema: z.ZodType<
|
|
|
4589
4584
|
id: z.string(),
|
|
4590
4585
|
sampleRate: z.number().default(50),
|
|
4591
4586
|
executeOn: RunAgentAgentsExecuteOn$outboundSchema,
|
|
4587
|
+
options: z.record(z.any()).optional(),
|
|
4592
4588
|
}).transform((v) => {
|
|
4593
4589
|
return remap$(v, {
|
|
4594
4590
|
sampleRate: "sample_rate",
|
|
@@ -203,11 +203,9 @@ export type StreamRunAgentModelConfigurationGuardrails = {
|
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
export type StreamRunAgentModelConfigurationPlugins =
|
|
206
|
-
| components.
|
|
207
|
-
| components.
|
|
208
|
-
| components.TraceScrubbingPlugin
|
|
209
|
-
| components.PIIRedactionPluginAuto
|
|
210
|
-
| components.ResponseHealingPlugin;
|
|
206
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
207
|
+
| components.ResponseHealingPlugin
|
|
208
|
+
| components.TraceScrubbingPlugin;
|
|
211
209
|
|
|
212
210
|
export type StreamRunAgentModelConfigurationFallbacks = {
|
|
213
211
|
/**
|
|
@@ -440,11 +438,9 @@ export type StreamRunAgentModelConfigurationParameters = {
|
|
|
440
438
|
*/
|
|
441
439
|
plugins?:
|
|
442
440
|
| Array<
|
|
443
|
-
| components.
|
|
444
|
-
| components.PIIRedactionPluginNl
|
|
445
|
-
| components.TraceScrubbingPlugin
|
|
446
|
-
| components.PIIRedactionPluginAuto
|
|
441
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
447
442
|
| components.ResponseHealingPlugin
|
|
443
|
+
| components.TraceScrubbingPlugin
|
|
448
444
|
>
|
|
449
445
|
| undefined;
|
|
450
446
|
/**
|
|
@@ -712,11 +708,9 @@ export type StreamRunAgentFallbackModelConfigurationGuardrails = {
|
|
|
712
708
|
};
|
|
713
709
|
|
|
714
710
|
export type StreamRunAgentFallbackModelConfigurationPlugins =
|
|
715
|
-
| components.
|
|
716
|
-
| components.
|
|
717
|
-
| components.TraceScrubbingPlugin
|
|
718
|
-
| components.PIIRedactionPluginAuto
|
|
719
|
-
| components.ResponseHealingPlugin;
|
|
711
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
712
|
+
| components.ResponseHealingPlugin
|
|
713
|
+
| components.TraceScrubbingPlugin;
|
|
720
714
|
|
|
721
715
|
export type StreamRunAgentFallbackModelConfigurationFallbacks = {
|
|
722
716
|
/**
|
|
@@ -953,11 +947,9 @@ export type StreamRunAgentFallbackModelConfigurationParameters = {
|
|
|
953
947
|
*/
|
|
954
948
|
plugins?:
|
|
955
949
|
| Array<
|
|
956
|
-
| components.
|
|
957
|
-
| components.PIIRedactionPluginNl
|
|
958
|
-
| components.TraceScrubbingPlugin
|
|
959
|
-
| components.PIIRedactionPluginAuto
|
|
950
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
960
951
|
| components.ResponseHealingPlugin
|
|
952
|
+
| components.TraceScrubbingPlugin
|
|
961
953
|
>
|
|
962
954
|
| undefined;
|
|
963
955
|
/**
|
|
@@ -1673,6 +1665,10 @@ export type StreamRunAgentEvaluators = {
|
|
|
1673
1665
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1674
1666
|
*/
|
|
1675
1667
|
executeOn: StreamRunAgentExecuteOn;
|
|
1668
|
+
/**
|
|
1669
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
1670
|
+
*/
|
|
1671
|
+
options?: { [k: string]: any } | undefined;
|
|
1676
1672
|
};
|
|
1677
1673
|
|
|
1678
1674
|
/**
|
|
@@ -1702,6 +1698,10 @@ export type StreamRunAgentGuardrails = {
|
|
|
1702
1698
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1703
1699
|
*/
|
|
1704
1700
|
executeOn: StreamRunAgentAgentsExecuteOn;
|
|
1701
|
+
/**
|
|
1702
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
1703
|
+
*/
|
|
1704
|
+
options?: { [k: string]: any } | undefined;
|
|
1705
1705
|
};
|
|
1706
1706
|
|
|
1707
1707
|
export type StreamRunAgentSettings = {
|
|
@@ -2268,11 +2268,9 @@ export function streamRunAgentModelConfigurationGuardrailsToJSON(
|
|
|
2268
2268
|
|
|
2269
2269
|
/** @internal */
|
|
2270
2270
|
export type StreamRunAgentModelConfigurationPlugins$Outbound =
|
|
2271
|
-
| components.
|
|
2272
|
-
| components.
|
|
2273
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
2274
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2275
|
-
| components.ResponseHealingPlugin$Outbound;
|
|
2271
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
2272
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2273
|
+
| components.TraceScrubbingPlugin$Outbound;
|
|
2276
2274
|
|
|
2277
2275
|
/** @internal */
|
|
2278
2276
|
export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2280,11 +2278,11 @@ export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2280
2278
|
z.ZodTypeDef,
|
|
2281
2279
|
StreamRunAgentModelConfigurationPlugins
|
|
2282
2280
|
> = z.union([
|
|
2283
|
-
components.
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2281
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
2282
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2283
|
+
),
|
|
2287
2284
|
components.ResponseHealingPlugin$outboundSchema,
|
|
2285
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
2288
2286
|
]);
|
|
2289
2287
|
|
|
2290
2288
|
export function streamRunAgentModelConfigurationPluginsToJSON(
|
|
@@ -2538,11 +2536,9 @@ export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
|
2538
2536
|
| undefined;
|
|
2539
2537
|
plugins?:
|
|
2540
2538
|
| Array<
|
|
2541
|
-
| components.
|
|
2542
|
-
| components.PIIRedactionPluginNl$Outbound
|
|
2543
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
2544
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2539
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
2545
2540
|
| components.ResponseHealingPlugin$Outbound
|
|
2541
|
+
| components.TraceScrubbingPlugin$Outbound
|
|
2546
2542
|
>
|
|
2547
2543
|
| undefined;
|
|
2548
2544
|
fallbacks?:
|
|
@@ -2600,11 +2596,11 @@ export const StreamRunAgentModelConfigurationParameters$outboundSchema:
|
|
|
2600
2596
|
).optional(),
|
|
2601
2597
|
plugins: z.array(
|
|
2602
2598
|
z.union([
|
|
2603
|
-
components.
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2599
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
2600
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2601
|
+
),
|
|
2607
2602
|
components.ResponseHealingPlugin$outboundSchema,
|
|
2603
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
2608
2604
|
]),
|
|
2609
2605
|
).optional(),
|
|
2610
2606
|
fallbacks: z.array(
|
|
@@ -3105,11 +3101,9 @@ export function streamRunAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3105
3101
|
|
|
3106
3102
|
/** @internal */
|
|
3107
3103
|
export type StreamRunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3108
|
-
| components.
|
|
3109
|
-
| components.
|
|
3110
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
3111
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3112
|
-
| components.ResponseHealingPlugin$Outbound;
|
|
3104
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
3105
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3106
|
+
| components.TraceScrubbingPlugin$Outbound;
|
|
3113
3107
|
|
|
3114
3108
|
/** @internal */
|
|
3115
3109
|
export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3118,11 +3112,11 @@ export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3118
3112
|
z.ZodTypeDef,
|
|
3119
3113
|
StreamRunAgentFallbackModelConfigurationPlugins
|
|
3120
3114
|
> = z.union([
|
|
3121
|
-
components.
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3115
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
3116
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3117
|
+
),
|
|
3125
3118
|
components.ResponseHealingPlugin$outboundSchema,
|
|
3119
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
3126
3120
|
]);
|
|
3127
3121
|
|
|
3128
3122
|
export function streamRunAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3381,11 +3375,9 @@ export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3381
3375
|
| undefined;
|
|
3382
3376
|
plugins?:
|
|
3383
3377
|
| Array<
|
|
3384
|
-
| components.
|
|
3385
|
-
| components.PIIRedactionPluginNl$Outbound
|
|
3386
|
-
| components.TraceScrubbingPlugin$Outbound
|
|
3387
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3378
|
+
| (components.PIIRedactionPlugin$Outbound & { id: "pii_redaction" })
|
|
3388
3379
|
| components.ResponseHealingPlugin$Outbound
|
|
3380
|
+
| components.TraceScrubbingPlugin$Outbound
|
|
3389
3381
|
>
|
|
3390
3382
|
| undefined;
|
|
3391
3383
|
fallbacks?:
|
|
@@ -3452,11 +3444,11 @@ export const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3452
3444
|
).optional(),
|
|
3453
3445
|
plugins: z.array(
|
|
3454
3446
|
z.union([
|
|
3455
|
-
components.
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3447
|
+
components.PIIRedactionPlugin$outboundSchema.and(
|
|
3448
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3449
|
+
),
|
|
3459
3450
|
components.ResponseHealingPlugin$outboundSchema,
|
|
3451
|
+
components.TraceScrubbingPlugin$outboundSchema,
|
|
3460
3452
|
]),
|
|
3461
3453
|
).optional(),
|
|
3462
3454
|
fallbacks: z.array(
|
|
@@ -3957,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3957
3949
|
z.ZodTypeDef,
|
|
3958
3950
|
AgentToolInputRunTools
|
|
3959
3951
|
> = z.object({
|
|
3960
|
-
id: z.string().default("
|
|
3952
|
+
id: z.string().default("01M1WJDP008923ZGT3ERQ89TST"),
|
|
3961
3953
|
name: z.string(),
|
|
3962
3954
|
description: z.string().optional(),
|
|
3963
3955
|
schema: z.lazy(() =>
|
|
@@ -4711,6 +4703,7 @@ export type StreamRunAgentEvaluators$Outbound = {
|
|
|
4711
4703
|
id: string;
|
|
4712
4704
|
sample_rate: number;
|
|
4713
4705
|
execute_on: string;
|
|
4706
|
+
options?: { [k: string]: any } | undefined;
|
|
4714
4707
|
};
|
|
4715
4708
|
|
|
4716
4709
|
/** @internal */
|
|
@@ -4722,6 +4715,7 @@ export const StreamRunAgentEvaluators$outboundSchema: z.ZodType<
|
|
|
4722
4715
|
id: z.string(),
|
|
4723
4716
|
sampleRate: z.number().default(50),
|
|
4724
4717
|
executeOn: StreamRunAgentExecuteOn$outboundSchema,
|
|
4718
|
+
options: z.record(z.any()).optional(),
|
|
4725
4719
|
}).transform((v) => {
|
|
4726
4720
|
return remap$(v, {
|
|
4727
4721
|
sampleRate: "sample_rate",
|
|
@@ -4747,6 +4741,7 @@ export type StreamRunAgentGuardrails$Outbound = {
|
|
|
4747
4741
|
id: string;
|
|
4748
4742
|
sample_rate: number;
|
|
4749
4743
|
execute_on: string;
|
|
4744
|
+
options?: { [k: string]: any } | undefined;
|
|
4750
4745
|
};
|
|
4751
4746
|
|
|
4752
4747
|
/** @internal */
|
|
@@ -4758,6 +4753,7 @@ export const StreamRunAgentGuardrails$outboundSchema: z.ZodType<
|
|
|
4758
4753
|
id: z.string(),
|
|
4759
4754
|
sampleRate: z.number().default(50),
|
|
4760
4755
|
executeOn: StreamRunAgentAgentsExecuteOn$outboundSchema,
|
|
4756
|
+
options: z.record(z.any()).optional(),
|
|
4761
4757
|
}).transform((v) => {
|
|
4762
4758
|
return remap$(v, {
|
|
4763
4759
|
sampleRate: "sample_rate",
|