@orq-ai/node 3.8.0-rc.19 → 3.8.0-rc.20
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/bin/mcp-server.js +245 -245
- package/bin/mcp-server.js.map +45 -45
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/evalsageappropriate.d.ts +2 -2
- package/models/operations/evalsageappropriate.js +2 -2
- package/models/operations/evalsfactcheckingknowledgebase.d.ts +2 -2
- package/models/operations/evalsfactcheckingknowledgebase.js +2 -2
- package/models/operations/evalsgrammar.d.ts +2 -2
- package/models/operations/evalsgrammar.js +2 -2
- package/models/operations/evalslocalization.d.ts +2 -2
- package/models/operations/evalslocalization.js +2 -2
- package/models/operations/evalspii.d.ts +2 -2
- package/models/operations/evalspii.js +2 -2
- package/models/operations/evalsragascoherence.d.ts +2 -2
- package/models/operations/evalsragascoherence.js +2 -2
- package/models/operations/evalsragasconciseness.d.ts +2 -2
- package/models/operations/evalsragasconciseness.js +2 -2
- package/models/operations/evalsragascontextprecision.d.ts +2 -2
- package/models/operations/evalsragascontextprecision.js +2 -2
- package/models/operations/evalsragascorrectness.d.ts +2 -2
- package/models/operations/evalsragascorrectness.js +2 -2
- package/models/operations/evalsragasfaithfulness.d.ts +2 -2
- package/models/operations/evalsragasfaithfulness.js +2 -2
- package/models/operations/evalsragasharmfulness.d.ts +2 -2
- package/models/operations/evalsragasharmfulness.js +2 -2
- package/models/operations/evalsragasmaliciousness.d.ts +2 -2
- package/models/operations/evalsragasmaliciousness.js +2 -2
- package/models/operations/evalsragasresponserelevancy.d.ts +2 -2
- package/models/operations/evalsragasresponserelevancy.js +2 -2
- package/models/operations/evalssentimentclassification.d.ts +2 -2
- package/models/operations/evalssentimentclassification.js +2 -2
- package/models/operations/evalssummarization.d.ts +2 -2
- package/models/operations/evalssummarization.js +2 -2
- package/models/operations/evalstoneofvoice.d.ts +2 -2
- package/models/operations/evalstoneofvoice.js +2 -2
- package/models/operations/evalstranslation.d.ts +2 -2
- package/models/operations/evalstranslation.js +2 -2
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getevals.d.ts +56 -56
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +111 -106
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/invokeeval.d.ts +108 -108
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +141 -144
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/evalsageappropriate.ts +4 -4
- package/src/models/operations/evalsfactcheckingknowledgebase.ts +4 -4
- package/src/models/operations/evalsgrammar.ts +4 -4
- package/src/models/operations/evalslocalization.ts +4 -4
- package/src/models/operations/evalspii.ts +4 -4
- package/src/models/operations/evalsragascoherence.ts +4 -4
- package/src/models/operations/evalsragasconciseness.ts +4 -4
- package/src/models/operations/evalsragascontextprecision.ts +4 -4
- package/src/models/operations/evalsragascorrectness.ts +4 -4
- package/src/models/operations/evalsragasfaithfulness.ts +4 -4
- package/src/models/operations/evalsragasharmfulness.ts +4 -4
- package/src/models/operations/evalsragasmaliciousness.ts +4 -4
- package/src/models/operations/evalsragasresponserelevancy.ts +4 -4
- package/src/models/operations/evalssentimentclassification.ts +4 -4
- package/src/models/operations/evalssummarization.ts +4 -4
- package/src/models/operations/evalstoneofvoice.ts +4 -4
- package/src/models/operations/evalstranslation.ts +4 -4
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getevals.ts +155 -180
- package/src/models/operations/invokeeval.ts +251 -223
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
|
@@ -2399,8 +2399,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2399
2399
|
> = z.object({
|
|
2400
2400
|
_id: z.string(),
|
|
2401
2401
|
description: z.string(),
|
|
2402
|
-
created: z.string().default("2025-06-
|
|
2403
|
-
updated: z.string().default("2025-06-
|
|
2402
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2403
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2404
2404
|
guardrail_config: z.union([
|
|
2405
2405
|
z.lazy(() =>
|
|
2406
2406
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -2442,8 +2442,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2442
2442
|
> = z.object({
|
|
2443
2443
|
id: z.string(),
|
|
2444
2444
|
description: z.string(),
|
|
2445
|
-
created: z.string().default("2025-06-
|
|
2446
|
-
updated: z.string().default("2025-06-
|
|
2445
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2446
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2447
2447
|
guardrailConfig: z.union([
|
|
2448
2448
|
z.lazy(() =>
|
|
2449
2449
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -2856,8 +2856,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2856
2856
|
> = z.object({
|
|
2857
2857
|
_id: z.string(),
|
|
2858
2858
|
description: z.string(),
|
|
2859
|
-
created: z.string().default("2025-06-
|
|
2860
|
-
updated: z.string().default("2025-06-
|
|
2859
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2860
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2861
2861
|
guardrail_config: z.union([
|
|
2862
2862
|
z.lazy(() =>
|
|
2863
2863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -2905,8 +2905,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2905
2905
|
> = z.object({
|
|
2906
2906
|
id: z.string(),
|
|
2907
2907
|
description: z.string(),
|
|
2908
|
-
created: z.string().default("2025-06-
|
|
2909
|
-
updated: z.string().default("2025-06-
|
|
2908
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2909
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
2910
2910
|
guardrailConfig: z.union([
|
|
2911
2911
|
z.lazy(() =>
|
|
2912
2912
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -3283,8 +3283,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3283
3283
|
> = z.object({
|
|
3284
3284
|
_id: z.string(),
|
|
3285
3285
|
description: z.string(),
|
|
3286
|
-
created: z.string().default("2025-06-
|
|
3287
|
-
updated: z.string().default("2025-06-
|
|
3286
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3287
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3288
3288
|
guardrail_config: z.union([
|
|
3289
3289
|
z.lazy(() =>
|
|
3290
3290
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3324,8 +3324,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3324
3324
|
> = z.object({
|
|
3325
3325
|
id: z.string(),
|
|
3326
3326
|
description: z.string(),
|
|
3327
|
-
created: z.string().default("2025-06-
|
|
3328
|
-
updated: z.string().default("2025-06-
|
|
3327
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3328
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3329
3329
|
guardrailConfig: z.union([
|
|
3330
3330
|
z.lazy(() =>
|
|
3331
3331
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
_id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-06-
|
|
3684
|
-
updated: z.string().default("2025-06-
|
|
3683
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3684
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3685
3685
|
guardrail_config: z.union([
|
|
3686
3686
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3687
3687
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3721,8 +3721,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3721
3721
|
> = z.object({
|
|
3722
3722
|
id: z.string(),
|
|
3723
3723
|
description: z.string(),
|
|
3724
|
-
created: z.string().default("2025-06-
|
|
3725
|
-
updated: z.string().default("2025-06-
|
|
3724
|
+
created: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3725
|
+
updated: z.string().default("2025-06-12T12:39:13.546Z"),
|
|
3726
3726
|
guardrailConfig: z.union([
|
|
3727
3727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3728
3728
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsAgeAppropriateRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsAgeAppropriateRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsAgeAppropriateRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsAgeAppropriateRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsAgeAppropriateRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsFactCheckingKnowledgeBaseRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
reference: string;
|
|
@@ -37,7 +37,7 @@ export const EvalsFactCheckingKnowledgeBaseRequestBody$inboundSchema: z.ZodType<
|
|
|
37
37
|
z.ZodTypeDef,
|
|
38
38
|
unknown
|
|
39
39
|
> = z.object({
|
|
40
|
-
|
|
40
|
+
query: z.string(),
|
|
41
41
|
output: z.string(),
|
|
42
42
|
model: z.string(),
|
|
43
43
|
reference: z.string(),
|
|
@@ -45,7 +45,7 @@ export const EvalsFactCheckingKnowledgeBaseRequestBody$inboundSchema: z.ZodType<
|
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
47
47
|
export type EvalsFactCheckingKnowledgeBaseRequestBody$Outbound = {
|
|
48
|
-
|
|
48
|
+
query: string;
|
|
49
49
|
output: string;
|
|
50
50
|
model: string;
|
|
51
51
|
reference: string;
|
|
@@ -58,7 +58,7 @@ export const EvalsFactCheckingKnowledgeBaseRequestBody$outboundSchema:
|
|
|
58
58
|
z.ZodTypeDef,
|
|
59
59
|
EvalsFactCheckingKnowledgeBaseRequestBody
|
|
60
60
|
> = z.object({
|
|
61
|
-
|
|
61
|
+
query: z.string(),
|
|
62
62
|
output: z.string(),
|
|
63
63
|
model: z.string(),
|
|
64
64
|
reference: z.string(),
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsGrammarRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
model: string;
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -32,13 +32,13 @@ export const EvalsGrammarRequestBody$inboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
|
|
35
|
+
query: z.string(),
|
|
36
36
|
model: z.string(),
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type EvalsGrammarRequestBody$Outbound = {
|
|
41
|
-
|
|
41
|
+
query: string;
|
|
42
42
|
model: string;
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@ export const EvalsGrammarRequestBody$outboundSchema: z.ZodType<
|
|
|
48
48
|
z.ZodTypeDef,
|
|
49
49
|
EvalsGrammarRequestBody
|
|
50
50
|
> = z.object({
|
|
51
|
-
|
|
51
|
+
query: z.string(),
|
|
52
52
|
model: z.string(),
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsLocalizationRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsLocalizationRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsLocalizationRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsLocalizationRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsLocalizationRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsPiiRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsPiiRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsPiiRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsPiiRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsPiiRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasCoherenceRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasCoherenceRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
reference: z.string().optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasCoherenceRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasCoherenceRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
reference?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasCoherenceRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasCoherenceRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
reference: z.string().optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasConcisenessRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasConcisenessRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
reference: z.string().optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasConcisenessRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasConcisenessRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
reference?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasConcisenessRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasConcisenessRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
reference: z.string().optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasContextPrecisionRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -40,7 +40,7 @@ export const EvalsRagasContextPrecisionRequestBody$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
|
|
43
|
+
query: z.string(),
|
|
44
44
|
output: z.string(),
|
|
45
45
|
model: z.string(),
|
|
46
46
|
reference: z.string().optional(),
|
|
@@ -49,7 +49,7 @@ export const EvalsRagasContextPrecisionRequestBody$inboundSchema: z.ZodType<
|
|
|
49
49
|
|
|
50
50
|
/** @internal */
|
|
51
51
|
export type EvalsRagasContextPrecisionRequestBody$Outbound = {
|
|
52
|
-
|
|
52
|
+
query: string;
|
|
53
53
|
output: string;
|
|
54
54
|
model: string;
|
|
55
55
|
reference?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export const EvalsRagasContextPrecisionRequestBody$outboundSchema: z.ZodType<
|
|
|
62
62
|
z.ZodTypeDef,
|
|
63
63
|
EvalsRagasContextPrecisionRequestBody
|
|
64
64
|
> = z.object({
|
|
65
|
-
|
|
65
|
+
query: z.string(),
|
|
66
66
|
output: z.string(),
|
|
67
67
|
model: z.string(),
|
|
68
68
|
reference: z.string().optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasCorrectnessRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasCorrectnessRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
reference: z.string().optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasCorrectnessRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasCorrectnessRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
reference?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasCorrectnessRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasCorrectnessRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
reference: z.string().optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasFaithfulnessRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasFaithfulnessRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
retrievals: z.array(z.string()).optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasFaithfulnessRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasFaithfulnessRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
retrievals?: Array<string> | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasFaithfulnessRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasFaithfulnessRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
retrievals: z.array(z.string()).optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasHarmfulnessRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -32,14 +32,14 @@ export const EvalsRagasHarmfulnessRequestBody$inboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
|
|
35
|
+
query: z.string(),
|
|
36
36
|
output: z.string(),
|
|
37
37
|
model: z.string(),
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type EvalsRagasHarmfulnessRequestBody$Outbound = {
|
|
42
|
-
|
|
42
|
+
query: string;
|
|
43
43
|
output: string;
|
|
44
44
|
model: string;
|
|
45
45
|
};
|
|
@@ -50,7 +50,7 @@ export const EvalsRagasHarmfulnessRequestBody$outboundSchema: z.ZodType<
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
EvalsRagasHarmfulnessRequestBody
|
|
52
52
|
> = z.object({
|
|
53
|
-
|
|
53
|
+
query: z.string(),
|
|
54
54
|
output: z.string(),
|
|
55
55
|
model: z.string(),
|
|
56
56
|
});
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasMaliciousnessRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasMaliciousnessRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
reference: z.string().optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasMaliciousnessRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasMaliciousnessRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
reference?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasMaliciousnessRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasMaliciousnessRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
reference: z.string().optional(),
|
|
@@ -11,7 +11,7 @@ export type EvalsRagasResponseRelevancyRequestBody = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Latest user message
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
query: string;
|
|
15
15
|
/**
|
|
16
16
|
* The generated response from the model
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export const EvalsRagasResponseRelevancyRequestBody$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
query: z.string(),
|
|
40
40
|
output: z.string(),
|
|
41
41
|
model: z.string(),
|
|
42
42
|
retrievals: z.array(z.string()).optional(),
|
|
@@ -44,7 +44,7 @@ export const EvalsRagasResponseRelevancyRequestBody$inboundSchema: z.ZodType<
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type EvalsRagasResponseRelevancyRequestBody$Outbound = {
|
|
47
|
-
|
|
47
|
+
query: string;
|
|
48
48
|
output: string;
|
|
49
49
|
model: string;
|
|
50
50
|
retrievals?: Array<string> | undefined;
|
|
@@ -56,7 +56,7 @@ export const EvalsRagasResponseRelevancyRequestBody$outboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
EvalsRagasResponseRelevancyRequestBody
|
|
58
58
|
> = z.object({
|
|
59
|
-
|
|
59
|
+
query: z.string(),
|
|
60
60
|
output: z.string(),
|
|
61
61
|
model: z.string(),
|
|
62
62
|
retrievals: z.array(z.string()).optional(),
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsSentimentClassificationRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsSentimentClassificationRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsSentimentClassificationRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsSentimentClassificationRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsSentimentClassificationRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsSummarizationRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsSummarizationRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsSummarizationRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsSummarizationRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsSummarizationRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type EvalsToneOfVoiceRequestBody = {
|
|
11
|
-
|
|
11
|
+
query: string;
|
|
12
12
|
output: string;
|
|
13
13
|
model: string;
|
|
14
14
|
};
|
|
@@ -33,14 +33,14 @@ export const EvalsToneOfVoiceRequestBody$inboundSchema: z.ZodType<
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
|
|
36
|
+
query: z.string(),
|
|
37
37
|
output: z.string(),
|
|
38
38
|
model: z.string(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type EvalsToneOfVoiceRequestBody$Outbound = {
|
|
43
|
-
|
|
43
|
+
query: string;
|
|
44
44
|
output: string;
|
|
45
45
|
model: string;
|
|
46
46
|
};
|
|
@@ -51,7 +51,7 @@ export const EvalsToneOfVoiceRequestBody$outboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
EvalsToneOfVoiceRequestBody
|
|
53
53
|
> = z.object({
|
|
54
|
-
|
|
54
|
+
query: z.string(),
|
|
55
55
|
output: z.string(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
});
|