@orq-ai/node 4.10.26 → 4.10.31
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/lib/event-streams.d.ts +7 -2
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js +2 -1
- package/lib/event-streams.js.map +1 -1
- package/models/components/azurefoundrydeployment.d.ts +3 -0
- package/models/components/azurefoundrydeployment.d.ts.map +1 -1
- package/models/components/azurefoundrydeployment.js +4 -0
- package/models/components/azurefoundrydeployment.js.map +1 -1
- 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.js +16 -16
- 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/modelcreateawsbedrock.d.ts +4 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +4 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +4 -2
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +4 -2
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/modelvalidateawsbedrock.d.ts +2 -0
- package/models/operations/modelvalidateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelvalidateawsbedrock.js +2 -0
- package/models/operations/modelvalidateawsbedrock.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/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/src/funcs/agentsInvoke.ts +2 -2
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +8 -5
- package/packages/orq-rc/src/funcs/agentsStream.ts +2 -2
- package/packages/orq-rc/src/funcs/annotationsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +4 -4
- package/packages/orq-rc/src/funcs/promptsCreate.ts +4 -3
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/event-streams.ts +15 -7
- package/packages/orq-rc/src/models/components/agentresponserequest.ts +565 -0
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +55 -43
- package/packages/orq-rc/src/models/components/budget.ts +12 -0
- package/packages/orq-rc/src/models/components/budgetlimits.ts +12 -4
- package/packages/orq-rc/src/models/components/budgetusage.ts +54 -0
- package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +7 -3
- package/packages/orq-rc/src/models/components/index.ts +3 -4
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +3457 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +24 -14
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +4 -550
- package/packages/orq-rc/src/models/operations/createannotation.ts +110 -16
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +335 -19
- package/packages/orq-rc/src/models/operations/createdatasource.ts +4 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createprompt.ts +13 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deleteannotation.ts +46 -3
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1156 -1606
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +221 -3675
- package/packages/orq-rc/src/models/operations/deployments.ts +0 -1
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +244 -286
- package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -1
- 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/getoneprompt.ts +0 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -1
- 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/invokeagent.ts +90 -116
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +378 -19
- 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 +0 -1
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +8 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +8 -4
- package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +4 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +42 -18
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +363 -19
- 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 +1 -1
- package/packages/orq-rc/src/models/operations/streamagent.ts +16 -11
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +366 -19
- 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/updateprompt.ts +17 -12
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/agents.ts +2 -2
- package/packages/orq-rc/src/sdk/annotations.ts +2 -2
- package/packages/orq-rc/src/sdk/deployments.ts +2 -1
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/packages/orq-rc/src/sdk/models.ts +0 -35
- package/packages/orq-rc/src/sdk/orqresponses.ts +2 -2
- package/packages/orq-rc/src/sdk/prompts.ts +1 -1
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +15 -7
- package/src/models/components/azurefoundrydeployment.ts +7 -0
- 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 +16 -16
- 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/modelcreateawsbedrock.ts +8 -0
- package/src/models/operations/modelupdateawsbedrock.ts +8 -4
- package/src/models/operations/modelvalidateawsbedrock.ts +4 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/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/feedback.ts +2 -2
- package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
- package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
- package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
- package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
- package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
- package/packages/orq-rc/src/models/components/modeldocument.ts +0 -112
|
@@ -770,6 +770,52 @@ export type UpdateDatapointEvaluationsDatasetsResponseSource = ClosedEnum<
|
|
|
770
770
|
typeof UpdateDatapointEvaluationsDatasetsResponseSource
|
|
771
771
|
>;
|
|
772
772
|
|
|
773
|
+
/**
|
|
774
|
+
* The kind of annotator that produced the evaluation
|
|
775
|
+
*/
|
|
776
|
+
export const UpdateDatapointEvaluationsDatasetsResponseKind = {
|
|
777
|
+
Llm: "llm",
|
|
778
|
+
Code: "code",
|
|
779
|
+
Human: "human",
|
|
780
|
+
Automation: "automation",
|
|
781
|
+
} as const;
|
|
782
|
+
/**
|
|
783
|
+
* The kind of annotator that produced the evaluation
|
|
784
|
+
*/
|
|
785
|
+
export type UpdateDatapointEvaluationsDatasetsResponseKind = ClosedEnum<
|
|
786
|
+
typeof UpdateDatapointEvaluationsDatasetsResponseKind
|
|
787
|
+
>;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
791
|
+
*/
|
|
792
|
+
export type UpdateDatapointEvaluationsDatasetsResponseAnnotator = {
|
|
793
|
+
/**
|
|
794
|
+
* The kind of annotator that produced the evaluation
|
|
795
|
+
*/
|
|
796
|
+
kind: UpdateDatapointEvaluationsDatasetsResponseKind;
|
|
797
|
+
/**
|
|
798
|
+
* Who/what produced this annotation. User/contact id for human, evaluator eval span id for llm/code, automation rule id for automation.
|
|
799
|
+
*/
|
|
800
|
+
actorId: string;
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
805
|
+
*/
|
|
806
|
+
export const UpdateDatapointEvaluationsDatasetsResponseOutputSchema = {
|
|
807
|
+
Boolean: "boolean",
|
|
808
|
+
Number: "number",
|
|
809
|
+
Categorical: "categorical",
|
|
810
|
+
String: "string",
|
|
811
|
+
} as const;
|
|
812
|
+
/**
|
|
813
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
814
|
+
*/
|
|
815
|
+
export type UpdateDatapointEvaluationsDatasetsResponseOutputSchema = ClosedEnum<
|
|
816
|
+
typeof UpdateDatapointEvaluationsDatasetsResponseOutputSchema
|
|
817
|
+
>;
|
|
818
|
+
|
|
773
819
|
export type UpdateDatapointEvaluations3 = {
|
|
774
820
|
/**
|
|
775
821
|
* The unique identifier of the human evaluation
|
|
@@ -780,16 +826,38 @@ export type UpdateDatapointEvaluations3 = {
|
|
|
780
826
|
*/
|
|
781
827
|
evaluationType: UpdateDatapointEvaluationsDatasetsResponseEvaluationType;
|
|
782
828
|
/**
|
|
783
|
-
* The unique identifier of the human review
|
|
829
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
784
830
|
*/
|
|
785
|
-
humanReviewId
|
|
831
|
+
humanReviewId?: string | undefined;
|
|
786
832
|
source: UpdateDatapointEvaluationsDatasetsResponseSource;
|
|
787
833
|
/**
|
|
788
|
-
* The
|
|
834
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
835
|
+
*/
|
|
836
|
+
annotator?: UpdateDatapointEvaluationsDatasetsResponseAnnotator | undefined;
|
|
837
|
+
/**
|
|
838
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
839
|
+
*/
|
|
840
|
+
outputSchema?:
|
|
841
|
+
| UpdateDatapointEvaluationsDatasetsResponseOutputSchema
|
|
842
|
+
| undefined;
|
|
843
|
+
/**
|
|
844
|
+
* When present, references the id of the annotation this entry corrects. Presence of this field marks the entry as a correction.
|
|
845
|
+
*/
|
|
846
|
+
parentAnnotationId?: string | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* Optional free-text explanation of the value
|
|
849
|
+
*/
|
|
850
|
+
explanation?: string | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Deprecated: use annotator.actor_id. The unique identifier of the user who reviewed the item.
|
|
853
|
+
*
|
|
854
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
789
855
|
*/
|
|
790
856
|
reviewedById: string;
|
|
791
857
|
/**
|
|
792
|
-
* The date and time the item was reviewed
|
|
858
|
+
* Deprecated. The date and time the item was reviewed
|
|
859
|
+
*
|
|
860
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
793
861
|
*/
|
|
794
862
|
reviewedAt: Date;
|
|
795
863
|
type: "string_array";
|
|
@@ -817,6 +885,52 @@ export type UpdateDatapointEvaluationsDatasetsSource = ClosedEnum<
|
|
|
817
885
|
typeof UpdateDatapointEvaluationsDatasetsSource
|
|
818
886
|
>;
|
|
819
887
|
|
|
888
|
+
/**
|
|
889
|
+
* The kind of annotator that produced the evaluation
|
|
890
|
+
*/
|
|
891
|
+
export const UpdateDatapointEvaluationsDatasetsKind = {
|
|
892
|
+
Llm: "llm",
|
|
893
|
+
Code: "code",
|
|
894
|
+
Human: "human",
|
|
895
|
+
Automation: "automation",
|
|
896
|
+
} as const;
|
|
897
|
+
/**
|
|
898
|
+
* The kind of annotator that produced the evaluation
|
|
899
|
+
*/
|
|
900
|
+
export type UpdateDatapointEvaluationsDatasetsKind = ClosedEnum<
|
|
901
|
+
typeof UpdateDatapointEvaluationsDatasetsKind
|
|
902
|
+
>;
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
906
|
+
*/
|
|
907
|
+
export type UpdateDatapointEvaluationsDatasetsAnnotator = {
|
|
908
|
+
/**
|
|
909
|
+
* The kind of annotator that produced the evaluation
|
|
910
|
+
*/
|
|
911
|
+
kind: UpdateDatapointEvaluationsDatasetsKind;
|
|
912
|
+
/**
|
|
913
|
+
* Who/what produced this annotation. User/contact id for human, evaluator eval span id for llm/code, automation rule id for automation.
|
|
914
|
+
*/
|
|
915
|
+
actorId: string;
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
920
|
+
*/
|
|
921
|
+
export const UpdateDatapointEvaluationsDatasetsOutputSchema = {
|
|
922
|
+
Boolean: "boolean",
|
|
923
|
+
Number: "number",
|
|
924
|
+
Categorical: "categorical",
|
|
925
|
+
String: "string",
|
|
926
|
+
} as const;
|
|
927
|
+
/**
|
|
928
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
929
|
+
*/
|
|
930
|
+
export type UpdateDatapointEvaluationsDatasetsOutputSchema = ClosedEnum<
|
|
931
|
+
typeof UpdateDatapointEvaluationsDatasetsOutputSchema
|
|
932
|
+
>;
|
|
933
|
+
|
|
820
934
|
export type UpdateDatapointEvaluations2 = {
|
|
821
935
|
/**
|
|
822
936
|
* The unique identifier of the human evaluation
|
|
@@ -827,16 +941,36 @@ export type UpdateDatapointEvaluations2 = {
|
|
|
827
941
|
*/
|
|
828
942
|
evaluationType: UpdateDatapointEvaluationsDatasetsEvaluationType;
|
|
829
943
|
/**
|
|
830
|
-
* The unique identifier of the human review
|
|
944
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
831
945
|
*/
|
|
832
|
-
humanReviewId
|
|
946
|
+
humanReviewId?: string | undefined;
|
|
833
947
|
source: UpdateDatapointEvaluationsDatasetsSource;
|
|
834
948
|
/**
|
|
835
|
-
* The
|
|
949
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
950
|
+
*/
|
|
951
|
+
annotator?: UpdateDatapointEvaluationsDatasetsAnnotator | undefined;
|
|
952
|
+
/**
|
|
953
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
954
|
+
*/
|
|
955
|
+
outputSchema?: UpdateDatapointEvaluationsDatasetsOutputSchema | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* When present, references the id of the annotation this entry corrects. Presence of this field marks the entry as a correction.
|
|
958
|
+
*/
|
|
959
|
+
parentAnnotationId?: string | undefined;
|
|
960
|
+
/**
|
|
961
|
+
* Optional free-text explanation of the value
|
|
962
|
+
*/
|
|
963
|
+
explanation?: string | undefined;
|
|
964
|
+
/**
|
|
965
|
+
* Deprecated: use annotator.actor_id. The unique identifier of the user who reviewed the item.
|
|
966
|
+
*
|
|
967
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
836
968
|
*/
|
|
837
969
|
reviewedById: string;
|
|
838
970
|
/**
|
|
839
|
-
* The date and time the item was reviewed
|
|
971
|
+
* Deprecated. The date and time the item was reviewed
|
|
972
|
+
*
|
|
973
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
840
974
|
*/
|
|
841
975
|
reviewedAt: Date;
|
|
842
976
|
type: "number";
|
|
@@ -864,6 +998,52 @@ export type UpdateDatapointEvaluationsSource = ClosedEnum<
|
|
|
864
998
|
typeof UpdateDatapointEvaluationsSource
|
|
865
999
|
>;
|
|
866
1000
|
|
|
1001
|
+
/**
|
|
1002
|
+
* The kind of annotator that produced the evaluation
|
|
1003
|
+
*/
|
|
1004
|
+
export const UpdateDatapointEvaluationsKind = {
|
|
1005
|
+
Llm: "llm",
|
|
1006
|
+
Code: "code",
|
|
1007
|
+
Human: "human",
|
|
1008
|
+
Automation: "automation",
|
|
1009
|
+
} as const;
|
|
1010
|
+
/**
|
|
1011
|
+
* The kind of annotator that produced the evaluation
|
|
1012
|
+
*/
|
|
1013
|
+
export type UpdateDatapointEvaluationsKind = ClosedEnum<
|
|
1014
|
+
typeof UpdateDatapointEvaluationsKind
|
|
1015
|
+
>;
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
1019
|
+
*/
|
|
1020
|
+
export type UpdateDatapointEvaluationsAnnotator = {
|
|
1021
|
+
/**
|
|
1022
|
+
* The kind of annotator that produced the evaluation
|
|
1023
|
+
*/
|
|
1024
|
+
kind: UpdateDatapointEvaluationsKind;
|
|
1025
|
+
/**
|
|
1026
|
+
* Who/what produced this annotation. User/contact id for human, evaluator eval span id for llm/code, automation rule id for automation.
|
|
1027
|
+
*/
|
|
1028
|
+
actorId: string;
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
1033
|
+
*/
|
|
1034
|
+
export const UpdateDatapointEvaluationsOutputSchema = {
|
|
1035
|
+
Boolean: "boolean",
|
|
1036
|
+
Number: "number",
|
|
1037
|
+
Categorical: "categorical",
|
|
1038
|
+
String: "string",
|
|
1039
|
+
} as const;
|
|
1040
|
+
/**
|
|
1041
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
1042
|
+
*/
|
|
1043
|
+
export type UpdateDatapointEvaluationsOutputSchema = ClosedEnum<
|
|
1044
|
+
typeof UpdateDatapointEvaluationsOutputSchema
|
|
1045
|
+
>;
|
|
1046
|
+
|
|
867
1047
|
export type UpdateDatapointEvaluations1 = {
|
|
868
1048
|
/**
|
|
869
1049
|
* The unique identifier of the human evaluation
|
|
@@ -874,16 +1054,36 @@ export type UpdateDatapointEvaluations1 = {
|
|
|
874
1054
|
*/
|
|
875
1055
|
evaluationType: UpdateDatapointEvaluationsEvaluationType;
|
|
876
1056
|
/**
|
|
877
|
-
* The unique identifier of the human review
|
|
1057
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
878
1058
|
*/
|
|
879
|
-
humanReviewId
|
|
1059
|
+
humanReviewId?: string | undefined;
|
|
880
1060
|
source: UpdateDatapointEvaluationsSource;
|
|
881
1061
|
/**
|
|
882
|
-
* The
|
|
1062
|
+
* The annotator that produced this evaluation. Optional during the dual-write deprecation window.
|
|
1063
|
+
*/
|
|
1064
|
+
annotator?: UpdateDatapointEvaluationsAnnotator | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* The expected shape of the value. Derived from the human review type, or inherited from the parent annotation for corrections.
|
|
1067
|
+
*/
|
|
1068
|
+
outputSchema?: UpdateDatapointEvaluationsOutputSchema | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* When present, references the id of the annotation this entry corrects. Presence of this field marks the entry as a correction.
|
|
1071
|
+
*/
|
|
1072
|
+
parentAnnotationId?: string | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Optional free-text explanation of the value
|
|
1075
|
+
*/
|
|
1076
|
+
explanation?: string | undefined;
|
|
1077
|
+
/**
|
|
1078
|
+
* Deprecated: use annotator.actor_id. The unique identifier of the user who reviewed the item.
|
|
1079
|
+
*
|
|
1080
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
883
1081
|
*/
|
|
884
1082
|
reviewedById: string;
|
|
885
1083
|
/**
|
|
886
|
-
* The date and time the item was reviewed
|
|
1084
|
+
* Deprecated. The date and time the item was reviewed
|
|
1085
|
+
*
|
|
1086
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
887
1087
|
*/
|
|
888
1088
|
reviewedAt: Date;
|
|
889
1089
|
type: "string";
|
|
@@ -2365,6 +2565,48 @@ export const UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema:
|
|
|
2365
2565
|
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsDatasetsResponseSource> = z
|
|
2366
2566
|
.nativeEnum(UpdateDatapointEvaluationsDatasetsResponseSource);
|
|
2367
2567
|
|
|
2568
|
+
/** @internal */
|
|
2569
|
+
export const UpdateDatapointEvaluationsDatasetsResponseKind$inboundSchema:
|
|
2570
|
+
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsDatasetsResponseKind> = z
|
|
2571
|
+
.nativeEnum(UpdateDatapointEvaluationsDatasetsResponseKind);
|
|
2572
|
+
|
|
2573
|
+
/** @internal */
|
|
2574
|
+
export const UpdateDatapointEvaluationsDatasetsResponseAnnotator$inboundSchema:
|
|
2575
|
+
z.ZodType<
|
|
2576
|
+
UpdateDatapointEvaluationsDatasetsResponseAnnotator,
|
|
2577
|
+
z.ZodTypeDef,
|
|
2578
|
+
unknown
|
|
2579
|
+
> = z.object({
|
|
2580
|
+
kind: UpdateDatapointEvaluationsDatasetsResponseKind$inboundSchema,
|
|
2581
|
+
actor_id: z.string(),
|
|
2582
|
+
}).transform((v) => {
|
|
2583
|
+
return remap$(v, {
|
|
2584
|
+
"actor_id": "actorId",
|
|
2585
|
+
});
|
|
2586
|
+
});
|
|
2587
|
+
|
|
2588
|
+
export function updateDatapointEvaluationsDatasetsResponseAnnotatorFromJSON(
|
|
2589
|
+
jsonString: string,
|
|
2590
|
+
): SafeParseResult<
|
|
2591
|
+
UpdateDatapointEvaluationsDatasetsResponseAnnotator,
|
|
2592
|
+
SDKValidationError
|
|
2593
|
+
> {
|
|
2594
|
+
return safeParse(
|
|
2595
|
+
jsonString,
|
|
2596
|
+
(x) =>
|
|
2597
|
+
UpdateDatapointEvaluationsDatasetsResponseAnnotator$inboundSchema.parse(
|
|
2598
|
+
JSON.parse(x),
|
|
2599
|
+
),
|
|
2600
|
+
`Failed to parse 'UpdateDatapointEvaluationsDatasetsResponseAnnotator' from JSON`,
|
|
2601
|
+
);
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/** @internal */
|
|
2605
|
+
export const UpdateDatapointEvaluationsDatasetsResponseOutputSchema$inboundSchema:
|
|
2606
|
+
z.ZodNativeEnum<
|
|
2607
|
+
typeof UpdateDatapointEvaluationsDatasetsResponseOutputSchema
|
|
2608
|
+
> = z.nativeEnum(UpdateDatapointEvaluationsDatasetsResponseOutputSchema);
|
|
2609
|
+
|
|
2368
2610
|
/** @internal */
|
|
2369
2611
|
export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
2370
2612
|
UpdateDatapointEvaluations3,
|
|
@@ -2374,12 +2616,20 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2374
2616
|
id: z.string(),
|
|
2375
2617
|
evaluation_type:
|
|
2376
2618
|
UpdateDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema,
|
|
2377
|
-
human_review_id: z.string(),
|
|
2619
|
+
human_review_id: z.string().optional(),
|
|
2378
2620
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
2379
2621
|
.default("orq"),
|
|
2622
|
+
annotator: z.lazy(() =>
|
|
2623
|
+
UpdateDatapointEvaluationsDatasetsResponseAnnotator$inboundSchema
|
|
2624
|
+
).optional(),
|
|
2625
|
+
output_schema:
|
|
2626
|
+
UpdateDatapointEvaluationsDatasetsResponseOutputSchema$inboundSchema
|
|
2627
|
+
.optional(),
|
|
2628
|
+
parent_annotation_id: z.string().optional(),
|
|
2629
|
+
explanation: z.string().optional(),
|
|
2380
2630
|
reviewed_by_id: z.string(),
|
|
2381
2631
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2382
|
-
"2026-06-
|
|
2632
|
+
"2026-06-23T08:42:16.168Z",
|
|
2383
2633
|
).transform(v => new Date(v)),
|
|
2384
2634
|
type: z.literal("string_array"),
|
|
2385
2635
|
values: z.array(z.string()),
|
|
@@ -2387,6 +2637,8 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2387
2637
|
return remap$(v, {
|
|
2388
2638
|
"evaluation_type": "evaluationType",
|
|
2389
2639
|
"human_review_id": "humanReviewId",
|
|
2640
|
+
"output_schema": "outputSchema",
|
|
2641
|
+
"parent_annotation_id": "parentAnnotationId",
|
|
2390
2642
|
"reviewed_by_id": "reviewedById",
|
|
2391
2643
|
"reviewed_at": "reviewedAt",
|
|
2392
2644
|
});
|
|
@@ -2412,6 +2664,48 @@ export const UpdateDatapointEvaluationsDatasetsSource$inboundSchema:
|
|
|
2412
2664
|
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsDatasetsSource> = z
|
|
2413
2665
|
.nativeEnum(UpdateDatapointEvaluationsDatasetsSource);
|
|
2414
2666
|
|
|
2667
|
+
/** @internal */
|
|
2668
|
+
export const UpdateDatapointEvaluationsDatasetsKind$inboundSchema:
|
|
2669
|
+
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsDatasetsKind> = z.nativeEnum(
|
|
2670
|
+
UpdateDatapointEvaluationsDatasetsKind,
|
|
2671
|
+
);
|
|
2672
|
+
|
|
2673
|
+
/** @internal */
|
|
2674
|
+
export const UpdateDatapointEvaluationsDatasetsAnnotator$inboundSchema:
|
|
2675
|
+
z.ZodType<
|
|
2676
|
+
UpdateDatapointEvaluationsDatasetsAnnotator,
|
|
2677
|
+
z.ZodTypeDef,
|
|
2678
|
+
unknown
|
|
2679
|
+
> = z.object({
|
|
2680
|
+
kind: UpdateDatapointEvaluationsDatasetsKind$inboundSchema,
|
|
2681
|
+
actor_id: z.string(),
|
|
2682
|
+
}).transform((v) => {
|
|
2683
|
+
return remap$(v, {
|
|
2684
|
+
"actor_id": "actorId",
|
|
2685
|
+
});
|
|
2686
|
+
});
|
|
2687
|
+
|
|
2688
|
+
export function updateDatapointEvaluationsDatasetsAnnotatorFromJSON(
|
|
2689
|
+
jsonString: string,
|
|
2690
|
+
): SafeParseResult<
|
|
2691
|
+
UpdateDatapointEvaluationsDatasetsAnnotator,
|
|
2692
|
+
SDKValidationError
|
|
2693
|
+
> {
|
|
2694
|
+
return safeParse(
|
|
2695
|
+
jsonString,
|
|
2696
|
+
(x) =>
|
|
2697
|
+
UpdateDatapointEvaluationsDatasetsAnnotator$inboundSchema.parse(
|
|
2698
|
+
JSON.parse(x),
|
|
2699
|
+
),
|
|
2700
|
+
`Failed to parse 'UpdateDatapointEvaluationsDatasetsAnnotator' from JSON`,
|
|
2701
|
+
);
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
/** @internal */
|
|
2705
|
+
export const UpdateDatapointEvaluationsDatasetsOutputSchema$inboundSchema:
|
|
2706
|
+
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsDatasetsOutputSchema> = z
|
|
2707
|
+
.nativeEnum(UpdateDatapointEvaluationsDatasetsOutputSchema);
|
|
2708
|
+
|
|
2415
2709
|
/** @internal */
|
|
2416
2710
|
export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
2417
2711
|
UpdateDatapointEvaluations2,
|
|
@@ -2421,11 +2715,18 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2421
2715
|
id: z.string(),
|
|
2422
2716
|
evaluation_type:
|
|
2423
2717
|
UpdateDatapointEvaluationsDatasetsEvaluationType$inboundSchema,
|
|
2424
|
-
human_review_id: z.string(),
|
|
2718
|
+
human_review_id: z.string().optional(),
|
|
2425
2719
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2720
|
+
annotator: z.lazy(() =>
|
|
2721
|
+
UpdateDatapointEvaluationsDatasetsAnnotator$inboundSchema
|
|
2722
|
+
).optional(),
|
|
2723
|
+
output_schema: UpdateDatapointEvaluationsDatasetsOutputSchema$inboundSchema
|
|
2724
|
+
.optional(),
|
|
2725
|
+
parent_annotation_id: z.string().optional(),
|
|
2726
|
+
explanation: z.string().optional(),
|
|
2426
2727
|
reviewed_by_id: z.string(),
|
|
2427
2728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2428
|
-
"2026-06-
|
|
2729
|
+
"2026-06-23T08:42:16.167Z",
|
|
2429
2730
|
).transform(v => new Date(v)),
|
|
2430
2731
|
type: z.literal("number"),
|
|
2431
2732
|
value: z.number(),
|
|
@@ -2433,6 +2734,8 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2433
2734
|
return remap$(v, {
|
|
2434
2735
|
"evaluation_type": "evaluationType",
|
|
2435
2736
|
"human_review_id": "humanReviewId",
|
|
2737
|
+
"output_schema": "outputSchema",
|
|
2738
|
+
"parent_annotation_id": "parentAnnotationId",
|
|
2436
2739
|
"reviewed_by_id": "reviewedById",
|
|
2437
2740
|
"reviewed_at": "reviewedAt",
|
|
2438
2741
|
});
|
|
@@ -2458,6 +2761,42 @@ export const UpdateDatapointEvaluationsSource$inboundSchema: z.ZodNativeEnum<
|
|
|
2458
2761
|
typeof UpdateDatapointEvaluationsSource
|
|
2459
2762
|
> = z.nativeEnum(UpdateDatapointEvaluationsSource);
|
|
2460
2763
|
|
|
2764
|
+
/** @internal */
|
|
2765
|
+
export const UpdateDatapointEvaluationsKind$inboundSchema: z.ZodNativeEnum<
|
|
2766
|
+
typeof UpdateDatapointEvaluationsKind
|
|
2767
|
+
> = z.nativeEnum(UpdateDatapointEvaluationsKind);
|
|
2768
|
+
|
|
2769
|
+
/** @internal */
|
|
2770
|
+
export const UpdateDatapointEvaluationsAnnotator$inboundSchema: z.ZodType<
|
|
2771
|
+
UpdateDatapointEvaluationsAnnotator,
|
|
2772
|
+
z.ZodTypeDef,
|
|
2773
|
+
unknown
|
|
2774
|
+
> = z.object({
|
|
2775
|
+
kind: UpdateDatapointEvaluationsKind$inboundSchema,
|
|
2776
|
+
actor_id: z.string(),
|
|
2777
|
+
}).transform((v) => {
|
|
2778
|
+
return remap$(v, {
|
|
2779
|
+
"actor_id": "actorId",
|
|
2780
|
+
});
|
|
2781
|
+
});
|
|
2782
|
+
|
|
2783
|
+
export function updateDatapointEvaluationsAnnotatorFromJSON(
|
|
2784
|
+
jsonString: string,
|
|
2785
|
+
): SafeParseResult<UpdateDatapointEvaluationsAnnotator, SDKValidationError> {
|
|
2786
|
+
return safeParse(
|
|
2787
|
+
jsonString,
|
|
2788
|
+
(x) =>
|
|
2789
|
+
UpdateDatapointEvaluationsAnnotator$inboundSchema.parse(JSON.parse(x)),
|
|
2790
|
+
`Failed to parse 'UpdateDatapointEvaluationsAnnotator' from JSON`,
|
|
2791
|
+
);
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
/** @internal */
|
|
2795
|
+
export const UpdateDatapointEvaluationsOutputSchema$inboundSchema:
|
|
2796
|
+
z.ZodNativeEnum<typeof UpdateDatapointEvaluationsOutputSchema> = z.nativeEnum(
|
|
2797
|
+
UpdateDatapointEvaluationsOutputSchema,
|
|
2798
|
+
);
|
|
2799
|
+
|
|
2461
2800
|
/** @internal */
|
|
2462
2801
|
export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
2463
2802
|
UpdateDatapointEvaluations1,
|
|
@@ -2466,11 +2805,17 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2466
2805
|
> = z.object({
|
|
2467
2806
|
id: z.string(),
|
|
2468
2807
|
evaluation_type: UpdateDatapointEvaluationsEvaluationType$inboundSchema,
|
|
2469
|
-
human_review_id: z.string(),
|
|
2808
|
+
human_review_id: z.string().optional(),
|
|
2470
2809
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2810
|
+
annotator: z.lazy(() => UpdateDatapointEvaluationsAnnotator$inboundSchema)
|
|
2811
|
+
.optional(),
|
|
2812
|
+
output_schema: UpdateDatapointEvaluationsOutputSchema$inboundSchema
|
|
2813
|
+
.optional(),
|
|
2814
|
+
parent_annotation_id: z.string().optional(),
|
|
2815
|
+
explanation: z.string().optional(),
|
|
2471
2816
|
reviewed_by_id: z.string(),
|
|
2472
2817
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2473
|
-
"2026-06-
|
|
2818
|
+
"2026-06-23T08:42:16.165Z",
|
|
2474
2819
|
).transform(v => new Date(v)),
|
|
2475
2820
|
type: z.literal("string"),
|
|
2476
2821
|
value: z.string(),
|
|
@@ -2478,6 +2823,8 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2478
2823
|
return remap$(v, {
|
|
2479
2824
|
"evaluation_type": "evaluationType",
|
|
2480
2825
|
"human_review_id": "humanReviewId",
|
|
2826
|
+
"output_schema": "outputSchema",
|
|
2827
|
+
"parent_annotation_id": "parentAnnotationId",
|
|
2481
2828
|
"reviewed_by_id": "reviewedById",
|
|
2482
2829
|
"reviewed_at": "reviewedAt",
|
|
2483
2830
|
});
|
|
@@ -2551,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2551
2898
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2552
2899
|
.optional(),
|
|
2553
2900
|
updated: z.string().datetime({ offset: true }).default(
|
|
2554
|
-
"2026-06-
|
|
2901
|
+
"2026-06-23T08:41:49.956Z",
|
|
2555
2902
|
).transform(v => new Date(v)),
|
|
2556
2903
|
}).transform((v) => {
|
|
2557
2904
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-23T08:41:49.956Z",
|
|
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("01KVST9YJGGP3Z8NX1RQD4A8Y8"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1553,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1553
1553
|
> = z.object({
|
|
1554
1554
|
_id: z.string(),
|
|
1555
1555
|
description: z.string(),
|
|
1556
|
-
created: z.string().default("2026-06-
|
|
1557
|
-
updated: z.string().default("2026-06-
|
|
1556
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
1558
1558
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1559
1559
|
guardrail_config: z.nullable(
|
|
1560
1560
|
z.union([
|
|
@@ -1749,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1749
1749
|
> = z.object({
|
|
1750
1750
|
_id: z.string(),
|
|
1751
1751
|
description: z.string(),
|
|
1752
|
-
created: z.string().default("2026-06-
|
|
1753
|
-
updated: z.string().default("2026-06-
|
|
1752
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
1754
1754
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1755
1755
|
guardrail_config: z.nullable(
|
|
1756
1756
|
z.union([
|
|
@@ -2608,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2608
2608
|
> = z.object({
|
|
2609
2609
|
_id: z.string(),
|
|
2610
2610
|
description: z.string(),
|
|
2611
|
-
created: z.string().default("2026-06-
|
|
2612
|
-
updated: z.string().default("2026-06-
|
|
2611
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
2613
2613
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2614
2614
|
guardrail_config: z.nullable(
|
|
2615
2615
|
z.union([
|
|
@@ -2827,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2827
2827
|
> = z.object({
|
|
2828
2828
|
_id: z.string(),
|
|
2829
2829
|
description: z.string(),
|
|
2830
|
-
created: z.string().default("2026-06-
|
|
2831
|
-
updated: z.string().default("2026-06-
|
|
2830
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
2832
2832
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2833
2833
|
guardrail_config: z.nullable(
|
|
2834
2834
|
z.union([
|
|
@@ -2996,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2996
2996
|
> = z.object({
|
|
2997
2997
|
_id: z.string(),
|
|
2998
2998
|
description: z.string(),
|
|
2999
|
-
created: z.string().default("2026-06-
|
|
3000
|
-
updated: z.string().default("2026-06-
|
|
2999
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3001
3001
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3002
3002
|
guardrail_config: z.nullable(
|
|
3003
3003
|
z.union([
|
|
@@ -3150,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3150
3150
|
> = z.object({
|
|
3151
3151
|
_id: z.string(),
|
|
3152
3152
|
description: z.string(),
|
|
3153
|
-
created: z.string().default("2026-06-
|
|
3154
|
-
updated: z.string().default("2026-06-
|
|
3153
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3155
3155
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3156
3156
|
guardrail_config: z.nullable(
|
|
3157
3157
|
z.union([
|
|
@@ -3513,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3513
3513
|
> = z.object({
|
|
3514
3514
|
_id: z.string(),
|
|
3515
3515
|
description: z.string(),
|
|
3516
|
-
created: z.string().default("2026-06-
|
|
3517
|
-
updated: z.string().default("2026-06-
|
|
3516
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3518
3518
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3519
3519
|
guardrail_config: z.nullable(
|
|
3520
3520
|
z.union([
|
|
@@ -3726,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3726
3726
|
> = z.object({
|
|
3727
3727
|
_id: z.string(),
|
|
3728
3728
|
description: z.string(),
|
|
3729
|
-
created: z.string().default("2026-06-
|
|
3730
|
-
updated: z.string().default("2026-06-
|
|
3729
|
+
created: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-23T08:41:51.136Z"),
|
|
3731
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3732
3732
|
guardrail_config: z.nullable(
|
|
3733
3733
|
z.union([
|