@orq-ai/node 4.10.7 → 4.10.9
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/FUNCTIONS.md +4 -4
- package/README.md +41 -34
- package/examples/{postV2FeedbackEvaluationRemove.example.ts → evalsAll.example.ts} +4 -2
- package/funcs/{agentsPostV2AgentsKeyCardRefresh.d.ts → agentsRefreshKeyCard.d.ts} +2 -2
- package/funcs/agentsRefreshKeyCard.d.ts.map +1 -0
- package/funcs/{agentsPostV2AgentsKeyCardRefresh.js → agentsRefreshKeyCard.js} +3 -3
- package/funcs/agentsRefreshKeyCard.js.map +1 -0
- package/funcs/{evalsGetV2EvaluatorsIdVersions.d.ts → evalsListVersions.d.ts} +2 -2
- package/funcs/evalsListVersions.d.ts.map +1 -0
- package/funcs/{evalsGetV2EvaluatorsIdVersions.js → evalsListVersions.js} +3 -3
- package/funcs/evalsListVersions.js.map +1 -0
- package/funcs/{feedbackPostV2FeedbackRemove.d.ts → feedbackCreate.d.ts} +2 -2
- package/funcs/feedbackCreate.d.ts.map +1 -0
- package/funcs/{feedbackPostV2Feedback.js → feedbackCreate.js} +3 -3
- package/funcs/feedbackCreate.js.map +1 -0
- package/funcs/{postV2FeedbackEvaluation.d.ts → feedbackCreateEvaluation.d.ts} +2 -2
- package/funcs/{postV2FeedbackEvaluation.d.ts.map → feedbackCreateEvaluation.d.ts.map} +1 -1
- package/funcs/{postV2FeedbackEvaluation.js → feedbackCreateEvaluation.js} +3 -3
- package/funcs/{postV2FeedbackEvaluation.js.map → feedbackCreateEvaluation.js.map} +1 -1
- package/funcs/{feedbackPostV2Feedback.d.ts → feedbackRemove.d.ts} +2 -2
- package/funcs/feedbackRemove.d.ts.map +1 -0
- package/funcs/{feedbackPostV2FeedbackRemove.js → feedbackRemove.js} +3 -3
- package/funcs/feedbackRemove.js.map +1 -0
- package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.d.ts → feedbackRemoveEvaluation.d.ts} +2 -5
- package/funcs/feedbackRemoveEvaluation.d.ts.map +1 -0
- package/funcs/{postV2FeedbackEvaluationRemove.js → feedbackRemoveEvaluation.js} +3 -3
- package/funcs/feedbackRemoveEvaluation.js.map +1 -0
- package/funcs/{humanReviewSetsPostV2HumanEvalSets.d.ts → humanReviewSetsCreate.d.ts} +2 -2
- package/funcs/humanReviewSetsCreate.d.ts.map +1 -0
- package/funcs/{humanReviewSetsPostV2HumanEvalSets.js → humanReviewSetsCreate.js} +3 -3
- package/funcs/humanReviewSetsCreate.js.map +1 -0
- package/funcs/{humanReviewSetsGetV2HumanEvalSets.d.ts → humanReviewSetsDelete.d.ts} +3 -3
- package/funcs/humanReviewSetsDelete.d.ts.map +1 -0
- package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.js → humanReviewSetsDelete.js} +3 -3
- package/funcs/humanReviewSetsDelete.js.map +1 -0
- package/funcs/{postV2FeedbackEvaluationRemove.d.ts → humanReviewSetsGet.d.ts} +5 -2
- package/funcs/humanReviewSetsGet.d.ts.map +1 -0
- package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.js → humanReviewSetsGet.js} +3 -3
- package/funcs/humanReviewSetsGet.js.map +1 -0
- package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.d.ts → humanReviewSetsList.d.ts} +3 -3
- package/funcs/humanReviewSetsList.d.ts.map +1 -0
- package/funcs/{humanReviewSetsGetV2HumanEvalSets.js → humanReviewSetsList.js} +3 -3
- package/funcs/humanReviewSetsList.js.map +1 -0
- package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.d.ts → humanReviewSetsUpdate.d.ts} +2 -2
- package/funcs/humanReviewSetsUpdate.d.ts.map +1 -0
- package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.js → humanReviewSetsUpdate.js} +3 -3
- package/funcs/humanReviewSetsUpdate.js.map +1 -0
- package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.d.ts → toolsGetVersion.d.ts} +2 -2
- package/funcs/toolsGetVersion.d.ts.map +1 -0
- package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.js → toolsGetVersion.js} +3 -3
- package/funcs/toolsGetVersion.js.map +1 -0
- package/funcs/{toolsGetV2ToolsToolIdVersions.d.ts → toolsListVersions.d.ts} +2 -2
- package/funcs/toolsListVersions.d.ts.map +1 -0
- package/funcs/{toolsGetV2ToolsToolIdVersions.js → toolsListVersions.js} +3 -3
- package/funcs/toolsListVersions.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/reasoningpart.js +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 +4 -4
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +20 -20
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createknowledge.d.ts +10 -10
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- 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.d.ts +14 -14
- package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +18 -18
- package/models/operations/postv2feedbackevaluation.js.map +1 -1
- package/models/operations/postv2humanevalsets.js +2 -2
- 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.js +1 -1
- package/models/operations/streamrunagent.js +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.js +16 -16
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/packages/orq-rc/examples/{postV2FeedbackEvaluationRemove.example.ts → evalsAll.example.ts} +4 -2
- package/packages/orq-rc/src/funcs/{agentsPostV2AgentsKeyCardRefresh.ts → agentsRefreshKeyCard.ts} +1 -1
- package/{src/funcs/evalsGetV2EvaluatorsIdVersions.ts → packages/orq-rc/src/funcs/evalsListVersions.ts} +1 -1
- package/packages/orq-rc/src/funcs/{feedbackPostV2Feedback.ts → feedbackCreate.ts} +1 -1
- package/{src/funcs/postV2FeedbackEvaluation.ts → packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts} +1 -1
- package/{src/funcs/feedbackPostV2FeedbackRemove.ts → packages/orq-rc/src/funcs/feedbackRemove.ts} +1 -1
- package/packages/orq-rc/src/funcs/{postV2FeedbackEvaluationRemove.ts → feedbackRemoveEvaluation.ts} +1 -1
- package/packages/orq-rc/src/funcs/guardrailRulesList.ts +4 -0
- package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
- package/{src/funcs/humanReviewSetsPostV2HumanEvalSets.ts → packages/orq-rc/src/funcs/humanReviewSetsCreate.ts} +1 -1
- package/packages/orq-rc/src/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.ts → humanReviewSetsDelete.ts} +1 -1
- package/{src/funcs/humanReviewSetsGetV2HumanEvalSetsId.ts → packages/orq-rc/src/funcs/humanReviewSetsGet.ts} +1 -1
- package/{src/funcs/humanReviewSetsGetV2HumanEvalSets.ts → packages/orq-rc/src/funcs/humanReviewSetsList.ts} +1 -1
- package/packages/orq-rc/src/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.ts → humanReviewSetsUpdate.ts} +1 -1
- package/packages/orq-rc/src/funcs/routingRulesList.ts +3 -0
- package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +144 -0
- package/{src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts → packages/orq-rc/src/funcs/toolsGetVersion.ts} +1 -1
- package/{src/funcs/toolsGetV2ToolsToolIdVersions.ts → packages/orq-rc/src/funcs/toolsListVersions.ts} +1 -1
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/createfilerequest.ts +1 -1
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +23 -25
- package/packages/orq-rc/src/models/operations/createknowledge.ts +19 -33
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- 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/guardrailrulelist.ts +44 -0
- package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
- package/packages/orq-rc/src/models/operations/index.ts +2 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- 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/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +43 -31
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- 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/routingrulelist.ts +18 -0
- package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +37 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- 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/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/agents.ts +3 -3
- package/packages/orq-rc/src/sdk/evals.ts +3 -3
- package/packages/orq-rc/src/sdk/feedback.ts +36 -6
- package/packages/orq-rc/src/sdk/guardrailrules.ts +16 -0
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +15 -15
- package/packages/orq-rc/src/sdk/routingrules.ts +16 -0
- package/packages/orq-rc/src/sdk/sdk.ts +1 -27
- package/packages/orq-rc/src/sdk/tools.ts +6 -6
- package/sdk/agents.d.ts +1 -1
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +3 -3
- package/sdk/agents.js.map +1 -1
- package/sdk/evals.d.ts +1 -1
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +3 -3
- package/sdk/evals.js.map +1 -1
- package/sdk/feedback.d.ts +10 -2
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +20 -6
- package/sdk/feedback.js.map +1 -1
- package/sdk/humanreviewsets.d.ts +5 -5
- package/sdk/humanreviewsets.d.ts.map +1 -1
- package/sdk/humanreviewsets.js +15 -15
- package/sdk/humanreviewsets.js.map +1 -1
- package/sdk/sdk.d.ts +1 -4
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -9
- package/sdk/sdk.js.map +1 -1
- package/sdk/tools.d.ts +2 -2
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +6 -6
- package/sdk/tools.js.map +1 -1
- package/src/funcs/{agentsPostV2AgentsKeyCardRefresh.ts → agentsRefreshKeyCard.ts} +1 -1
- package/{packages/orq-rc/src/funcs/evalsGetV2EvaluatorsIdVersions.ts → src/funcs/evalsListVersions.ts} +1 -1
- package/src/funcs/{feedbackPostV2Feedback.ts → feedbackCreate.ts} +1 -1
- package/{packages/orq-rc/src/funcs/postV2FeedbackEvaluation.ts → src/funcs/feedbackCreateEvaluation.ts} +1 -1
- package/{packages/orq-rc/src/funcs/feedbackPostV2FeedbackRemove.ts → src/funcs/feedbackRemove.ts} +1 -1
- package/src/funcs/{postV2FeedbackEvaluationRemove.ts → feedbackRemoveEvaluation.ts} +1 -1
- package/{packages/orq-rc/src/funcs/humanReviewSetsPostV2HumanEvalSets.ts → src/funcs/humanReviewSetsCreate.ts} +1 -1
- package/src/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.ts → humanReviewSetsDelete.ts} +1 -1
- package/{packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSetsId.ts → src/funcs/humanReviewSetsGet.ts} +1 -1
- package/{packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSets.ts → src/funcs/humanReviewSetsList.ts} +1 -1
- package/src/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.ts → humanReviewSetsUpdate.ts} +1 -1
- package/{packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts → src/funcs/toolsGetVersion.ts} +1 -1
- package/{packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersions.ts → src/funcs/toolsListVersions.ts} +1 -1
- package/src/lib/config.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 +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +23 -25
- package/src/models/operations/createknowledge.ts +19 -33
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- 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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +43 -31
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- 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 +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- 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 +16 -16
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +3 -3
- package/src/sdk/evals.ts +3 -3
- package/src/sdk/feedback.ts +36 -6
- package/src/sdk/humanreviewsets.ts +15 -15
- package/src/sdk/sdk.ts +1 -27
- package/src/sdk/tools.ts +6 -6
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +0 -1
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +0 -1
- package/funcs/evalsGetV2EvaluatorsIdVersions.d.ts.map +0 -1
- package/funcs/evalsGetV2EvaluatorsIdVersions.js.map +0 -1
- package/funcs/feedbackPostV2Feedback.d.ts.map +0 -1
- package/funcs/feedbackPostV2Feedback.js.map +0 -1
- package/funcs/feedbackPostV2FeedbackRemove.d.ts.map +0 -1
- package/funcs/feedbackPostV2FeedbackRemove.js.map +0 -1
- package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.d.ts.map +0 -1
- package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js.map +0 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSets.d.ts.map +0 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSets.js.map +0 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSetsId.d.ts.map +0 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSetsId.js.map +0 -1
- package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.d.ts.map +0 -1
- package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.js.map +0 -1
- package/funcs/humanReviewSetsPostV2HumanEvalSets.d.ts.map +0 -1
- package/funcs/humanReviewSetsPostV2HumanEvalSets.js.map +0 -1
- package/funcs/postV2FeedbackEvaluationRemove.d.ts.map +0 -1
- package/funcs/postV2FeedbackEvaluationRemove.js.map +0 -1
- package/funcs/toolsGetV2ToolsToolIdVersions.d.ts.map +0 -1
- package/funcs/toolsGetV2ToolsToolIdVersions.js.map +0 -1
- package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +0 -1
- package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js.map +0 -1
|
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KTJVKQP951RKHG017G39HFMK"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KTJVKQP88E83VAF201WB954A"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTJVKQP7JZYYR6Z1YTRWEZWX"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KTJVKQP5AAZJ0X4DSFWY8VM1"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KTJVKQP3GD00QDQSNG0ZMKPQ"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KTJVKQP287VVYXZH4K6R4F26"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
@@ -23,6 +23,18 @@ export type RoutingRuleListRequest = {
|
|
|
23
23
|
* Optional filter by project ID.
|
|
24
24
|
*/
|
|
25
25
|
projectId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Optional search term matched against name and description.
|
|
28
|
+
*/
|
|
29
|
+
search?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Filter by enabled status.
|
|
32
|
+
*/
|
|
33
|
+
enabled?: boolean | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Filter by referenced model refs (comma-separated).
|
|
36
|
+
*/
|
|
37
|
+
model?: Array<string> | null | undefined;
|
|
26
38
|
};
|
|
27
39
|
|
|
28
40
|
/**
|
|
@@ -40,6 +52,9 @@ export type RoutingRuleListRequest$Outbound = {
|
|
|
40
52
|
starting_after?: string | undefined;
|
|
41
53
|
ending_before?: string | undefined;
|
|
42
54
|
project_id?: string | undefined;
|
|
55
|
+
search?: string | undefined;
|
|
56
|
+
enabled?: boolean | null | undefined;
|
|
57
|
+
model?: Array<string> | null | undefined;
|
|
43
58
|
};
|
|
44
59
|
|
|
45
60
|
/** @internal */
|
|
@@ -52,6 +67,9 @@ export const RoutingRuleListRequest$outboundSchema: z.ZodType<
|
|
|
52
67
|
startingAfter: z.string().optional(),
|
|
53
68
|
endingBefore: z.string().optional(),
|
|
54
69
|
projectId: z.string().optional(),
|
|
70
|
+
search: z.string().optional(),
|
|
71
|
+
enabled: z.nullable(z.boolean()).optional(),
|
|
72
|
+
model: z.nullable(z.array(z.string())).optional(),
|
|
55
73
|
}).transform((v) => {
|
|
56
74
|
return remap$(v, {
|
|
57
75
|
startingAfter: "starting_after",
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Used models retrieved successfully
|
|
12
|
+
*/
|
|
13
|
+
export type RoutingRuleListUsedModelsResponseBody = {
|
|
14
|
+
models: Array<string> | null;
|
|
15
|
+
object: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const RoutingRuleListUsedModelsResponseBody$inboundSchema: z.ZodType<
|
|
20
|
+
RoutingRuleListUsedModelsResponseBody,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
models: z.nullable(z.array(z.string())),
|
|
25
|
+
object: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function routingRuleListUsedModelsResponseBodyFromJSON(
|
|
29
|
+
jsonString: string,
|
|
30
|
+
): SafeParseResult<RoutingRuleListUsedModelsResponseBody, SDKValidationError> {
|
|
31
|
+
return safeParse(
|
|
32
|
+
jsonString,
|
|
33
|
+
(x) =>
|
|
34
|
+
RoutingRuleListUsedModelsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'RoutingRuleListUsedModelsResponseBody' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3626
3626
|
z.ZodTypeDef,
|
|
3627
3627
|
Tools
|
|
3628
3628
|
> = z.object({
|
|
3629
|
-
id: z.string().default("
|
|
3629
|
+
id: z.string().default("01KTJVKQE8RPRXWZQK8846QBAA"),
|
|
3630
3630
|
name: z.string(),
|
|
3631
3631
|
description: z.string().optional(),
|
|
3632
3632
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KTJVKQFR2AE5FZ0GKDGV6G7B"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-08T05:34:42.580Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-08T05:34:42.580Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-08T05:34:42.579Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-08T05:34:18.893Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
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-08T05:34:18.893Z",
|
|
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("01KTJVKQSP7EKB2Z7YAD59WSZ1"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1550,8 +1550,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1550
1550
|
> = z.object({
|
|
1551
1551
|
_id: z.string(),
|
|
1552
1552
|
description: z.string(),
|
|
1553
|
-
created: z.string().default("2026-06-
|
|
1554
|
-
updated: z.string().default("2026-06-
|
|
1553
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
1554
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
1555
1555
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1556
1556
|
guardrail_config: z.nullable(
|
|
1557
1557
|
z.union([
|
|
@@ -1746,8 +1746,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1746
1746
|
> = z.object({
|
|
1747
1747
|
_id: z.string(),
|
|
1748
1748
|
description: z.string(),
|
|
1749
|
-
created: z.string().default("2026-06-
|
|
1750
|
-
updated: z.string().default("2026-06-
|
|
1749
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
1750
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
1751
1751
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1752
1752
|
guardrail_config: z.nullable(
|
|
1753
1753
|
z.union([
|
|
@@ -2605,8 +2605,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2605
2605
|
> = z.object({
|
|
2606
2606
|
_id: z.string(),
|
|
2607
2607
|
description: z.string(),
|
|
2608
|
-
created: z.string().default("2026-06-
|
|
2609
|
-
updated: z.string().default("2026-06-
|
|
2608
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2609
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2610
2610
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2611
2611
|
guardrail_config: z.nullable(
|
|
2612
2612
|
z.union([
|
|
@@ -2824,8 +2824,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2824
2824
|
> = z.object({
|
|
2825
2825
|
_id: z.string(),
|
|
2826
2826
|
description: z.string(),
|
|
2827
|
-
created: z.string().default("2026-06-
|
|
2828
|
-
updated: z.string().default("2026-06-
|
|
2827
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2828
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2829
2829
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2830
2830
|
guardrail_config: z.nullable(
|
|
2831
2831
|
z.union([
|
|
@@ -2993,8 +2993,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2993
2993
|
> = z.object({
|
|
2994
2994
|
_id: z.string(),
|
|
2995
2995
|
description: z.string(),
|
|
2996
|
-
created: z.string().default("2026-06-
|
|
2997
|
-
updated: z.string().default("2026-06-
|
|
2996
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2997
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
2998
2998
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2999
2999
|
guardrail_config: z.nullable(
|
|
3000
3000
|
z.union([
|
|
@@ -3147,8 +3147,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3147
3147
|
> = z.object({
|
|
3148
3148
|
_id: z.string(),
|
|
3149
3149
|
description: z.string(),
|
|
3150
|
-
created: z.string().default("2026-06-
|
|
3151
|
-
updated: z.string().default("2026-06-
|
|
3150
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3151
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3152
3152
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3153
3153
|
guardrail_config: z.nullable(
|
|
3154
3154
|
z.union([
|
|
@@ -3510,8 +3510,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3510
3510
|
> = z.object({
|
|
3511
3511
|
_id: z.string(),
|
|
3512
3512
|
description: z.string(),
|
|
3513
|
-
created: z.string().default("2026-06-
|
|
3514
|
-
updated: z.string().default("2026-06-
|
|
3513
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3514
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3515
3515
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3516
3516
|
guardrail_config: z.nullable(
|
|
3517
3517
|
z.union([
|
|
@@ -3723,8 +3723,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3723
3723
|
> = z.object({
|
|
3724
3724
|
_id: z.string(),
|
|
3725
3725
|
description: z.string(),
|
|
3726
|
-
created: z.string().default("2026-06-
|
|
3727
|
-
updated: z.string().default("2026-06-
|
|
3726
|
+
created: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3727
|
+
updated: z.string().default("2026-06-08T05:34:20.335Z"),
|
|
3728
3728
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3729
3729
|
guardrail_config: z.nullable(
|
|
3730
3730
|
z.union([
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KTJVKQNKGA9HYZKGXCFK2M1S"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KTJVKQNCCVN62XTWPDMH7JBX"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KTJVKQNB19P9RGJE38GNKSAD"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KTJVKQNAH61D9VWP412YST5T"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KTJVKQN7TX0644EGWA6JR12K"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KTJVKQN5VG6YCDBT6G9XJGAS"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KTJVKQN4P45W4K3S226TZM0S"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
@@ -6,7 +6,7 @@ import { agentsCreate } from "../funcs/agentsCreate.js";
|
|
|
6
6
|
import { agentsDelete } from "../funcs/agentsDelete.js";
|
|
7
7
|
import { agentsInvoke } from "../funcs/agentsInvoke.js";
|
|
8
8
|
import { agentsList } from "../funcs/agentsList.js";
|
|
9
|
-
import {
|
|
9
|
+
import { agentsRefreshKeyCard } from "../funcs/agentsRefreshKeyCard.js";
|
|
10
10
|
import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
|
|
11
11
|
import { agentsRun } from "../funcs/agentsRun.js";
|
|
12
12
|
import { agentsStream } from "../funcs/agentsStream.js";
|
|
@@ -203,11 +203,11 @@ export class Agents extends ClientSDK {
|
|
|
203
203
|
* @remarks
|
|
204
204
|
* Fetches the latest agent card from the external A2A agent and updates the cached card in the database. Similar to MCP server refresh functionality.
|
|
205
205
|
*/
|
|
206
|
-
async
|
|
206
|
+
async refreshKeyCard(
|
|
207
207
|
request: operations.PostV2AgentsKeyCardRefreshRequest,
|
|
208
208
|
options?: RequestOptions,
|
|
209
209
|
): Promise<operations.PostV2AgentsKeyCardRefreshResponseBody> {
|
|
210
|
-
return unwrapAsync(
|
|
210
|
+
return unwrapAsync(agentsRefreshKeyCard(
|
|
211
211
|
this,
|
|
212
212
|
request,
|
|
213
213
|
options,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { evalsAll } from "../funcs/evalsAll.js";
|
|
6
6
|
import { evalsCreate } from "../funcs/evalsCreate.js";
|
|
7
7
|
import { evalsDelete } from "../funcs/evalsDelete.js";
|
|
8
|
-
import { evalsGetV2EvaluatorsIdVersions } from "../funcs/evalsGetV2EvaluatorsIdVersions.js";
|
|
9
8
|
import { evalsInvoke } from "../funcs/evalsInvoke.js";
|
|
9
|
+
import { evalsListVersions } from "../funcs/evalsListVersions.js";
|
|
10
10
|
import { evalsUpdate } from "../funcs/evalsUpdate.js";
|
|
11
11
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
@@ -89,11 +89,11 @@ export class Evals extends ClientSDK {
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* Returns version history for a specific evaluator
|
|
91
91
|
*/
|
|
92
|
-
async
|
|
92
|
+
async listVersions(
|
|
93
93
|
request: operations.GetV2EvaluatorsIdVersionsRequest,
|
|
94
94
|
options?: RequestOptions,
|
|
95
95
|
): Promise<operations.GetV2EvaluatorsIdVersionsResponseBody> {
|
|
96
|
-
return unwrapAsync(
|
|
96
|
+
return unwrapAsync(evalsListVersions(
|
|
97
97
|
this,
|
|
98
98
|
request,
|
|
99
99
|
options,
|
|
@@ -2,29 +2,59 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { feedbackCreate } from "../funcs/feedbackCreate.js";
|
|
6
|
+
import { feedbackCreateEvaluation } from "../funcs/feedbackCreateEvaluation.js";
|
|
7
|
+
import { feedbackRemove } from "../funcs/feedbackRemove.js";
|
|
8
|
+
import { feedbackRemoveEvaluation } from "../funcs/feedbackRemoveEvaluation.js";
|
|
7
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
10
|
import * as operations from "../models/operations/index.js";
|
|
9
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
12
|
|
|
11
13
|
export class Feedback extends ClientSDK {
|
|
12
|
-
async
|
|
14
|
+
async removeEvaluation(
|
|
15
|
+
request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): Promise<void> {
|
|
18
|
+
return unwrapAsync(feedbackRemoveEvaluation(
|
|
19
|
+
this,
|
|
20
|
+
request,
|
|
21
|
+
options,
|
|
22
|
+
));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async createEvaluation(
|
|
26
|
+
request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<void> {
|
|
29
|
+
return unwrapAsync(feedbackCreateEvaluation(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async remove(
|
|
13
37
|
request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
|
|
14
38
|
options?: RequestOptions,
|
|
15
39
|
): Promise<operations.PostV2FeedbackRemoveResponseBody> {
|
|
16
|
-
return unwrapAsync(
|
|
40
|
+
return unwrapAsync(feedbackRemove(
|
|
17
41
|
this,
|
|
18
42
|
request,
|
|
19
43
|
options,
|
|
20
44
|
));
|
|
21
45
|
}
|
|
22
46
|
|
|
23
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Create image edit
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Edit an Image
|
|
52
|
+
*/
|
|
53
|
+
async create(
|
|
24
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
25
55
|
options?: RequestOptions,
|
|
26
56
|
): Promise<operations.PostV2FeedbackResponseBody> {
|
|
27
|
-
return unwrapAsync(
|
|
57
|
+
return unwrapAsync(feedbackCreate(
|
|
28
58
|
this,
|
|
29
59
|
request,
|
|
30
60
|
options,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { guardrailRulesCreate } from "../funcs/guardrailRulesCreate.js";
|
|
6
6
|
import { guardrailRulesDelete } from "../funcs/guardrailRulesDelete.js";
|
|
7
7
|
import { guardrailRulesList } from "../funcs/guardrailRulesList.js";
|
|
8
|
+
import { guardrailRulesListUsedGuardrails } from "../funcs/guardrailRulesListUsedGuardrails.js";
|
|
8
9
|
import { guardrailRulesRetrieve } from "../funcs/guardrailRulesRetrieve.js";
|
|
9
10
|
import { guardrailRulesUpdate } from "../funcs/guardrailRulesUpdate.js";
|
|
10
11
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -46,6 +47,21 @@ export class GuardrailRules extends ClientSDK {
|
|
|
46
47
|
));
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
/**
|
|
51
|
+
* List used guardrails
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Returns the distinct guardrail ids referenced across all guardrail rules in scope.
|
|
55
|
+
*/
|
|
56
|
+
async listUsedGuardrails(
|
|
57
|
+
options?: RequestOptions,
|
|
58
|
+
): Promise<operations.GuardrailRuleListUsedGuardrailsResponseBody> {
|
|
59
|
+
return unwrapAsync(guardrailRulesListUsedGuardrails(
|
|
60
|
+
this,
|
|
61
|
+
options,
|
|
62
|
+
));
|
|
63
|
+
}
|
|
64
|
+
|
|
49
65
|
/**
|
|
50
66
|
* Delete guardrail rule
|
|
51
67
|
*
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { humanReviewSetsCreate } from "../funcs/humanReviewSetsCreate.js";
|
|
6
|
+
import { humanReviewSetsDelete } from "../funcs/humanReviewSetsDelete.js";
|
|
7
|
+
import { humanReviewSetsGet } from "../funcs/humanReviewSetsGet.js";
|
|
8
|
+
import { humanReviewSetsList } from "../funcs/humanReviewSetsList.js";
|
|
9
|
+
import { humanReviewSetsUpdate } from "../funcs/humanReviewSetsUpdate.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
11
|
import * as operations from "../models/operations/index.js";
|
|
12
12
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -15,11 +15,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
15
15
|
/**
|
|
16
16
|
* Get all human review sets
|
|
17
17
|
*/
|
|
18
|
-
async
|
|
18
|
+
async list(
|
|
19
19
|
request?: operations.GetV2HumanEvalSetsRequest | undefined,
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): Promise<Array<operations.GetV2HumanEvalSetsResponseBody>> {
|
|
22
|
-
return unwrapAsync(
|
|
22
|
+
return unwrapAsync(humanReviewSetsList(
|
|
23
23
|
this,
|
|
24
24
|
request,
|
|
25
25
|
options,
|
|
@@ -29,11 +29,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
29
29
|
/**
|
|
30
30
|
* Create a human review set
|
|
31
31
|
*/
|
|
32
|
-
async
|
|
32
|
+
async create(
|
|
33
33
|
request?: operations.PostV2HumanEvalSetsRequestBody | undefined,
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): Promise<operations.PostV2HumanEvalSetsResponseBody> {
|
|
36
|
-
return unwrapAsync(
|
|
36
|
+
return unwrapAsync(humanReviewSetsCreate(
|
|
37
37
|
this,
|
|
38
38
|
request,
|
|
39
39
|
options,
|
|
@@ -43,11 +43,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
43
43
|
/**
|
|
44
44
|
* Get a human review set by ID
|
|
45
45
|
*/
|
|
46
|
-
async
|
|
46
|
+
async get(
|
|
47
47
|
request: operations.GetV2HumanEvalSetsIdRequest,
|
|
48
48
|
options?: RequestOptions,
|
|
49
49
|
): Promise<operations.GetV2HumanEvalSetsIdResponseBody> {
|
|
50
|
-
return unwrapAsync(
|
|
50
|
+
return unwrapAsync(humanReviewSetsGet(
|
|
51
51
|
this,
|
|
52
52
|
request,
|
|
53
53
|
options,
|
|
@@ -57,11 +57,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
57
57
|
/**
|
|
58
58
|
* Update a human review set
|
|
59
59
|
*/
|
|
60
|
-
async
|
|
60
|
+
async update(
|
|
61
61
|
request: operations.PatchV2HumanEvalSetsIdRequest,
|
|
62
62
|
options?: RequestOptions,
|
|
63
63
|
): Promise<operations.PatchV2HumanEvalSetsIdResponseBody> {
|
|
64
|
-
return unwrapAsync(
|
|
64
|
+
return unwrapAsync(humanReviewSetsUpdate(
|
|
65
65
|
this,
|
|
66
66
|
request,
|
|
67
67
|
options,
|
|
@@ -71,11 +71,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
71
71
|
/**
|
|
72
72
|
* Delete a human review set
|
|
73
73
|
*/
|
|
74
|
-
async
|
|
74
|
+
async delete(
|
|
75
75
|
request: operations.DeleteV2HumanEvalSetsIdRequest,
|
|
76
76
|
options?: RequestOptions,
|
|
77
77
|
): Promise<void> {
|
|
78
|
-
return unwrapAsync(
|
|
78
|
+
return unwrapAsync(humanReviewSetsDelete(
|
|
79
79
|
this,
|
|
80
80
|
request,
|
|
81
81
|
options,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { routingRulesCreate } from "../funcs/routingRulesCreate.js";
|
|
6
6
|
import { routingRulesDelete } from "../funcs/routingRulesDelete.js";
|
|
7
7
|
import { routingRulesList } from "../funcs/routingRulesList.js";
|
|
8
|
+
import { routingRulesListUsedModels } from "../funcs/routingRulesListUsedModels.js";
|
|
8
9
|
import { routingRulesRetrieve } from "../funcs/routingRulesRetrieve.js";
|
|
9
10
|
import { routingRulesUpdate } from "../funcs/routingRulesUpdate.js";
|
|
10
11
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -46,6 +47,21 @@ export class RoutingRules extends ClientSDK {
|
|
|
46
47
|
));
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
/**
|
|
51
|
+
* List used models
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Returns the distinct model refs referenced across all routing rules in scope.
|
|
55
|
+
*/
|
|
56
|
+
async listUsedModels(
|
|
57
|
+
options?: RequestOptions,
|
|
58
|
+
): Promise<operations.RoutingRuleListUsedModelsResponseBody> {
|
|
59
|
+
return unwrapAsync(routingRulesListUsedModels(
|
|
60
|
+
this,
|
|
61
|
+
options,
|
|
62
|
+
));
|
|
63
|
+
}
|
|
64
|
+
|
|
49
65
|
/**
|
|
50
66
|
* Delete routing rule
|
|
51
67
|
*
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { postV2FeedbackEvaluationRemove } from "../funcs/postV2FeedbackEvaluationRemove.js";
|
|
7
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
5
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
10
6
|
import { Agents } from "./agents.js";
|
|
11
7
|
import { Annotations } from "./annotations.js";
|
|
12
8
|
import { ApiKeys } from "./apikeys.js";
|
|
@@ -164,26 +160,4 @@ export class Orq extends ClientSDK {
|
|
|
164
160
|
get reporting(): Reporting {
|
|
165
161
|
return (this._reporting ??= new Reporting(this._options));
|
|
166
162
|
}
|
|
167
|
-
|
|
168
|
-
async postV2FeedbackEvaluationRemove(
|
|
169
|
-
request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
|
|
170
|
-
options?: RequestOptions,
|
|
171
|
-
): Promise<void> {
|
|
172
|
-
return unwrapAsync(postV2FeedbackEvaluationRemove(
|
|
173
|
-
this,
|
|
174
|
-
request,
|
|
175
|
-
options,
|
|
176
|
-
));
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
async postV2FeedbackEvaluation(
|
|
180
|
-
request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
|
|
181
|
-
options?: RequestOptions,
|
|
182
|
-
): Promise<void> {
|
|
183
|
-
return unwrapAsync(postV2FeedbackEvaluation(
|
|
184
|
-
this,
|
|
185
|
-
request,
|
|
186
|
-
options,
|
|
187
|
-
));
|
|
188
|
-
}
|
|
189
163
|
}
|