@orq-ai/node 4.15.0-rc.25 → 4.15.0-rc.26
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/funcs/evalsCreate.d.ts +1 -2
- package/funcs/evalsCreate.d.ts.map +1 -1
- package/funcs/evalsCreate.js +2 -2
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsGet.d.ts +1 -2
- package/funcs/evalsGet.d.ts.map +1 -1
- package/funcs/evalsGet.js +1 -2
- package/funcs/evalsGet.js.map +1 -1
- package/funcs/evalsGetVersion.d.ts +1 -2
- package/funcs/evalsGetVersion.d.ts.map +1 -1
- package/funcs/evalsGetVersion.js +1 -2
- package/funcs/evalsGetVersion.js.map +1 -1
- package/funcs/evalsInvoke.d.ts +1 -1
- package/funcs/evalsInvoke.d.ts.map +1 -1
- package/funcs/evalsInvoke.js +1 -1
- package/funcs/evalsInvoke.js.map +1 -1
- package/funcs/evalsUpdate.d.ts +1 -2
- package/funcs/evalsUpdate.d.ts.map +1 -1
- package/funcs/evalsUpdate.js +1 -2
- package/funcs/evalsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/index.d.ts +0 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -3
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createeval.d.ts +9 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +8 -1
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.d.ts +9 -0
- package/models/operations/geteval.d.ts.map +1 -1
- package/models/operations/geteval.js +8 -1
- package/models/operations/geteval.js.map +1 -1
- package/models/operations/getevalversion.d.ts +9 -0
- package/models/operations/getevalversion.d.ts.map +1 -1
- package/models/operations/getevalversion.js +8 -1
- package/models/operations/getevalversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateeval.d.ts +9 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +8 -1
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/sdk/evals.d.ts +5 -5
- package/sdk/evals.d.ts.map +1 -1
- package/src/funcs/evalsCreate.ts +4 -5
- package/src/funcs/evalsGet.ts +4 -5
- package/src/funcs/evalsGetVersion.ts +4 -5
- package/src/funcs/evalsInvoke.ts +4 -4
- package/src/funcs/evalsUpdate.ts +4 -5
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +0 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createeval.ts +25 -0
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +25 -0
- package/src/models/operations/getevalversion.ts +25 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateeval.ts +25 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/evals.ts +5 -5
- package/models/components/evaluatordocumentresponse.d.ts +0 -14
- package/models/components/evaluatordocumentresponse.d.ts.map +0 -1
- package/models/components/evaluatordocumentresponse.js +0 -56
- package/models/components/evaluatordocumentresponse.js.map +0 -1
- package/models/components/getevaluatorversionresponse.d.ts +0 -20
- package/models/components/getevaluatorversionresponse.d.ts.map +0 -1
- package/models/components/getevaluatorversionresponse.js +0 -57
- package/models/components/getevaluatorversionresponse.js.map +0 -1
- package/models/components/invokeevaluatorresponse.d.ts +0 -23
- package/models/components/invokeevaluatorresponse.d.ts.map +0 -1
- package/models/components/invokeevaluatorresponse.js +0 -51
- package/models/components/invokeevaluatorresponse.js.map +0 -1
- package/src/models/components/evaluatordocumentresponse.ts +0 -50
- package/src/models/components/getevaluatorversionresponse.ts +0 -58
- package/src/models/components/invokeevaluatorresponse.ts +0 -47
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.InvokeEvaluatorResponse$inboundSchema = void 0;
|
|
40
|
-
exports.invokeEvaluatorResponseFromJSON = invokeEvaluatorResponseFromJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
-
const evaluationresult_js_1 = require("./evaluationresult.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.InvokeEvaluatorResponse$inboundSchema = z.object({
|
|
46
|
-
result: evaluationresult_js_1.EvaluationResult$inboundSchema.optional(),
|
|
47
|
-
});
|
|
48
|
-
function invokeEvaluatorResponseFromJSON(jsonString) {
|
|
49
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InvokeEvaluatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvokeEvaluatorResponse' from JSON`);
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=invokeevaluatorresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invokeevaluatorresponse.js","sourceRoot":"","sources":["../../src/models/components/invokeevaluatorresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCH,0EAQC;AA1CD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAG+B;AAkB/B,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type Document = {};
|
|
11
|
-
|
|
12
|
-
export type EvaluatorDocumentResponse = {
|
|
13
|
-
document?: Document | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const Document$inboundSchema: z.ZodType<
|
|
18
|
-
Document,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
unknown
|
|
21
|
-
> = z.object({});
|
|
22
|
-
|
|
23
|
-
export function documentFromJSON(
|
|
24
|
-
jsonString: string,
|
|
25
|
-
): SafeParseResult<Document, SDKValidationError> {
|
|
26
|
-
return safeParse(
|
|
27
|
-
jsonString,
|
|
28
|
-
(x) => Document$inboundSchema.parse(JSON.parse(x)),
|
|
29
|
-
`Failed to parse 'Document' from JSON`,
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const EvaluatorDocumentResponse$inboundSchema: z.ZodType<
|
|
35
|
-
EvaluatorDocumentResponse,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
unknown
|
|
38
|
-
> = z.object({
|
|
39
|
-
document: z.lazy(() => Document$inboundSchema).optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function evaluatorDocumentResponseFromJSON(
|
|
43
|
-
jsonString: string,
|
|
44
|
-
): SafeParseResult<EvaluatorDocumentResponse, SDKValidationError> {
|
|
45
|
-
return safeParse(
|
|
46
|
-
jsonString,
|
|
47
|
-
(x) => EvaluatorDocumentResponse$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
-
`Failed to parse 'EvaluatorDocumentResponse' from JSON`,
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type GetEvaluatorVersionResponseDocument = {};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* A dedicated message (not a reuse of EvaluatorDocumentResponse): the field
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* carries a version-activity envelope, not an evaluator document.
|
|
17
|
-
*/
|
|
18
|
-
export type GetEvaluatorVersionResponse = {
|
|
19
|
-
document?: GetEvaluatorVersionResponseDocument | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const GetEvaluatorVersionResponseDocument$inboundSchema: z.ZodType<
|
|
24
|
-
GetEvaluatorVersionResponseDocument,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({});
|
|
28
|
-
|
|
29
|
-
export function getEvaluatorVersionResponseDocumentFromJSON(
|
|
30
|
-
jsonString: string,
|
|
31
|
-
): SafeParseResult<GetEvaluatorVersionResponseDocument, SDKValidationError> {
|
|
32
|
-
return safeParse(
|
|
33
|
-
jsonString,
|
|
34
|
-
(x) =>
|
|
35
|
-
GetEvaluatorVersionResponseDocument$inboundSchema.parse(JSON.parse(x)),
|
|
36
|
-
`Failed to parse 'GetEvaluatorVersionResponseDocument' from JSON`,
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const GetEvaluatorVersionResponse$inboundSchema: z.ZodType<
|
|
42
|
-
GetEvaluatorVersionResponse,
|
|
43
|
-
z.ZodTypeDef,
|
|
44
|
-
unknown
|
|
45
|
-
> = z.object({
|
|
46
|
-
document: z.lazy(() => GetEvaluatorVersionResponseDocument$inboundSchema)
|
|
47
|
-
.optional(),
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export function getEvaluatorVersionResponseFromJSON(
|
|
51
|
-
jsonString: string,
|
|
52
|
-
): SafeParseResult<GetEvaluatorVersionResponse, SDKValidationError> {
|
|
53
|
-
return safeParse(
|
|
54
|
-
jsonString,
|
|
55
|
-
(x) => GetEvaluatorVersionResponse$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
-
`Failed to parse 'GetEvaluatorVersionResponse' from JSON`,
|
|
57
|
-
);
|
|
58
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EvaluationResult,
|
|
11
|
-
EvaluationResult$inboundSchema,
|
|
12
|
-
} from "./evaluationresult.js";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Response wrappers keep each RPC's response type distinct, so a future field
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* can be added to one without touching the other.
|
|
19
|
-
*/
|
|
20
|
-
export type InvokeEvaluatorResponse = {
|
|
21
|
-
/**
|
|
22
|
-
* The verdict. Shaped to match WorkflowRunMinifiedEvalSchema, the body the
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* TypeScript route returned, so existing consumers read the same JSON.
|
|
26
|
-
*/
|
|
27
|
-
result?: EvaluationResult | undefined;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export const InvokeEvaluatorResponse$inboundSchema: z.ZodType<
|
|
32
|
-
InvokeEvaluatorResponse,
|
|
33
|
-
z.ZodTypeDef,
|
|
34
|
-
unknown
|
|
35
|
-
> = z.object({
|
|
36
|
-
result: EvaluationResult$inboundSchema.optional(),
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export function invokeEvaluatorResponseFromJSON(
|
|
40
|
-
jsonString: string,
|
|
41
|
-
): SafeParseResult<InvokeEvaluatorResponse, SDKValidationError> {
|
|
42
|
-
return safeParse(
|
|
43
|
-
jsonString,
|
|
44
|
-
(x) => InvokeEvaluatorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
-
`Failed to parse 'InvokeEvaluatorResponse' from JSON`,
|
|
46
|
-
);
|
|
47
|
-
}
|