@orq-ai/node 4.11.7 → 4.11.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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +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.js +3 -3
- 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/updatetool.js +7 -7
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/notifiersList.ts +2 -0
- package/packages/orq-rc/src/funcs/reportingQuery.ts +3 -1
- package/packages/orq-rc/src/funcs/telemetryQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +3 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/apikey.ts +6 -0
- package/packages/orq-rc/src/models/components/budget.ts +6 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +92 -0
- package/packages/orq-rc/src/models/components/budgetalertdimension.ts +22 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +14 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/identity.ts +6 -0
- package/packages/orq-rc/src/models/components/index.ts +6 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +1 -0
- package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +38 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +85 -0
- package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +42 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/telemetryrow.ts +42 -0
- package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +21 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +4 -0
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +237 -19
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +4 -0
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +19 -26
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +3 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +3 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +3 -0
- 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/listagents.ts +2 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +313 -84
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +3 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +13 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +119 -11
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +2 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +234 -9
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +3 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -1
- package/packages/orq-rc/src/models/operations/updateagent.ts +4 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +229 -9
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +4 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +6 -0
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +4 -1
- package/packages/orq-rc/src/sdk/reporting.ts +3 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/telemetry.ts +27 -0
- package/packages/orq-rc/src/sdk/traces.ts +3 -1
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +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 +3 -3
- 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/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
|
@@ -746,6 +746,119 @@ export type CreateDatasetItemDatasetsMessages =
|
|
|
746
746
|
| CreateDatasetItemMessagesDatasetsAssistantMessage
|
|
747
747
|
| CreateDatasetItemMessagesDatasetsToolMessage;
|
|
748
748
|
|
|
749
|
+
/**
|
|
750
|
+
* The type of evaluation
|
|
751
|
+
*/
|
|
752
|
+
export const CreateDatasetItemEvaluationsDatasetsEvaluationType = {
|
|
753
|
+
HumanReview: "human_review",
|
|
754
|
+
} as const;
|
|
755
|
+
/**
|
|
756
|
+
* The type of evaluation
|
|
757
|
+
*/
|
|
758
|
+
export type CreateDatasetItemEvaluationsDatasetsEvaluationType = ClosedEnum<
|
|
759
|
+
typeof CreateDatasetItemEvaluationsDatasetsEvaluationType
|
|
760
|
+
>;
|
|
761
|
+
|
|
762
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseSource = {
|
|
763
|
+
Orq: "orq",
|
|
764
|
+
External: "external",
|
|
765
|
+
} as const;
|
|
766
|
+
export type CreateDatasetItemEvaluationsDatasetsResponseSource = ClosedEnum<
|
|
767
|
+
typeof CreateDatasetItemEvaluationsDatasetsResponseSource
|
|
768
|
+
>;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* The kind of annotator that produced the evaluation
|
|
772
|
+
*/
|
|
773
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseKind = {
|
|
774
|
+
Llm: "llm",
|
|
775
|
+
Code: "code",
|
|
776
|
+
Human: "human",
|
|
777
|
+
Automation: "automation",
|
|
778
|
+
} as const;
|
|
779
|
+
/**
|
|
780
|
+
* The kind of annotator that produced the evaluation
|
|
781
|
+
*/
|
|
782
|
+
export type CreateDatasetItemEvaluationsDatasetsResponseKind = ClosedEnum<
|
|
783
|
+
typeof CreateDatasetItemEvaluationsDatasetsResponseKind
|
|
784
|
+
>;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
788
|
+
*/
|
|
789
|
+
export type CreateDatasetItemEvaluationsDatasetsAnnotator = {
|
|
790
|
+
/**
|
|
791
|
+
* The kind of annotator that produced the evaluation
|
|
792
|
+
*/
|
|
793
|
+
kind: CreateDatasetItemEvaluationsDatasetsResponseKind;
|
|
794
|
+
/**
|
|
795
|
+
* Who/what produced this annotation. User/contact id for human, evaluator eval span id for llm/code, automation rule id for automation.
|
|
796
|
+
*/
|
|
797
|
+
actorId: string;
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
802
|
+
*/
|
|
803
|
+
export const CreateDatasetItemEvaluationsDatasetsOutputSchema = {
|
|
804
|
+
Boolean: "boolean",
|
|
805
|
+
Number: "number",
|
|
806
|
+
Categorical: "categorical",
|
|
807
|
+
String: "string",
|
|
808
|
+
} as const;
|
|
809
|
+
/**
|
|
810
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
811
|
+
*/
|
|
812
|
+
export type CreateDatasetItemEvaluationsDatasetsOutputSchema = ClosedEnum<
|
|
813
|
+
typeof CreateDatasetItemEvaluationsDatasetsOutputSchema
|
|
814
|
+
>;
|
|
815
|
+
|
|
816
|
+
export type Evaluations4 = {
|
|
817
|
+
/**
|
|
818
|
+
* The unique identifier of the human evaluation
|
|
819
|
+
*/
|
|
820
|
+
id: string;
|
|
821
|
+
/**
|
|
822
|
+
* The type of evaluation
|
|
823
|
+
*/
|
|
824
|
+
evaluationType: CreateDatasetItemEvaluationsDatasetsEvaluationType;
|
|
825
|
+
/**
|
|
826
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
827
|
+
*/
|
|
828
|
+
humanReviewId?: string | undefined;
|
|
829
|
+
source: CreateDatasetItemEvaluationsDatasetsResponseSource;
|
|
830
|
+
/**
|
|
831
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
832
|
+
*/
|
|
833
|
+
annotator?: CreateDatasetItemEvaluationsDatasetsAnnotator | undefined;
|
|
834
|
+
/**
|
|
835
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
836
|
+
*/
|
|
837
|
+
outputSchema?: CreateDatasetItemEvaluationsDatasetsOutputSchema | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* When present, references the id of the annotation this entry corrects. Presence of this field marks the entry as a correction.
|
|
840
|
+
*/
|
|
841
|
+
parentAnnotationId?: string | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* Optional free-text explanation of the value
|
|
844
|
+
*/
|
|
845
|
+
explanation?: string | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* Deprecated: use annotator.actor_id. The unique identifier of the user who reviewed the item.
|
|
848
|
+
*
|
|
849
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
850
|
+
*/
|
|
851
|
+
reviewedById: string;
|
|
852
|
+
/**
|
|
853
|
+
* Deprecated. The date and time the item was reviewed
|
|
854
|
+
*
|
|
855
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
856
|
+
*/
|
|
857
|
+
reviewedAt: Date;
|
|
858
|
+
type: "string_array";
|
|
859
|
+
values: Array<string>;
|
|
860
|
+
};
|
|
861
|
+
|
|
749
862
|
/**
|
|
750
863
|
* The type of evaluation
|
|
751
864
|
*/
|
|
@@ -855,8 +968,8 @@ export type Evaluations3 = {
|
|
|
855
968
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
856
969
|
*/
|
|
857
970
|
reviewedAt: Date;
|
|
858
|
-
type: "
|
|
859
|
-
|
|
971
|
+
type: "boolean";
|
|
972
|
+
value: boolean;
|
|
860
973
|
};
|
|
861
974
|
|
|
862
975
|
/**
|
|
@@ -975,15 +1088,14 @@ export type Evaluations2 = {
|
|
|
975
1088
|
/**
|
|
976
1089
|
* The type of evaluation
|
|
977
1090
|
*/
|
|
978
|
-
export const
|
|
1091
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseEvaluationType = {
|
|
979
1092
|
HumanReview: "human_review",
|
|
980
1093
|
} as const;
|
|
981
1094
|
/**
|
|
982
1095
|
* The type of evaluation
|
|
983
1096
|
*/
|
|
984
|
-
export type
|
|
985
|
-
typeof
|
|
986
|
-
>;
|
|
1097
|
+
export type CreateDatasetItemEvaluationsDatasetsResponseEvaluationType =
|
|
1098
|
+
ClosedEnum<typeof CreateDatasetItemEvaluationsDatasetsResponseEvaluationType>;
|
|
987
1099
|
|
|
988
1100
|
export const EvaluationsSource = {
|
|
989
1101
|
Orq: "orq",
|
|
@@ -1041,7 +1153,7 @@ export type Evaluations1 = {
|
|
|
1041
1153
|
/**
|
|
1042
1154
|
* The type of evaluation
|
|
1043
1155
|
*/
|
|
1044
|
-
evaluationType:
|
|
1156
|
+
evaluationType: CreateDatasetItemEvaluationsDatasetsResponseEvaluationType;
|
|
1045
1157
|
/**
|
|
1046
1158
|
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
1047
1159
|
*/
|
|
@@ -1079,7 +1191,11 @@ export type Evaluations1 = {
|
|
|
1079
1191
|
value: string;
|
|
1080
1192
|
};
|
|
1081
1193
|
|
|
1082
|
-
export type Evaluations =
|
|
1194
|
+
export type Evaluations =
|
|
1195
|
+
| Evaluations1
|
|
1196
|
+
| Evaluations2
|
|
1197
|
+
| Evaluations3
|
|
1198
|
+
| Evaluations4;
|
|
1083
1199
|
|
|
1084
1200
|
export type CreateDatasetItemResponseBody = {
|
|
1085
1201
|
/**
|
|
@@ -1110,7 +1226,9 @@ export type CreateDatasetItemResponseBody = {
|
|
|
1110
1226
|
/**
|
|
1111
1227
|
* Evaluations associated with the datapoint
|
|
1112
1228
|
*/
|
|
1113
|
-
evaluations?:
|
|
1229
|
+
evaluations?:
|
|
1230
|
+
| Array<Evaluations1 | Evaluations2 | Evaluations3 | Evaluations4>
|
|
1231
|
+
| undefined;
|
|
1114
1232
|
/**
|
|
1115
1233
|
* The unique identifier of the dataset
|
|
1116
1234
|
*/
|
|
@@ -2542,6 +2660,103 @@ export function createDatasetItemDatasetsMessagesFromJSON(
|
|
|
2542
2660
|
);
|
|
2543
2661
|
}
|
|
2544
2662
|
|
|
2663
|
+
/** @internal */
|
|
2664
|
+
export const CreateDatasetItemEvaluationsDatasetsEvaluationType$inboundSchema:
|
|
2665
|
+
z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsEvaluationType> = z
|
|
2666
|
+
.nativeEnum(CreateDatasetItemEvaluationsDatasetsEvaluationType);
|
|
2667
|
+
|
|
2668
|
+
/** @internal */
|
|
2669
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseSource$inboundSchema:
|
|
2670
|
+
z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsResponseSource> = z
|
|
2671
|
+
.nativeEnum(CreateDatasetItemEvaluationsDatasetsResponseSource);
|
|
2672
|
+
|
|
2673
|
+
/** @internal */
|
|
2674
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseKind$inboundSchema:
|
|
2675
|
+
z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsResponseKind> = z
|
|
2676
|
+
.nativeEnum(CreateDatasetItemEvaluationsDatasetsResponseKind);
|
|
2677
|
+
|
|
2678
|
+
/** @internal */
|
|
2679
|
+
export const CreateDatasetItemEvaluationsDatasetsAnnotator$inboundSchema:
|
|
2680
|
+
z.ZodType<
|
|
2681
|
+
CreateDatasetItemEvaluationsDatasetsAnnotator,
|
|
2682
|
+
z.ZodTypeDef,
|
|
2683
|
+
unknown
|
|
2684
|
+
> = z.object({
|
|
2685
|
+
kind: CreateDatasetItemEvaluationsDatasetsResponseKind$inboundSchema,
|
|
2686
|
+
actor_id: z.string(),
|
|
2687
|
+
}).transform((v) => {
|
|
2688
|
+
return remap$(v, {
|
|
2689
|
+
"actor_id": "actorId",
|
|
2690
|
+
});
|
|
2691
|
+
});
|
|
2692
|
+
|
|
2693
|
+
export function createDatasetItemEvaluationsDatasetsAnnotatorFromJSON(
|
|
2694
|
+
jsonString: string,
|
|
2695
|
+
): SafeParseResult<
|
|
2696
|
+
CreateDatasetItemEvaluationsDatasetsAnnotator,
|
|
2697
|
+
SDKValidationError
|
|
2698
|
+
> {
|
|
2699
|
+
return safeParse(
|
|
2700
|
+
jsonString,
|
|
2701
|
+
(x) =>
|
|
2702
|
+
CreateDatasetItemEvaluationsDatasetsAnnotator$inboundSchema.parse(
|
|
2703
|
+
JSON.parse(x),
|
|
2704
|
+
),
|
|
2705
|
+
`Failed to parse 'CreateDatasetItemEvaluationsDatasetsAnnotator' from JSON`,
|
|
2706
|
+
);
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/** @internal */
|
|
2710
|
+
export const CreateDatasetItemEvaluationsDatasetsOutputSchema$inboundSchema:
|
|
2711
|
+
z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsDatasetsOutputSchema> = z
|
|
2712
|
+
.nativeEnum(CreateDatasetItemEvaluationsDatasetsOutputSchema);
|
|
2713
|
+
|
|
2714
|
+
/** @internal */
|
|
2715
|
+
export const Evaluations4$inboundSchema: z.ZodType<
|
|
2716
|
+
Evaluations4,
|
|
2717
|
+
z.ZodTypeDef,
|
|
2718
|
+
unknown
|
|
2719
|
+
> = z.object({
|
|
2720
|
+
id: z.string(),
|
|
2721
|
+
evaluation_type:
|
|
2722
|
+
CreateDatasetItemEvaluationsDatasetsEvaluationType$inboundSchema,
|
|
2723
|
+
human_review_id: z.string().optional(),
|
|
2724
|
+
source: CreateDatasetItemEvaluationsDatasetsResponseSource$inboundSchema
|
|
2725
|
+
.default("orq"),
|
|
2726
|
+
annotator: z.lazy(() =>
|
|
2727
|
+
CreateDatasetItemEvaluationsDatasetsAnnotator$inboundSchema
|
|
2728
|
+
).optional(),
|
|
2729
|
+
output_schema: CreateDatasetItemEvaluationsDatasetsOutputSchema$inboundSchema
|
|
2730
|
+
.optional(),
|
|
2731
|
+
parent_annotation_id: z.string().optional(),
|
|
2732
|
+
explanation: z.string().optional(),
|
|
2733
|
+
reviewed_by_id: z.string(),
|
|
2734
|
+
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2735
|
+
"2026-07-16T11:02:38.202Z",
|
|
2736
|
+
).transform(v => new Date(v)),
|
|
2737
|
+
type: z.literal("string_array"),
|
|
2738
|
+
values: z.array(z.string()),
|
|
2739
|
+
}).transform((v) => {
|
|
2740
|
+
return remap$(v, {
|
|
2741
|
+
"evaluation_type": "evaluationType",
|
|
2742
|
+
"human_review_id": "humanReviewId",
|
|
2743
|
+
"output_schema": "outputSchema",
|
|
2744
|
+
"parent_annotation_id": "parentAnnotationId",
|
|
2745
|
+
"reviewed_by_id": "reviewedById",
|
|
2746
|
+
"reviewed_at": "reviewedAt",
|
|
2747
|
+
});
|
|
2748
|
+
});
|
|
2749
|
+
|
|
2750
|
+
export function evaluations4FromJSON(
|
|
2751
|
+
jsonString: string,
|
|
2752
|
+
): SafeParseResult<Evaluations4, SDKValidationError> {
|
|
2753
|
+
return safeParse(
|
|
2754
|
+
jsonString,
|
|
2755
|
+
(x) => Evaluations4$inboundSchema.parse(JSON.parse(x)),
|
|
2756
|
+
`Failed to parse 'Evaluations4' from JSON`,
|
|
2757
|
+
);
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2545
2760
|
/** @internal */
|
|
2546
2761
|
export const CreateDatasetItemEvaluationsEvaluationType$inboundSchema:
|
|
2547
2762
|
z.ZodNativeEnum<typeof CreateDatasetItemEvaluationsEvaluationType> = z
|
|
@@ -2607,10 +2822,10 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2607
2822
|
explanation: z.string().optional(),
|
|
2608
2823
|
reviewed_by_id: z.string(),
|
|
2609
2824
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2610
|
-
"2026-07-
|
|
2825
|
+
"2026-07-16T11:02:38.201Z",
|
|
2611
2826
|
).transform(v => new Date(v)),
|
|
2612
|
-
type: z.literal("
|
|
2613
|
-
|
|
2827
|
+
type: z.literal("boolean"),
|
|
2828
|
+
value: z.boolean(),
|
|
2614
2829
|
}).transform((v) => {
|
|
2615
2830
|
return remap$(v, {
|
|
2616
2831
|
"evaluation_type": "evaluationType",
|
|
@@ -2692,7 +2907,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2692
2907
|
explanation: z.string().optional(),
|
|
2693
2908
|
reviewed_by_id: z.string(),
|
|
2694
2909
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2695
|
-
"2026-07-
|
|
2910
|
+
"2026-07-16T11:02:38.200Z",
|
|
2696
2911
|
).transform(v => new Date(v)),
|
|
2697
2912
|
type: z.literal("number"),
|
|
2698
2913
|
value: z.number(),
|
|
@@ -2718,9 +2933,10 @@ export function evaluations2FromJSON(
|
|
|
2718
2933
|
}
|
|
2719
2934
|
|
|
2720
2935
|
/** @internal */
|
|
2721
|
-
export const
|
|
2722
|
-
z.ZodNativeEnum<
|
|
2723
|
-
|
|
2936
|
+
export const CreateDatasetItemEvaluationsDatasetsResponseEvaluationType$inboundSchema:
|
|
2937
|
+
z.ZodNativeEnum<
|
|
2938
|
+
typeof CreateDatasetItemEvaluationsDatasetsResponseEvaluationType
|
|
2939
|
+
> = z.nativeEnum(CreateDatasetItemEvaluationsDatasetsResponseEvaluationType);
|
|
2724
2940
|
|
|
2725
2941
|
/** @internal */
|
|
2726
2942
|
export const EvaluationsSource$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2768,7 +2984,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2768
2984
|
> = z.object({
|
|
2769
2985
|
id: z.string(),
|
|
2770
2986
|
evaluation_type:
|
|
2771
|
-
|
|
2987
|
+
CreateDatasetItemEvaluationsDatasetsResponseEvaluationType$inboundSchema,
|
|
2772
2988
|
human_review_id: z.string().optional(),
|
|
2773
2989
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2774
2990
|
annotator: z.lazy(() => Annotator$inboundSchema).optional(),
|
|
@@ -2777,7 +2993,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2777
2993
|
explanation: z.string().optional(),
|
|
2778
2994
|
reviewed_by_id: z.string(),
|
|
2779
2995
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2780
|
-
"2026-07-
|
|
2996
|
+
"2026-07-16T11:02:38.199Z",
|
|
2781
2997
|
).transform(v => new Date(v)),
|
|
2782
2998
|
type: z.literal("string"),
|
|
2783
2999
|
value: z.string(),
|
|
@@ -2811,6 +3027,7 @@ export const Evaluations$inboundSchema: z.ZodType<
|
|
|
2811
3027
|
z.lazy(() => Evaluations1$inboundSchema),
|
|
2812
3028
|
z.lazy(() => Evaluations2$inboundSchema),
|
|
2813
3029
|
z.lazy(() => Evaluations3$inboundSchema),
|
|
3030
|
+
z.lazy(() => Evaluations4$inboundSchema),
|
|
2814
3031
|
]);
|
|
2815
3032
|
|
|
2816
3033
|
export function evaluationsFromJSON(
|
|
@@ -2853,6 +3070,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2853
3070
|
z.lazy(() => Evaluations1$inboundSchema),
|
|
2854
3071
|
z.lazy(() => Evaluations2$inboundSchema),
|
|
2855
3072
|
z.lazy(() => Evaluations3$inboundSchema),
|
|
3073
|
+
z.lazy(() => Evaluations4$inboundSchema),
|
|
2856
3074
|
]),
|
|
2857
3075
|
).optional(),
|
|
2858
3076
|
dataset_id: z.string(),
|
|
@@ -2862,7 +3080,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2862
3080
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2863
3081
|
.optional(),
|
|
2864
3082
|
updated: z.string().datetime({ offset: true }).default(
|
|
2865
|
-
"2026-07-
|
|
3083
|
+
"2026-07-16T11:02:21.951Z",
|
|
2866
3084
|
).transform(v => new Date(v)),
|
|
2867
3085
|
}).transform((v) => {
|
|
2868
3086
|
return remap$(v, {
|
|
@@ -412,7 +412,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
412
412
|
z.ZodTypeDef,
|
|
413
413
|
unknown
|
|
414
414
|
> = z.object({
|
|
415
|
-
_id: z.string().default("
|
|
415
|
+
_id: z.string().default("01KXN9FG896EN3GC7NKGTFKC8A"),
|
|
416
416
|
display_name: z.string(),
|
|
417
417
|
description: z.nullable(z.string()).optional(),
|
|
418
418
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -602,6 +602,7 @@ export type CreatePromptModalities = ClosedEnum<typeof CreatePromptModalities>;
|
|
|
602
602
|
*/
|
|
603
603
|
export const CreatePromptId1 = {
|
|
604
604
|
OrqPiiDetection: "orq_pii_detection",
|
|
605
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
605
606
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
606
607
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
607
608
|
} as const;
|
|
@@ -1234,6 +1235,7 @@ export type CreatePromptVerbosity = ClosedEnum<typeof CreatePromptVerbosity>;
|
|
|
1234
1235
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1235
1236
|
*/
|
|
1236
1237
|
export const CreatePromptThinkingLevel = {
|
|
1238
|
+
Minimal: "minimal",
|
|
1237
1239
|
Low: "low",
|
|
1238
1240
|
Medium: "medium",
|
|
1239
1241
|
High: "high",
|
|
@@ -1382,6 +1384,7 @@ export const CreatePromptProvider = {
|
|
|
1382
1384
|
Wafer: "wafer",
|
|
1383
1385
|
Poolside: "poolside",
|
|
1384
1386
|
Tencent: "tencent",
|
|
1387
|
+
Nebius: "nebius",
|
|
1385
1388
|
Reson8: "reson8",
|
|
1386
1389
|
Slack: "slack",
|
|
1387
1390
|
Orq: "orq",
|
|
@@ -1762,6 +1765,7 @@ export type CreatePromptPromptsModalities = ClosedEnum<
|
|
|
1762
1765
|
*/
|
|
1763
1766
|
export const CreatePromptIdPrompts1 = {
|
|
1764
1767
|
OrqPiiDetection: "orq_pii_detection",
|
|
1768
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
1765
1769
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
1766
1770
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
1767
1771
|
} as const;
|
|
@@ -409,19 +409,26 @@ export const TemplateEngine = {
|
|
|
409
409
|
*/
|
|
410
410
|
export type TemplateEngine = ClosedEnum<typeof TemplateEngine>;
|
|
411
411
|
|
|
412
|
-
/**
|
|
413
|
-
* The JSON Schema the output must conform to.
|
|
414
|
-
*/
|
|
415
|
-
export type FormatSchema = {};
|
|
416
|
-
|
|
417
412
|
export type FormatJSONSchema = {
|
|
413
|
+
/**
|
|
414
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
415
|
+
*/
|
|
418
416
|
description?: string | undefined;
|
|
419
|
-
name?: string | undefined;
|
|
420
417
|
/**
|
|
421
|
-
* The
|
|
418
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
419
|
+
*/
|
|
420
|
+
name: string;
|
|
421
|
+
/**
|
|
422
|
+
* The schema for the response format, described as a JSON Schema object.
|
|
423
|
+
*/
|
|
424
|
+
schema: { [k: string]: any };
|
|
425
|
+
/**
|
|
426
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field.
|
|
422
427
|
*/
|
|
423
|
-
schema?: FormatSchema | undefined;
|
|
424
428
|
strict?: boolean | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* The type of response format being defined. Always `json_schema`.
|
|
431
|
+
*/
|
|
425
432
|
type: "json_schema";
|
|
426
433
|
};
|
|
427
434
|
|
|
@@ -1331,25 +1338,11 @@ export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
|
|
|
1331
1338
|
typeof TemplateEngine
|
|
1332
1339
|
> = z.nativeEnum(TemplateEngine);
|
|
1333
1340
|
|
|
1334
|
-
/** @internal */
|
|
1335
|
-
export type FormatSchema$Outbound = {};
|
|
1336
|
-
|
|
1337
|
-
/** @internal */
|
|
1338
|
-
export const FormatSchema$outboundSchema: z.ZodType<
|
|
1339
|
-
FormatSchema$Outbound,
|
|
1340
|
-
z.ZodTypeDef,
|
|
1341
|
-
FormatSchema
|
|
1342
|
-
> = z.object({});
|
|
1343
|
-
|
|
1344
|
-
export function formatSchemaToJSON(formatSchema: FormatSchema): string {
|
|
1345
|
-
return JSON.stringify(FormatSchema$outboundSchema.parse(formatSchema));
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
1341
|
/** @internal */
|
|
1349
1342
|
export type FormatJSONSchema$Outbound = {
|
|
1350
1343
|
description?: string | undefined;
|
|
1351
|
-
name
|
|
1352
|
-
schema
|
|
1344
|
+
name: string;
|
|
1345
|
+
schema: { [k: string]: any };
|
|
1353
1346
|
strict?: boolean | undefined;
|
|
1354
1347
|
type: "json_schema";
|
|
1355
1348
|
};
|
|
@@ -1361,8 +1354,8 @@ export const FormatJSONSchema$outboundSchema: z.ZodType<
|
|
|
1361
1354
|
FormatJSONSchema
|
|
1362
1355
|
> = z.object({
|
|
1363
1356
|
description: z.string().optional(),
|
|
1364
|
-
name: z.string()
|
|
1365
|
-
schema: z.
|
|
1357
|
+
name: z.string(),
|
|
1358
|
+
schema: z.record(z.any()),
|
|
1366
1359
|
strict: z.boolean().optional(),
|
|
1367
1360
|
type: z.literal("json_schema"),
|
|
1368
1361
|
});
|
|
@@ -1896,7 +1896,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1896
1896
|
z.ZodTypeDef,
|
|
1897
1897
|
unknown
|
|
1898
1898
|
> = z.object({
|
|
1899
|
-
_id: z.string().default("
|
|
1899
|
+
_id: z.string().default("tool_01KXN9FG3Q0ZSA1QNBVRK6R859"),
|
|
1900
1900
|
path: z.string(),
|
|
1901
1901
|
key: z.string(),
|
|
1902
1902
|
display_name: z.string().optional(),
|
|
@@ -1993,7 +1993,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1993
1993
|
z.ZodTypeDef,
|
|
1994
1994
|
unknown
|
|
1995
1995
|
> = z.object({
|
|
1996
|
-
id: z.string().default("
|
|
1996
|
+
id: z.string().default("01KXN9FG3PGT9RTXE0R7P58X6X"),
|
|
1997
1997
|
name: z.string(),
|
|
1998
1998
|
description: z.string().optional(),
|
|
1999
1999
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2049,7 +2049,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2049
2049
|
z.ZodTypeDef,
|
|
2050
2050
|
unknown
|
|
2051
2051
|
> = z.object({
|
|
2052
|
-
_id: z.string().default("
|
|
2052
|
+
_id: z.string().default("tool_01KXN9FG3NMP16F4HAPW65SRRB"),
|
|
2053
2053
|
path: z.string(),
|
|
2054
2054
|
key: z.string(),
|
|
2055
2055
|
display_name: z.string().optional(),
|
|
@@ -2235,7 +2235,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2235
2235
|
z.ZodTypeDef,
|
|
2236
2236
|
unknown
|
|
2237
2237
|
> = z.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2238
|
+
_id: z.string().default("tool_01KXN9FG3KA1ESPQWMN1VMM0RQ"),
|
|
2239
2239
|
path: z.string(),
|
|
2240
2240
|
key: z.string(),
|
|
2241
2241
|
display_name: z.string().optional(),
|
|
@@ -2328,7 +2328,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2328
2328
|
z.ZodTypeDef,
|
|
2329
2329
|
unknown
|
|
2330
2330
|
> = z.object({
|
|
2331
|
-
_id: z.string().default("
|
|
2331
|
+
_id: z.string().default("tool_01KXN9FG3HX9WHEEZN5Y1FJBJW"),
|
|
2332
2332
|
path: z.string(),
|
|
2333
2333
|
key: z.string(),
|
|
2334
2334
|
display_name: z.string().optional(),
|
|
@@ -2429,7 +2429,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2429
2429
|
z.ZodTypeDef,
|
|
2430
2430
|
unknown
|
|
2431
2431
|
> = z.object({
|
|
2432
|
-
_id: z.string().default("
|
|
2432
|
+
_id: z.string().default("tool_01KXN9FG3GQGYRZA9Y93RT26TN"),
|
|
2433
2433
|
path: z.string(),
|
|
2434
2434
|
key: z.string(),
|
|
2435
2435
|
display_name: z.string().optional(),
|
|
@@ -1491,6 +1491,7 @@ export type DeploymentGetConfigVerbosity = ClosedEnum<
|
|
|
1491
1491
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1492
1492
|
*/
|
|
1493
1493
|
export const ThinkingLevel = {
|
|
1494
|
+
Minimal: "minimal",
|
|
1494
1495
|
Low: "low",
|
|
1495
1496
|
Medium: "medium",
|
|
1496
1497
|
High: "high",
|
|
@@ -340,6 +340,7 @@ export type DeploymentsVerbosity = ClosedEnum<typeof DeploymentsVerbosity>;
|
|
|
340
340
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
341
341
|
*/
|
|
342
342
|
export const DeploymentsThinkingLevel = {
|
|
343
|
+
Minimal: "minimal",
|
|
343
344
|
Low: "low",
|
|
344
345
|
Medium: "medium",
|
|
345
346
|
High: "high",
|
|
@@ -488,6 +489,7 @@ export const DeploymentsProvider = {
|
|
|
488
489
|
Wafer: "wafer",
|
|
489
490
|
Poolside: "poolside",
|
|
490
491
|
Tencent: "tencent",
|
|
492
|
+
Nebius: "nebius",
|
|
491
493
|
Reson8: "reson8",
|
|
492
494
|
Slack: "slack",
|
|
493
495
|
Orq: "orq",
|
|
@@ -291,6 +291,7 @@ export type GetAllPromptsVerbosity = ClosedEnum<typeof GetAllPromptsVerbosity>;
|
|
|
291
291
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
292
292
|
*/
|
|
293
293
|
export const GetAllPromptsThinkingLevel = {
|
|
294
|
+
Minimal: "minimal",
|
|
294
295
|
Low: "low",
|
|
295
296
|
Medium: "medium",
|
|
296
297
|
High: "high",
|
|
@@ -439,6 +440,7 @@ export const GetAllPromptsProvider = {
|
|
|
439
440
|
Wafer: "wafer",
|
|
440
441
|
Poolside: "poolside",
|
|
441
442
|
Tencent: "tencent",
|
|
443
|
+
Nebius: "nebius",
|
|
442
444
|
Reson8: "reson8",
|
|
443
445
|
Slack: "slack",
|
|
444
446
|
Orq: "orq",
|
|
@@ -816,6 +818,7 @@ export type GetAllPromptsModalities = ClosedEnum<
|
|
|
816
818
|
*/
|
|
817
819
|
export const GetAllPromptsId1 = {
|
|
818
820
|
OrqPiiDetection: "orq_pii_detection",
|
|
821
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
819
822
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
820
823
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
821
824
|
} as const;
|
|
@@ -766,7 +766,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
766
766
|
z.ZodTypeDef,
|
|
767
767
|
unknown
|
|
768
768
|
> = z.object({
|
|
769
|
-
_id: z.string().default("
|
|
769
|
+
_id: z.string().default("tool_01KXN9FG33DES1ZQ6Q9VCFWW93"),
|
|
770
770
|
path: z.string(),
|
|
771
771
|
key: z.string(),
|
|
772
772
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KXN9FG32BV909A0ZZ23K4W9N"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -916,7 +916,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01KXN9FG309CAWABZHT8MG17MC"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1100,7 +1100,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1100
1100
|
z.ZodTypeDef,
|
|
1101
1101
|
unknown
|
|
1102
1102
|
> = z.object({
|
|
1103
|
-
_id: z.string().default("
|
|
1103
|
+
_id: z.string().default("tool_01KXN9FG2YZF1ZYZFZQTYT47Q8"),
|
|
1104
1104
|
path: z.string(),
|
|
1105
1105
|
key: z.string(),
|
|
1106
1106
|
display_name: z.string().optional(),
|
|
@@ -1193,7 +1193,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1193
1193
|
z.ZodTypeDef,
|
|
1194
1194
|
unknown
|
|
1195
1195
|
> = z.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KXN9FG2WDCJM7PE2RYNTMSB0"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1291,7 +1291,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1291
1291
|
z.ZodTypeDef,
|
|
1292
1292
|
unknown
|
|
1293
1293
|
> = z.object({
|
|
1294
|
-
_id: z.string().default("
|
|
1294
|
+
_id: z.string().default("tool_01KXN9FG2VE7QNSTT57ZKHE4ZD"),
|
|
1295
1295
|
path: z.string(),
|
|
1296
1296
|
key: z.string(),
|
|
1297
1297
|
display_name: z.string().optional(),
|
|
@@ -275,6 +275,7 @@ export type GetOnePromptVerbosity = ClosedEnum<typeof GetOnePromptVerbosity>;
|
|
|
275
275
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
276
276
|
*/
|
|
277
277
|
export const GetOnePromptThinkingLevel = {
|
|
278
|
+
Minimal: "minimal",
|
|
278
279
|
Low: "low",
|
|
279
280
|
Medium: "medium",
|
|
280
281
|
High: "high",
|
|
@@ -423,6 +424,7 @@ export const GetOnePromptProvider = {
|
|
|
423
424
|
Wafer: "wafer",
|
|
424
425
|
Poolside: "poolside",
|
|
425
426
|
Tencent: "tencent",
|
|
427
|
+
Nebius: "nebius",
|
|
426
428
|
Reson8: "reson8",
|
|
427
429
|
Slack: "slack",
|
|
428
430
|
Orq: "orq",
|
|
@@ -798,6 +800,7 @@ export type GetOnePromptModalities = ClosedEnum<typeof GetOnePromptModalities>;
|
|
|
798
800
|
*/
|
|
799
801
|
export const GetOnePromptId1 = {
|
|
800
802
|
OrqPiiDetection: "orq_pii_detection",
|
|
803
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
801
804
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
802
805
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
803
806
|
} as const;
|