@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
|
@@ -24,6 +24,8 @@ export type PricingVariant = {
|
|
|
24
24
|
cacheWrite30m?: Price | undefined;
|
|
25
25
|
cacheWrite5m?: Price | undefined;
|
|
26
26
|
fetch?: Price | undefined;
|
|
27
|
+
imageCacheRead?: Price | undefined;
|
|
28
|
+
imageInput?: Price | undefined;
|
|
27
29
|
input?: Price | undefined;
|
|
28
30
|
output?: Price | undefined;
|
|
29
31
|
reasoning?: Price | undefined;
|
|
@@ -47,6 +49,8 @@ export const PricingVariant$inboundSchema: z.ZodType<
|
|
|
47
49
|
cache_write_30m: Price$inboundSchema.optional(),
|
|
48
50
|
cache_write_5m: Price$inboundSchema.optional(),
|
|
49
51
|
fetch: Price$inboundSchema.optional(),
|
|
52
|
+
image_cache_read: Price$inboundSchema.optional(),
|
|
53
|
+
image_input: Price$inboundSchema.optional(),
|
|
50
54
|
input: Price$inboundSchema.optional(),
|
|
51
55
|
output: Price$inboundSchema.optional(),
|
|
52
56
|
reasoning: Price$inboundSchema.optional(),
|
|
@@ -63,6 +67,8 @@ export const PricingVariant$inboundSchema: z.ZodType<
|
|
|
63
67
|
"cache_write_1h": "cacheWrite1h",
|
|
64
68
|
"cache_write_30m": "cacheWrite30m",
|
|
65
69
|
"cache_write_5m": "cacheWrite5m",
|
|
70
|
+
"image_cache_read": "imageCacheRead",
|
|
71
|
+
"image_input": "imageInput",
|
|
66
72
|
"text_input": "textInput",
|
|
67
73
|
});
|
|
68
74
|
});
|
|
@@ -77,6 +83,8 @@ export type PricingVariant$Outbound = {
|
|
|
77
83
|
cache_write_30m?: Price$Outbound | undefined;
|
|
78
84
|
cache_write_5m?: Price$Outbound | undefined;
|
|
79
85
|
fetch?: Price$Outbound | undefined;
|
|
86
|
+
image_cache_read?: Price$Outbound | undefined;
|
|
87
|
+
image_input?: Price$Outbound | undefined;
|
|
80
88
|
input?: Price$Outbound | undefined;
|
|
81
89
|
output?: Price$Outbound | undefined;
|
|
82
90
|
reasoning?: Price$Outbound | undefined;
|
|
@@ -100,6 +108,8 @@ export const PricingVariant$outboundSchema: z.ZodType<
|
|
|
100
108
|
cacheWrite30m: Price$outboundSchema.optional(),
|
|
101
109
|
cacheWrite5m: Price$outboundSchema.optional(),
|
|
102
110
|
fetch: Price$outboundSchema.optional(),
|
|
111
|
+
imageCacheRead: Price$outboundSchema.optional(),
|
|
112
|
+
imageInput: Price$outboundSchema.optional(),
|
|
103
113
|
input: Price$outboundSchema.optional(),
|
|
104
114
|
output: Price$outboundSchema.optional(),
|
|
105
115
|
reasoning: Price$outboundSchema.optional(),
|
|
@@ -116,6 +126,8 @@ export const PricingVariant$outboundSchema: z.ZodType<
|
|
|
116
126
|
cacheWrite1h: "cache_write_1h",
|
|
117
127
|
cacheWrite30m: "cache_write_30m",
|
|
118
128
|
cacheWrite5m: "cache_write_5m",
|
|
129
|
+
imageCacheRead: "image_cache_read",
|
|
130
|
+
imageInput: "image_input",
|
|
119
131
|
textInput: "text_input",
|
|
120
132
|
});
|
|
121
133
|
});
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m6r843e3kgfmvx9y2ap4ms5e"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -11,7 +11,7 @@ export type ErrorResponseData = {
|
|
|
11
11
|
*/
|
|
12
12
|
message: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Numeric error code, when one is available.
|
|
15
15
|
*/
|
|
16
16
|
code?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -22,7 +22,7 @@ export type ErrorResponseData = {
|
|
|
22
22
|
|
|
23
23
|
export class ErrorResponse extends OrqError {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Numeric error code, when one is available.
|
|
26
26
|
*/
|
|
27
27
|
code?: number | undefined;
|
|
28
28
|
/**
|
|
@@ -24,6 +24,10 @@ export type CreateEvalRequestBodyType = ClosedEnum<
|
|
|
24
24
|
>;
|
|
25
25
|
|
|
26
26
|
export type Python = {
|
|
27
|
+
/**
|
|
28
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
29
|
+
*/
|
|
30
|
+
timeout?: number | null | undefined;
|
|
27
31
|
guardrailConfig?: any | undefined;
|
|
28
32
|
outputType?: OutputType | undefined;
|
|
29
33
|
code: string;
|
|
@@ -107,6 +111,10 @@ export type OneJury = {
|
|
|
107
111
|
};
|
|
108
112
|
|
|
109
113
|
export type LLMJury = {
|
|
114
|
+
/**
|
|
115
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
116
|
+
*/
|
|
117
|
+
timeout?: number | null | undefined;
|
|
110
118
|
guardrailConfig?: any | undefined;
|
|
111
119
|
/**
|
|
112
120
|
* The type of output expected from the evaluator
|
|
@@ -157,6 +165,10 @@ export type CreateEval1CategoricalLabels = {
|
|
|
157
165
|
};
|
|
158
166
|
|
|
159
167
|
export type Llm = {
|
|
168
|
+
/**
|
|
169
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
170
|
+
*/
|
|
171
|
+
timeout?: number | null | undefined;
|
|
160
172
|
guardrailConfig?: any | undefined;
|
|
161
173
|
/**
|
|
162
174
|
* The type of output expected from the evaluator
|
|
@@ -209,6 +221,7 @@ export const CreateEvalRequestBodyType$outboundSchema: z.ZodNativeEnum<
|
|
|
209
221
|
|
|
210
222
|
/** @internal */
|
|
211
223
|
export type Python$Outbound = {
|
|
224
|
+
timeout?: number | null | undefined;
|
|
212
225
|
guardrail_config?: any | undefined;
|
|
213
226
|
output_type?: string | undefined;
|
|
214
227
|
code: string;
|
|
@@ -225,6 +238,7 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
225
238
|
z.ZodTypeDef,
|
|
226
239
|
Python
|
|
227
240
|
> = z.object({
|
|
241
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
228
242
|
guardrailConfig: z.any().optional(),
|
|
229
243
|
outputType: OutputType$outboundSchema.optional(),
|
|
230
244
|
code: z.string(),
|
|
@@ -457,6 +471,7 @@ export function oneJuryToJSON(oneJury: OneJury): string {
|
|
|
457
471
|
|
|
458
472
|
/** @internal */
|
|
459
473
|
export type LLMJury$Outbound = {
|
|
474
|
+
timeout?: number | null | undefined;
|
|
460
475
|
guardrail_config?: any | undefined;
|
|
461
476
|
output_type?: string | undefined;
|
|
462
477
|
type: string;
|
|
@@ -479,6 +494,7 @@ export const LLMJury$outboundSchema: z.ZodType<
|
|
|
479
494
|
z.ZodTypeDef,
|
|
480
495
|
LLMJury
|
|
481
496
|
> = z.object({
|
|
497
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
482
498
|
guardrailConfig: z.any().optional(),
|
|
483
499
|
outputType: OneOutputType$outboundSchema.optional(),
|
|
484
500
|
type: CreateEval1Type$outboundSchema,
|
|
@@ -546,6 +562,7 @@ export function createEval1CategoricalLabelsToJSON(
|
|
|
546
562
|
|
|
547
563
|
/** @internal */
|
|
548
564
|
export type Llm$Outbound = {
|
|
565
|
+
timeout?: number | null | undefined;
|
|
549
566
|
guardrail_config?: any | undefined;
|
|
550
567
|
output_type?: string | undefined;
|
|
551
568
|
type: string;
|
|
@@ -568,6 +585,7 @@ export type Llm$Outbound = {
|
|
|
568
585
|
/** @internal */
|
|
569
586
|
export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
|
|
570
587
|
.object({
|
|
588
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
571
589
|
guardrailConfig: z.any().optional(),
|
|
572
590
|
outputType: CreateEval1OutputType$outboundSchema.optional(),
|
|
573
591
|
type: OneType$outboundSchema,
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M6R843GJJFT4GS7SEC174X81"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M6R843GH6V0DCMS756Q3HHKZ"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M6R843GHP6MKPE09K6GNJYV4"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M6R843GHKVY831JXQC982PR7"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M6R843GEDSQEKD2FFD48E4P6"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M6R843GE2NX3BHH6J60ADF46"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M6R843GDN36T4CEA77AVW4M9"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M6R843GDAYNWAANFCT56AH9V"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -46,6 +46,10 @@ export type BedrockGuardrail = {
|
|
|
46
46
|
* Unique identifier of the project owning this evaluator.
|
|
47
47
|
*/
|
|
48
48
|
projectId?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
51
|
+
*/
|
|
52
|
+
timeout?: number | null | undefined;
|
|
49
53
|
guardrailConfig?: any | undefined;
|
|
50
54
|
outputType?:
|
|
51
55
|
| GetEvalResponseBodyEvalsResponse200ApplicationJson8OutputType
|
|
@@ -99,6 +103,10 @@ export type Typescript = {
|
|
|
99
103
|
* Unique identifier of the project owning this evaluator.
|
|
100
104
|
*/
|
|
101
105
|
projectId?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
108
|
+
*/
|
|
109
|
+
timeout?: number | null | undefined;
|
|
102
110
|
guardrailConfig?: any | undefined;
|
|
103
111
|
/**
|
|
104
112
|
* The type of output expected from the evaluator
|
|
@@ -144,6 +152,10 @@ export type ResponseBodyPython = {
|
|
|
144
152
|
* Unique identifier of the project owning this evaluator.
|
|
145
153
|
*/
|
|
146
154
|
projectId?: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
157
|
+
*/
|
|
158
|
+
timeout?: number | null | undefined;
|
|
147
159
|
guardrailConfig?: any | undefined;
|
|
148
160
|
outputType?:
|
|
149
161
|
| GetEvalResponseBodyEvalsResponse200ApplicationJSONOutputType
|
|
@@ -199,6 +211,10 @@ export type GetEvalResponseBodyHTTP = {
|
|
|
199
211
|
* Unique identifier of the project owning this evaluator.
|
|
200
212
|
*/
|
|
201
213
|
projectId?: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
216
|
+
*/
|
|
217
|
+
timeout?: number | null | undefined;
|
|
202
218
|
guardrailConfig?: any | undefined;
|
|
203
219
|
/**
|
|
204
220
|
* The type of output expected from the evaluator
|
|
@@ -243,6 +259,10 @@ export type Json = {
|
|
|
243
259
|
* Unique identifier of the project owning this evaluator.
|
|
244
260
|
*/
|
|
245
261
|
projectId?: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
264
|
+
*/
|
|
265
|
+
timeout?: number | null | undefined;
|
|
246
266
|
guardrailConfig?: any | undefined;
|
|
247
267
|
outputType?: GetEvalResponseBodyEvalsResponseOutputType | undefined;
|
|
248
268
|
type: "json_schema";
|
|
@@ -302,6 +322,10 @@ export type Ragas = {
|
|
|
302
322
|
* Unique identifier of the project owning this evaluator.
|
|
303
323
|
*/
|
|
304
324
|
projectId?: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
327
|
+
*/
|
|
328
|
+
timeout?: number | null | undefined;
|
|
305
329
|
guardrailConfig?: any | undefined;
|
|
306
330
|
outputType?: GetEvalResponseBodyEvalsOutputType | undefined;
|
|
307
331
|
type: "ragas";
|
|
@@ -518,6 +542,10 @@ export type GetEvalResponseBodyFunction = {
|
|
|
518
542
|
* Unique identifier of the project owning this evaluator.
|
|
519
543
|
*/
|
|
520
544
|
projectId?: string | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
547
|
+
*/
|
|
548
|
+
timeout?: number | null | undefined;
|
|
521
549
|
guardrailConfig?: any | undefined;
|
|
522
550
|
outputType: GetEvalResponseBodyOutputType;
|
|
523
551
|
type: "function_eval";
|
|
@@ -735,6 +763,10 @@ export type ResponseBodyLLM = {
|
|
|
735
763
|
* Unique identifier of the project owning this evaluator.
|
|
736
764
|
*/
|
|
737
765
|
projectId?: string | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
768
|
+
*/
|
|
769
|
+
timeout?: number | null | undefined;
|
|
738
770
|
guardrailConfig?: any | undefined;
|
|
739
771
|
/**
|
|
740
772
|
* The type of output expected from the evaluator
|
|
@@ -849,6 +881,7 @@ export const BedrockGuardrail$inboundSchema: z.ZodType<
|
|
|
849
881
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
850
882
|
domain_id: z.string(),
|
|
851
883
|
project_id: z.string().optional(),
|
|
884
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
852
885
|
guardrail_config: z.any().optional(),
|
|
853
886
|
output_type:
|
|
854
887
|
GetEvalResponseBodyEvalsResponse200ApplicationJson8OutputType$inboundSchema
|
|
@@ -952,6 +985,7 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
952
985
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
953
986
|
domain_id: z.string(),
|
|
954
987
|
project_id: z.string().optional(),
|
|
988
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
955
989
|
guardrail_config: z.any().optional(),
|
|
956
990
|
output_type:
|
|
957
991
|
GetEvalResponseBodyEvalsResponse200ApplicationJson7OutputType$inboundSchema
|
|
@@ -1048,6 +1082,7 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
1048
1082
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1049
1083
|
domain_id: z.string(),
|
|
1050
1084
|
project_id: z.string().optional(),
|
|
1085
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
1051
1086
|
guardrail_config: z.any().optional(),
|
|
1052
1087
|
output_type:
|
|
1053
1088
|
GetEvalResponseBodyEvalsResponse200ApplicationJSONOutputType$inboundSchema
|
|
@@ -1147,6 +1182,7 @@ export const GetEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
1147
1182
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1148
1183
|
domain_id: z.string(),
|
|
1149
1184
|
project_id: z.string().optional(),
|
|
1185
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
1150
1186
|
guardrail_config: z.any().optional(),
|
|
1151
1187
|
output_type: GetEvalResponseBodyEvalsResponse200OutputType$inboundSchema
|
|
1152
1188
|
.optional(),
|
|
@@ -1239,6 +1275,7 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
1239
1275
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1240
1276
|
domain_id: z.string(),
|
|
1241
1277
|
project_id: z.string().optional(),
|
|
1278
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
1242
1279
|
guardrail_config: z.any().optional(),
|
|
1243
1280
|
output_type: GetEvalResponseBodyEvalsResponseOutputType$inboundSchema
|
|
1244
1281
|
.optional(),
|
|
@@ -1348,6 +1385,7 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
1348
1385
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1349
1386
|
domain_id: z.string(),
|
|
1350
1387
|
project_id: z.string().optional(),
|
|
1388
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
1351
1389
|
guardrail_config: z.any().optional(),
|
|
1352
1390
|
output_type: GetEvalResponseBodyEvalsOutputType$inboundSchema.optional(),
|
|
1353
1391
|
type: z.literal("ragas"),
|
|
@@ -2073,6 +2111,7 @@ export const GetEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2073
2111
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2074
2112
|
domain_id: z.string(),
|
|
2075
2113
|
project_id: z.string().optional(),
|
|
2114
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
2076
2115
|
guardrail_config: z.any().optional(),
|
|
2077
2116
|
output_type: GetEvalResponseBodyOutputType$inboundSchema,
|
|
2078
2117
|
type: z.literal("function_eval"),
|
|
@@ -2735,6 +2774,7 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
2735
2774
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2736
2775
|
domain_id: z.string(),
|
|
2737
2776
|
project_id: z.string().optional(),
|
|
2777
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
2738
2778
|
guardrail_config: z.any().optional(),
|
|
2739
2779
|
output_type: ResponseBodyOutputType$inboundSchema.optional(),
|
|
2740
2780
|
type: z.literal("llm_eval"),
|
|
@@ -2531,7 +2531,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2531
2531
|
z.ZodTypeDef,
|
|
2532
2532
|
unknown
|
|
2533
2533
|
> = z.object({
|
|
2534
|
-
id: z.string().default("
|
|
2534
|
+
id: z.string().default("01M6R843DCQXHGDEZHPMDBRDEC"),
|
|
2535
2535
|
knowledge_id: z.string(),
|
|
2536
2536
|
configuration: z.union([
|
|
2537
2537
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M6R843GS0TWB5FAMM5TG5Q14"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M6R843GR4JB4E1W85454PXSJ"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M6R843GR220Z79ERJMCJEVFE"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M6R843GQZVQ0SJ2S4BAT9VPS"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3918,7 +3918,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3918
3918
|
z.ZodTypeDef,
|
|
3919
3919
|
Tools
|
|
3920
3920
|
> = z.object({
|
|
3921
|
-
id: z.string().default("
|
|
3921
|
+
id: z.string().default("01M6R843F49GVCC3JSADX5M750"),
|
|
3922
3922
|
name: z.string(),
|
|
3923
3923
|
description: z.string().optional(),
|
|
3924
3924
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3977,7 +3977,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3977
3977
|
z.ZodTypeDef,
|
|
3978
3978
|
AgentToolInputRunTools
|
|
3979
3979
|
> = z.object({
|
|
3980
|
-
id: z.string().default("
|
|
3980
|
+
id: z.string().default("01M6R843FGD19A2YMT8Y12QRP5"),
|
|
3981
3981
|
name: z.string(),
|
|
3982
3982
|
description: z.string().optional(),
|
|
3983
3983
|
schema: z.lazy(() =>
|
|
@@ -102,6 +102,10 @@ export type UpdateEvalRequestBody = {
|
|
|
102
102
|
headers?: { [k: string]: string } | undefined;
|
|
103
103
|
payload?: { [k: string]: any } | undefined;
|
|
104
104
|
code?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
|
|
107
|
+
*/
|
|
108
|
+
timeout?: number | null | undefined;
|
|
105
109
|
guardrailConfig?: any | undefined;
|
|
106
110
|
versionIncrement?: UpdateEvalVersionIncrement | undefined;
|
|
107
111
|
versionDescription?: string | undefined;
|
|
@@ -360,6 +364,7 @@ export type UpdateEvalRequestBody$Outbound = {
|
|
|
360
364
|
headers?: { [k: string]: string } | undefined;
|
|
361
365
|
payload?: { [k: string]: any } | undefined;
|
|
362
366
|
code?: string | undefined;
|
|
367
|
+
timeout?: number | null | undefined;
|
|
363
368
|
guardrail_config?: any | undefined;
|
|
364
369
|
versionIncrement?: string | undefined;
|
|
365
370
|
versionDescription?: string | undefined;
|
|
@@ -393,6 +398,7 @@ export const UpdateEvalRequestBody$outboundSchema: z.ZodType<
|
|
|
393
398
|
headers: z.record(z.string()).optional(),
|
|
394
399
|
payload: z.record(z.any()).optional(),
|
|
395
400
|
code: z.string().optional(),
|
|
401
|
+
timeout: z.nullable(z.number().int()).optional(),
|
|
396
402
|
guardrailConfig: z.any().optional(),
|
|
397
403
|
versionIncrement: UpdateEvalVersionIncrement$outboundSchema.optional(),
|
|
398
404
|
versionDescription: z.string().optional(),
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M6R843GMA59EEF9D9J9RT84M"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M6R843GM3WF23D089VM1F29B"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M6R843GK7HAR6XB21CE373FZ"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M6R843GKRT4BYWK93Z4P2QT6"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -316,7 +316,7 @@ export class Experiments extends ClientSDK {
|
|
|
316
316
|
* Execute a run
|
|
317
317
|
*
|
|
318
318
|
* @remarks
|
|
319
|
-
* 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
|
|
319
|
+
* 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.
|
|
320
320
|
*/
|
|
321
321
|
async executeRun(
|
|
322
322
|
request: operations.ExperimentRunExecuteRequest,
|
|
@@ -145,7 +145,7 @@ export class Models extends ClientSDK {
|
|
|
145
145
|
* Create OpenAI-compatible custom model
|
|
146
146
|
*
|
|
147
147
|
* @remarks
|
|
148
|
-
* Creates a custom model backed by any OpenAI-compatible endpoint.
|
|
148
|
+
* Creates a custom model backed by any OpenAI-compatible endpoint. Orq.ai calls the target API with the supplied credentials before saving the model.
|
|
149
149
|
*/
|
|
150
150
|
async createOpenaiLike(
|
|
151
151
|
request: operations.ModelCreateOpenAILikeRequestBody,
|
package/src/lib/config.ts
CHANGED
|
@@ -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.17.
|
|
61
|
+
sdkVersion: "4.17.26",
|
|
62
62
|
genVersion: "2.956.1",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.17.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.17.26 2.956.1 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m6re7en084tp0xfxse2yvxrr"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M6RE7ERA1W4GZMDW4RT7V5BV"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M6RE7ER9JQ26G96ECMDMB5RY"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M6RE7ER9HT4K9NNP9FE3NTRE"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M6RE7ER82NQ2CRK7GJR340S8"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M6RE7ER576CT8VTRT191FCE2"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M6RE7ER23A7FW7PG27KMA1K8"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M6RE7ER2SW2F4GECTG5Q468H"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M6RE7ER17TRCJ6QQV48RQEGM"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-11-
|
|
143
|
+
"2026-11-06T12:44:30.766Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-11-
|
|
188
|
+
"2026-11-06T12:44:30.766Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-11-
|
|
144
|
+
"2026-11-06T12:44:30.766Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-11-
|
|
189
|
+
"2026-11-06T12:44:30.766Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|