@orq-ai/node 4.17.25 → 4.17.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +5 -5
- package/packages/orq-rc/src/funcs/experimentsExecuteRun.ts +1 -1
- package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/budgetlimits.ts +1 -1
- package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/budgetrestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +1 -1
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +5 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +5 -0
- package/packages/orq-rc/src/models/components/fileentry.ts +3 -3
- package/packages/orq-rc/src/models/components/identity.ts +1 -1
- package/packages/orq-rc/src/models/components/patchreviewcellrequest.ts +3 -0
- package/packages/orq-rc/src/models/components/pricing.ts +12 -0
- package/packages/orq-rc/src/models/components/pricingvariant.ts +12 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/errorresponse.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +18 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/geteval.ts +40 -0
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +6 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/experiments.ts +1 -1
- package/packages/orq-rc/src/sdk/models.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- 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/updatetool.ts +4 -4
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.17.
|
|
34
|
+
readonly sdkVersion: "4.17.26";
|
|
35
35
|
readonly genVersion: "2.956.1";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.17.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.17.26 2.956.1 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.17.
|
|
31
|
+
sdkVersion: "4.17.26",
|
|
32
32
|
genVersion: "2.956.1",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.17.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.17.26 2.956.1 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m6re7en084tp0xfxse2yvxrr"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M6RE7ERA1W4GZMDW4RT7V5BV"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M6RE7ER9JQ26G96ECMDMB5RY"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M6RE7ER9HT4K9NNP9FE3NTRE"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M6RE7ER82NQ2CRK7GJR340S8"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M6RE7ER576CT8VTRT191FCE2"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M6RE7ER23A7FW7PG27KMA1K8"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M6RE7ER2SW2F4GECTG5Q468H"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M6RE7ER17TRCJ6QQV48RQEGM"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -1013,7 +1013,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
/** @internal */
|
|
1015
1015
|
exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
|
|
1016
|
-
id: z.string().default("
|
|
1016
|
+
id: z.string().default("01M6RE7EM0MGMJXYMWNF8XXCBA"),
|
|
1017
1017
|
knowledge_id: z.string(),
|
|
1018
1018
|
configuration: z.union([
|
|
1019
1019
|
z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-11-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-11-06T12:44:30.766Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M6RE7ERM3ZH9EB2879MRMCWN"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M6RE7ERKKJT96JGQEPZM0700"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M6RE7ERKNCHMGDS87K97J74J"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M6RE7ERKAM5W48RC14GV8GHM"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1104,7 +1104,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
/** @internal */
|
|
1106
1106
|
exports.Tools$outboundSchema = z.object({
|
|
1107
|
-
id: z.string().default("
|
|
1107
|
+
id: z.string().default("01M6RE7EPA6J7QQHZH00B8KBYY"),
|
|
1108
1108
|
name: z.string(),
|
|
1109
1109
|
description: z.string().optional(),
|
|
1110
1110
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1070,7 +1070,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1070
1070
|
}
|
|
1071
1071
|
/** @internal */
|
|
1072
1072
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1073
|
-
id: z.string().default("
|
|
1073
|
+
id: z.string().default("01M6RE7EPTDKB723G4Q1WX4QWA"),
|
|
1074
1074
|
name: z.string(),
|
|
1075
1075
|
description: z.string().optional(),
|
|
1076
1076
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M6RE7EREN4BPCHMT99600732"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M6RE7ERDCSHFSM3CW4DH25V6"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M6RE7ERDJNCEPFSD9SFPBPCY"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M6RE7ERCJWT6K70F210TC62P"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.26",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
|
-
"types": "./index.d.ts",
|
|
8
7
|
"import": "./index.js",
|
|
9
|
-
"require": "./index.js"
|
|
8
|
+
"require": "./index.js",
|
|
9
|
+
"types": "./index.d.ts"
|
|
10
10
|
},
|
|
11
11
|
"./*": "./*",
|
|
12
12
|
"./langchain": {
|
|
13
|
+
"require": "./langchain/index.js",
|
|
13
14
|
"types": "./langchain/index.d.mts",
|
|
14
|
-
"import": "./langchain/index.mjs"
|
|
15
|
-
"require": "./langchain/index.js"
|
|
15
|
+
"import": "./langchain/index.mjs"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Execute a run
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Executes cells at the requested scope. FULL, PARTIAL, ROW and COLUMN queue the matching cells (a task column also queues its linked evaluator, metric and review cells) and start the orchestrator, which also re-runs failed cells of every row it picks up
|
|
34
|
+
* Executes cells at the requested scope. FULL, PARTIAL, ROW and COLUMN queue the matching cells (a task column also queues its linked evaluator, metric and review cells) and start the orchestrator, which also re-runs failed cells of every row it picks up. A run that is already queued or running rejects new execution until it finishes or is cancelled. CELL re-runs one task or evaluator cell in place. Re-executing a terminal run does not require creating a new run.
|
|
35
35
|
*/
|
|
36
36
|
export function experimentsExecuteRun(
|
|
37
37
|
client: OrqCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create OpenAI-compatible custom model
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates a custom model backed by any OpenAI-compatible endpoint.
|
|
32
|
+
* Creates a custom model backed by any OpenAI-compatible endpoint. Orq.ai calls the target API with the supplied credentials before saving the model.
|
|
33
33
|
*/
|
|
34
34
|
export function modelsCreateOpenaiLike(
|
|
35
35
|
client: OrqCore,
|
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.18.0-rc.
|
|
61
|
+
sdkVersion: "4.18.0-rc.46",
|
|
62
62
|
genVersion: "2.956.1",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.46 2.956.1 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
20
|
* of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
|
|
21
|
-
* set on a Budget; that
|
|
21
|
+
* set on a Budget; the API rejects a budget that sets none of the three.
|
|
22
22
|
*/
|
|
23
23
|
export type BudgetLimits = {
|
|
24
24
|
period?: BudgetPeriod | undefined;
|
|
@@ -13,7 +13,7 @@ import { BudgetPeriod, BudgetPeriod$inboundSchema } from "./budgetperiod.js";
|
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
|
|
16
|
-
* set on a Budget; that
|
|
16
|
+
* set on a Budget; the API rejects a budget that sets none of the three.
|
|
17
17
|
*/
|
|
18
18
|
export type BudgetLimitsRestResponse = {
|
|
19
19
|
period?: BudgetPeriod | undefined;
|
|
@@ -54,7 +54,7 @@ export type BudgetRestResponse = {
|
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
56
|
* of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
|
|
57
|
-
* set on a Budget; that
|
|
57
|
+
* set on a Budget; the API rejects a budget that sets none of the three.
|
|
58
58
|
*/
|
|
59
59
|
limits: BudgetLimitsRestResponse;
|
|
60
60
|
/**
|
|
@@ -70,7 +70,7 @@ export type CreateBudgetRequest = {
|
|
|
70
70
|
* Optional expiration. When set in combination with is_active=true,
|
|
71
71
|
*
|
|
72
72
|
* @remarks
|
|
73
|
-
* the value MUST be in the future; the
|
|
73
|
+
* the value MUST be in the future; the API rejects a past value.
|
|
74
74
|
*/
|
|
75
75
|
expiresAt?: Date | undefined;
|
|
76
76
|
/**
|
|
@@ -209,6 +209,10 @@ export type EvaluatorResponseFunction = {
|
|
|
209
209
|
* Unique identifier of the project owning this evaluator.
|
|
210
210
|
*/
|
|
211
211
|
projectId?: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
214
|
+
*/
|
|
215
|
+
timeout?: number | null | undefined;
|
|
212
216
|
guardrailConfig?: any | undefined;
|
|
213
217
|
type: "function_eval";
|
|
214
218
|
/**
|
|
@@ -896,6 +900,7 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
|
|
|
896
900
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
897
901
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
898
902
|
project_id: z.string().optional(),
|
|
903
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
899
904
|
guardrail_config: z.any().optional(),
|
|
900
905
|
type: z.literal("function_eval"),
|
|
901
906
|
output_type: EvaluatorResponseFunctionOutputType$inboundSchema,
|
|
@@ -41,6 +41,10 @@ export type EvaluatorResponseHttp = {
|
|
|
41
41
|
* Unique identifier of the project owning this evaluator.
|
|
42
42
|
*/
|
|
43
43
|
projectId?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
46
|
+
*/
|
|
47
|
+
timeout?: number | null | undefined;
|
|
44
48
|
guardrailConfig?: any | undefined;
|
|
45
49
|
type: "http_eval";
|
|
46
50
|
/**
|
|
@@ -75,6 +79,7 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
|
|
|
75
79
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
76
80
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
77
81
|
project_id: z.string().optional(),
|
|
82
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
78
83
|
guardrail_config: z.any().optional(),
|
|
79
84
|
type: z.literal("http_eval"),
|
|
80
85
|
output_type: EvaluatorResponseHttpOutputType$inboundSchema,
|
|
@@ -35,6 +35,10 @@ export type EvaluatorResponseJsonSchema = {
|
|
|
35
35
|
* Unique identifier of the project owning this evaluator.
|
|
36
36
|
*/
|
|
37
37
|
projectId?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
40
|
+
*/
|
|
41
|
+
timeout?: number | null | undefined;
|
|
38
42
|
guardrailConfig?: any | undefined;
|
|
39
43
|
type: "json_schema";
|
|
40
44
|
/**
|
|
@@ -63,6 +67,7 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
|
|
|
63
67
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
64
68
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
65
69
|
project_id: z.string().optional(),
|
|
70
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
66
71
|
guardrail_config: z.any().optional(),
|
|
67
72
|
type: z.literal("json_schema"),
|
|
68
73
|
output_type: EvaluatorResponseJsonSchemaOutputType$inboundSchema,
|
|
@@ -86,6 +86,10 @@ export type EvaluatorResponseLlm = {
|
|
|
86
86
|
* Unique identifier of the project owning this evaluator.
|
|
87
87
|
*/
|
|
88
88
|
projectId?: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
91
|
+
*/
|
|
92
|
+
timeout?: number | null | undefined;
|
|
89
93
|
guardrailConfig?: any | undefined;
|
|
90
94
|
type: "llm_eval";
|
|
91
95
|
/**
|
|
@@ -297,6 +301,7 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
|
|
|
297
301
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
298
302
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
299
303
|
project_id: z.string().optional(),
|
|
304
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
300
305
|
guardrail_config: z.any().optional(),
|
|
301
306
|
type: z.literal("llm_eval"),
|
|
302
307
|
output_type: OutputType$inboundSchema,
|
|
@@ -35,6 +35,10 @@ export type EvaluatorResponsePython = {
|
|
|
35
35
|
* Unique identifier of the project owning this evaluator.
|
|
36
36
|
*/
|
|
37
37
|
projectId?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
40
|
+
*/
|
|
41
|
+
timeout?: number | null | undefined;
|
|
38
42
|
guardrailConfig?: any | undefined;
|
|
39
43
|
code: string;
|
|
40
44
|
type: "python_eval";
|
|
@@ -62,6 +66,7 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
|
|
|
62
66
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
63
67
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
64
68
|
project_id: z.string().optional(),
|
|
69
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
65
70
|
guardrail_config: z.any().optional(),
|
|
66
71
|
code: z.string(),
|
|
67
72
|
type: z.literal("python_eval"),
|
|
@@ -51,6 +51,10 @@ export type EvaluatorResponseRagas = {
|
|
|
51
51
|
* Unique identifier of the project owning this evaluator.
|
|
52
52
|
*/
|
|
53
53
|
projectId?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
56
|
+
*/
|
|
57
|
+
timeout?: number | null | undefined;
|
|
54
58
|
guardrailConfig?: any | undefined;
|
|
55
59
|
type: "ragas";
|
|
56
60
|
/**
|
|
@@ -83,6 +87,7 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
|
|
|
83
87
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
84
88
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
85
89
|
project_id: z.string().optional(),
|
|
90
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
86
91
|
guardrail_config: z.any().optional(),
|
|
87
92
|
type: z.literal("ragas"),
|
|
88
93
|
output_type: EvaluatorResponseRagasOutputType$inboundSchema,
|
|
@@ -35,6 +35,10 @@ export type EvaluatorResponseTypescript = {
|
|
|
35
35
|
* Unique identifier of the project owning this evaluator.
|
|
36
36
|
*/
|
|
37
37
|
projectId?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
40
|
+
*/
|
|
41
|
+
timeout?: number | null | undefined;
|
|
38
42
|
guardrailConfig?: any | undefined;
|
|
39
43
|
code: string;
|
|
40
44
|
type: "typescript_eval";
|
|
@@ -63,6 +67,7 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
|
|
|
63
67
|
updated: z.string().default("2026-08-05T15:12:51.947Z"),
|
|
64
68
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
65
69
|
project_id: z.string().optional(),
|
|
70
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
66
71
|
guardrail_config: z.any().optional(),
|
|
67
72
|
code: z.string(),
|
|
68
73
|
type: z.literal("typescript_eval"),
|
|
@@ -24,11 +24,11 @@ export const FileEntryType = {
|
|
|
24
24
|
export type FileEntryType = ClosedEnum<typeof FileEntryType>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* The file content messages below
|
|
27
|
+
* The file content messages below share one shape. `path` is always relative
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* to the file system root; an absolute path or a `..` segment is refused rather
|
|
31
|
+
* than clamped.
|
|
32
32
|
*/
|
|
33
33
|
export type FileEntry = {
|
|
34
34
|
/**
|
|
@@ -53,7 +53,7 @@ export type Budget = {
|
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
55
|
* of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
|
|
56
|
-
* set on a Budget; that
|
|
56
|
+
* set on a Budget; the API rejects a budget that sets none of the three.
|
|
57
57
|
*/
|
|
58
58
|
limits: BudgetLimits;
|
|
59
59
|
/**
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
|
|
7
7
|
export type PatchReviewCellRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Human review value. type is required: range uses {type: range, value: number}; single- and multi-select use {type: categorical, value: string} or {type: categorical, values: [{value: string, sentiment: string}]}; text and correction use {type: free_form_text, text: string}.
|
|
10
|
+
*/
|
|
8
11
|
value?: { [k: string]: any } | undefined;
|
|
9
12
|
};
|
|
10
13
|
|
|
@@ -30,6 +30,8 @@ export type Pricing = {
|
|
|
30
30
|
cacheWrite30m?: Price | undefined;
|
|
31
31
|
cacheWrite5m?: Price | undefined;
|
|
32
32
|
fetch?: Price | undefined;
|
|
33
|
+
imageCacheRead?: Price | undefined;
|
|
34
|
+
imageInput?: Price | undefined;
|
|
33
35
|
input?: Price | undefined;
|
|
34
36
|
output?: Price | undefined;
|
|
35
37
|
reasoning?: Price | undefined;
|
|
@@ -50,6 +52,8 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
|
|
|
50
52
|
cache_write_30m: Price$inboundSchema.optional(),
|
|
51
53
|
cache_write_5m: Price$inboundSchema.optional(),
|
|
52
54
|
fetch: Price$inboundSchema.optional(),
|
|
55
|
+
image_cache_read: Price$inboundSchema.optional(),
|
|
56
|
+
image_input: Price$inboundSchema.optional(),
|
|
53
57
|
input: Price$inboundSchema.optional(),
|
|
54
58
|
output: Price$inboundSchema.optional(),
|
|
55
59
|
reasoning: Price$inboundSchema.optional(),
|
|
@@ -66,6 +70,8 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
|
|
|
66
70
|
"cache_write_1h": "cacheWrite1h",
|
|
67
71
|
"cache_write_30m": "cacheWrite30m",
|
|
68
72
|
"cache_write_5m": "cacheWrite5m",
|
|
73
|
+
"image_cache_read": "imageCacheRead",
|
|
74
|
+
"image_input": "imageInput",
|
|
69
75
|
"text_input": "textInput",
|
|
70
76
|
});
|
|
71
77
|
});
|
|
@@ -80,6 +86,8 @@ export type Pricing$Outbound = {
|
|
|
80
86
|
cache_write_30m?: Price$Outbound | undefined;
|
|
81
87
|
cache_write_5m?: Price$Outbound | undefined;
|
|
82
88
|
fetch?: Price$Outbound | undefined;
|
|
89
|
+
image_cache_read?: Price$Outbound | undefined;
|
|
90
|
+
image_input?: Price$Outbound | undefined;
|
|
83
91
|
input?: Price$Outbound | undefined;
|
|
84
92
|
output?: Price$Outbound | undefined;
|
|
85
93
|
reasoning?: Price$Outbound | undefined;
|
|
@@ -103,6 +111,8 @@ export const Pricing$outboundSchema: z.ZodType<
|
|
|
103
111
|
cacheWrite30m: Price$outboundSchema.optional(),
|
|
104
112
|
cacheWrite5m: Price$outboundSchema.optional(),
|
|
105
113
|
fetch: Price$outboundSchema.optional(),
|
|
114
|
+
imageCacheRead: Price$outboundSchema.optional(),
|
|
115
|
+
imageInput: Price$outboundSchema.optional(),
|
|
106
116
|
input: Price$outboundSchema.optional(),
|
|
107
117
|
output: Price$outboundSchema.optional(),
|
|
108
118
|
reasoning: Price$outboundSchema.optional(),
|
|
@@ -119,6 +129,8 @@ export const Pricing$outboundSchema: z.ZodType<
|
|
|
119
129
|
cacheWrite1h: "cache_write_1h",
|
|
120
130
|
cacheWrite30m: "cache_write_30m",
|
|
121
131
|
cacheWrite5m: "cache_write_5m",
|
|
132
|
+
imageCacheRead: "image_cache_read",
|
|
133
|
+
imageInput: "image_input",
|
|
122
134
|
textInput: "text_input",
|
|
123
135
|
});
|
|
124
136
|
});
|