@orq-ai/node 3.2.0-rc.12 → 3.2.0-rc.14
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/README.md +1 -1
- package/bin/mcp-server.js +644 -624
- package/bin/mcp-server.js.map +27 -27
- package/docs/sdks/prompts/README.md +110 -110
- package/funcs/promptsList.js +1 -1
- package/funcs/promptsList.js.map +1 -1
- 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 +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createprompt.d.ts +343 -333
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +470 -469
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +5 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +5 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +5 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +5 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +5 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listpromptversions.d.ts +5 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updateprompt.d.ts +343 -333
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +473 -468
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +4 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +6 -6
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/promptsList.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- 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/createprompt.ts +728 -629
- package/src/models/operations/deploymentgetconfig.ts +7 -0
- package/src/models/operations/deployments.ts +7 -0
- 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/getallprompts.ts +7 -0
- package/src/models/operations/getoneprompt.ts +7 -0
- package/src/models/operations/getpromptversion.ts +7 -0
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listpromptversions.ts +7 -0
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updateprompt.ts +643 -716
- package/src/sdk/prompts.ts +14 -14
|
@@ -618,6 +618,10 @@ export type ParametersT = {
|
|
|
618
618
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
619
619
|
*/
|
|
620
620
|
reasoningEffort?: DeploymentGetConfigReasoningEffort | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
623
|
+
*/
|
|
624
|
+
budgetTokens?: number | undefined;
|
|
621
625
|
};
|
|
622
626
|
|
|
623
627
|
/**
|
|
@@ -3217,6 +3221,7 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
3217
3221
|
.optional(),
|
|
3218
3222
|
encoding_format: DeploymentGetConfigEncodingFormat$inboundSchema.optional(),
|
|
3219
3223
|
reasoningEffort: DeploymentGetConfigReasoningEffort$inboundSchema.optional(),
|
|
3224
|
+
budgetTokens: z.number().optional(),
|
|
3220
3225
|
}).transform((v) => {
|
|
3221
3226
|
return remap$(v, {
|
|
3222
3227
|
"encoding_format": "encodingFormat",
|
|
@@ -3245,6 +3250,7 @@ export type ParametersT$Outbound = {
|
|
|
3245
3250
|
photoRealVersion?: string | undefined;
|
|
3246
3251
|
encoding_format?: string | undefined;
|
|
3247
3252
|
reasoningEffort?: string | undefined;
|
|
3253
|
+
budgetTokens?: number | undefined;
|
|
3248
3254
|
};
|
|
3249
3255
|
|
|
3250
3256
|
/** @internal */
|
|
@@ -3275,6 +3281,7 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
3275
3281
|
.optional(),
|
|
3276
3282
|
encodingFormat: DeploymentGetConfigEncodingFormat$outboundSchema.optional(),
|
|
3277
3283
|
reasoningEffort: DeploymentGetConfigReasoningEffort$outboundSchema.optional(),
|
|
3284
|
+
budgetTokens: z.number().optional(),
|
|
3278
3285
|
}).transform((v) => {
|
|
3279
3286
|
return remap$(v, {
|
|
3280
3287
|
encodingFormat: "encoding_format",
|
|
@@ -302,6 +302,10 @@ export type DeploymentsModelParameters = {
|
|
|
302
302
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
303
303
|
*/
|
|
304
304
|
reasoningEffort?: DeploymentsReasoningEffort | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
307
|
+
*/
|
|
308
|
+
budgetTokens?: number | undefined;
|
|
305
309
|
};
|
|
306
310
|
|
|
307
311
|
export const DeploymentsProvider = {
|
|
@@ -1235,6 +1239,7 @@ export const DeploymentsModelParameters$inboundSchema: z.ZodType<
|
|
|
1235
1239
|
photoRealVersion: DeploymentsPhotoRealVersion$inboundSchema.optional(),
|
|
1236
1240
|
encoding_format: DeploymentsEncodingFormat$inboundSchema.optional(),
|
|
1237
1241
|
reasoningEffort: DeploymentsReasoningEffort$inboundSchema.optional(),
|
|
1242
|
+
budgetTokens: z.number().optional(),
|
|
1238
1243
|
}).transform((v) => {
|
|
1239
1244
|
return remap$(v, {
|
|
1240
1245
|
"encoding_format": "encodingFormat",
|
|
@@ -1263,6 +1268,7 @@ export type DeploymentsModelParameters$Outbound = {
|
|
|
1263
1268
|
photoRealVersion?: string | undefined;
|
|
1264
1269
|
encoding_format?: string | undefined;
|
|
1265
1270
|
reasoningEffort?: string | undefined;
|
|
1271
|
+
budgetTokens?: number | undefined;
|
|
1266
1272
|
};
|
|
1267
1273
|
|
|
1268
1274
|
/** @internal */
|
|
@@ -1292,6 +1298,7 @@ export const DeploymentsModelParameters$outboundSchema: z.ZodType<
|
|
|
1292
1298
|
photoRealVersion: DeploymentsPhotoRealVersion$outboundSchema.optional(),
|
|
1293
1299
|
encodingFormat: DeploymentsEncodingFormat$outboundSchema.optional(),
|
|
1294
1300
|
reasoningEffort: DeploymentsReasoningEffort$outboundSchema.optional(),
|
|
1301
|
+
budgetTokens: z.number().optional(),
|
|
1295
1302
|
}).transform((v) => {
|
|
1296
1303
|
return remap$(v, {
|
|
1297
1304
|
encodingFormat: "encoding_format",
|
|
@@ -145,7 +145,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
file_name: z.string(),
|
|
146
146
|
workspace_id: z.string(),
|
|
147
147
|
created: z.string().datetime({ offset: true }).default(
|
|
148
|
-
"2025-02-
|
|
148
|
+
"2025-02-25T12:28:13.397Z",
|
|
149
149
|
).transform(v => new Date(v)),
|
|
150
150
|
}).transform((v) => {
|
|
151
151
|
return remap$(v, {
|
|
@@ -179,7 +179,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
179
179
|
bytes: z.number(),
|
|
180
180
|
fileName: z.string(),
|
|
181
181
|
workspaceId: z.string(),
|
|
182
|
-
created: z.date().default(() => new Date("2025-02-
|
|
182
|
+
created: z.date().default(() => new Date("2025-02-25T12:28:13.397Z"))
|
|
183
183
|
.transform(v => v.toISOString()),
|
|
184
184
|
}).transform((v) => {
|
|
185
185
|
return remap$(v, {
|
|
@@ -195,7 +195,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
195
195
|
file_name: z.string(),
|
|
196
196
|
workspace_id: z.string(),
|
|
197
197
|
created: z.string().datetime({ offset: true }).default(
|
|
198
|
-
"2025-02-
|
|
198
|
+
"2025-02-25T12:28:13.397Z",
|
|
199
199
|
).transform(v => new Date(v)),
|
|
200
200
|
}).transform((v) => {
|
|
201
201
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-02-
|
|
232
|
+
created: z.date().default(() => new Date("2025-02-25T12:28:13.397Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -245,7 +245,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
245
245
|
file_name: z.string(),
|
|
246
246
|
workspace_id: z.string(),
|
|
247
247
|
created: z.string().datetime({ offset: true }).default(
|
|
248
|
-
"2025-02-
|
|
248
|
+
"2025-02-25T12:28:13.397Z",
|
|
249
249
|
).transform(v => new Date(v)),
|
|
250
250
|
}).transform((v) => {
|
|
251
251
|
return remap$(v, {
|
|
@@ -279,7 +279,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
279
279
|
bytes: z.number(),
|
|
280
280
|
fileName: z.string(),
|
|
281
281
|
workspaceId: z.string(),
|
|
282
|
-
created: z.date().default(() => new Date("2025-02-
|
|
282
|
+
created: z.date().default(() => new Date("2025-02-25T12:28:13.397Z"))
|
|
283
283
|
.transform(v => v.toISOString()),
|
|
284
284
|
}).transform((v) => {
|
|
285
285
|
return remap$(v, {
|
|
@@ -246,6 +246,10 @@ export type GetAllPromptsModelParameters = {
|
|
|
246
246
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
247
247
|
*/
|
|
248
248
|
reasoningEffort?: GetAllPromptsReasoningEffort | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
251
|
+
*/
|
|
252
|
+
budgetTokens?: number | undefined;
|
|
249
253
|
};
|
|
250
254
|
|
|
251
255
|
export const GetAllPromptsProvider = {
|
|
@@ -1042,6 +1046,7 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
1042
1046
|
photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
1043
1047
|
encoding_format: GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
1044
1048
|
reasoningEffort: GetAllPromptsReasoningEffort$inboundSchema.optional(),
|
|
1049
|
+
budgetTokens: z.number().optional(),
|
|
1045
1050
|
}).transform((v) => {
|
|
1046
1051
|
return remap$(v, {
|
|
1047
1052
|
"encoding_format": "encodingFormat",
|
|
@@ -1070,6 +1075,7 @@ export type GetAllPromptsModelParameters$Outbound = {
|
|
|
1070
1075
|
photoRealVersion?: string | undefined;
|
|
1071
1076
|
encoding_format?: string | undefined;
|
|
1072
1077
|
reasoningEffort?: string | undefined;
|
|
1078
|
+
budgetTokens?: number | undefined;
|
|
1073
1079
|
};
|
|
1074
1080
|
|
|
1075
1081
|
/** @internal */
|
|
@@ -1099,6 +1105,7 @@ export const GetAllPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
1099
1105
|
photoRealVersion: GetAllPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
1100
1106
|
encodingFormat: GetAllPromptsEncodingFormat$outboundSchema.optional(),
|
|
1101
1107
|
reasoningEffort: GetAllPromptsReasoningEffort$outboundSchema.optional(),
|
|
1108
|
+
budgetTokens: z.number().optional(),
|
|
1102
1109
|
}).transform((v) => {
|
|
1103
1110
|
return remap$(v, {
|
|
1104
1111
|
encodingFormat: "encoding_format",
|
|
@@ -233,6 +233,10 @@ export type GetOnePromptModelParameters = {
|
|
|
233
233
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
234
234
|
*/
|
|
235
235
|
reasoningEffort?: GetOnePromptReasoningEffort | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
238
|
+
*/
|
|
239
|
+
budgetTokens?: number | undefined;
|
|
236
240
|
};
|
|
237
241
|
|
|
238
242
|
export const GetOnePromptProvider = {
|
|
@@ -980,6 +984,7 @@ export const GetOnePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
980
984
|
photoRealVersion: GetOnePromptPhotoRealVersion$inboundSchema.optional(),
|
|
981
985
|
encoding_format: GetOnePromptEncodingFormat$inboundSchema.optional(),
|
|
982
986
|
reasoningEffort: GetOnePromptReasoningEffort$inboundSchema.optional(),
|
|
987
|
+
budgetTokens: z.number().optional(),
|
|
983
988
|
}).transform((v) => {
|
|
984
989
|
return remap$(v, {
|
|
985
990
|
"encoding_format": "encodingFormat",
|
|
@@ -1008,6 +1013,7 @@ export type GetOnePromptModelParameters$Outbound = {
|
|
|
1008
1013
|
photoRealVersion?: string | undefined;
|
|
1009
1014
|
encoding_format?: string | undefined;
|
|
1010
1015
|
reasoningEffort?: string | undefined;
|
|
1016
|
+
budgetTokens?: number | undefined;
|
|
1011
1017
|
};
|
|
1012
1018
|
|
|
1013
1019
|
/** @internal */
|
|
@@ -1037,6 +1043,7 @@ export const GetOnePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1037
1043
|
photoRealVersion: GetOnePromptPhotoRealVersion$outboundSchema.optional(),
|
|
1038
1044
|
encodingFormat: GetOnePromptEncodingFormat$outboundSchema.optional(),
|
|
1039
1045
|
reasoningEffort: GetOnePromptReasoningEffort$outboundSchema.optional(),
|
|
1046
|
+
budgetTokens: z.number().optional(),
|
|
1040
1047
|
}).transform((v) => {
|
|
1041
1048
|
return remap$(v, {
|
|
1042
1049
|
encodingFormat: "encoding_format",
|
|
@@ -236,6 +236,10 @@ export type GetPromptVersionModelParameters = {
|
|
|
236
236
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
237
237
|
*/
|
|
238
238
|
reasoningEffort?: GetPromptVersionReasoningEffort | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
241
|
+
*/
|
|
242
|
+
budgetTokens?: number | undefined;
|
|
239
243
|
};
|
|
240
244
|
|
|
241
245
|
export const GetPromptVersionProvider = {
|
|
@@ -983,6 +987,7 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
|
|
|
983
987
|
photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
|
|
984
988
|
encoding_format: GetPromptVersionEncodingFormat$inboundSchema.optional(),
|
|
985
989
|
reasoningEffort: GetPromptVersionReasoningEffort$inboundSchema.optional(),
|
|
990
|
+
budgetTokens: z.number().optional(),
|
|
986
991
|
}).transform((v) => {
|
|
987
992
|
return remap$(v, {
|
|
988
993
|
"encoding_format": "encodingFormat",
|
|
@@ -1011,6 +1016,7 @@ export type GetPromptVersionModelParameters$Outbound = {
|
|
|
1011
1016
|
photoRealVersion?: string | undefined;
|
|
1012
1017
|
encoding_format?: string | undefined;
|
|
1013
1018
|
reasoningEffort?: string | undefined;
|
|
1019
|
+
budgetTokens?: number | undefined;
|
|
1014
1020
|
};
|
|
1015
1021
|
|
|
1016
1022
|
/** @internal */
|
|
@@ -1040,6 +1046,7 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
|
|
|
1040
1046
|
photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
|
|
1041
1047
|
encodingFormat: GetPromptVersionEncodingFormat$outboundSchema.optional(),
|
|
1042
1048
|
reasoningEffort: GetPromptVersionReasoningEffort$outboundSchema.optional(),
|
|
1049
|
+
budgetTokens: z.number().optional(),
|
|
1043
1050
|
}).transform((v) => {
|
|
1044
1051
|
return remap$(v, {
|
|
1045
1052
|
encodingFormat: "encoding_format",
|
|
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
912
912
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
913
913
|
.optional(),
|
|
914
914
|
updated: z.string().datetime({ offset: true }).default(
|
|
915
|
-
"2025-02-
|
|
915
|
+
"2025-02-25T12:28:12.295Z",
|
|
916
916
|
).transform(v => new Date(v)),
|
|
917
917
|
}).transform((v) => {
|
|
918
918
|
return remap$(v, {
|
|
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
955
955
|
createdById: z.string().optional(),
|
|
956
956
|
updatedById: z.string().optional(),
|
|
957
957
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
958
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
958
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
959
959
|
.transform(v => v.toISOString()),
|
|
960
960
|
}).transform((v) => {
|
|
961
961
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-02-
|
|
256
|
+
"2025-02-25T12:28:12.295Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -250,6 +250,10 @@ export type ListPromptVersionsModelParameters = {
|
|
|
250
250
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
251
251
|
*/
|
|
252
252
|
reasoningEffort?: ListPromptVersionsReasoningEffort | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
255
|
+
*/
|
|
256
|
+
budgetTokens?: number | undefined;
|
|
253
257
|
};
|
|
254
258
|
|
|
255
259
|
export const ListPromptVersionsProvider = {
|
|
@@ -1041,6 +1045,7 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1041
1045
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
|
|
1042
1046
|
encoding_format: ListPromptVersionsEncodingFormat$inboundSchema.optional(),
|
|
1043
1047
|
reasoningEffort: ListPromptVersionsReasoningEffort$inboundSchema.optional(),
|
|
1048
|
+
budgetTokens: z.number().optional(),
|
|
1044
1049
|
}).transform((v) => {
|
|
1045
1050
|
return remap$(v, {
|
|
1046
1051
|
"encoding_format": "encodingFormat",
|
|
@@ -1069,6 +1074,7 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1069
1074
|
photoRealVersion?: string | undefined;
|
|
1070
1075
|
encoding_format?: string | undefined;
|
|
1071
1076
|
reasoningEffort?: string | undefined;
|
|
1077
|
+
budgetTokens?: number | undefined;
|
|
1072
1078
|
};
|
|
1073
1079
|
|
|
1074
1080
|
/** @internal */
|
|
@@ -1099,6 +1105,7 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1099
1105
|
.optional(),
|
|
1100
1106
|
encodingFormat: ListPromptVersionsEncodingFormat$outboundSchema.optional(),
|
|
1101
1107
|
reasoningEffort: ListPromptVersionsReasoningEffort$outboundSchema.optional(),
|
|
1108
|
+
budgetTokens: z.number().optional(),
|
|
1102
1109
|
}).transform((v) => {
|
|
1103
1110
|
return remap$(v, {
|
|
1104
1111
|
encodingFormat: "encoding_format",
|
|
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
834
834
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
835
835
|
.optional(),
|
|
836
836
|
updated: z.string().datetime({ offset: true }).default(
|
|
837
|
-
"2025-02-
|
|
837
|
+
"2025-02-25T12:28:12.295Z",
|
|
838
838
|
).transform(v => new Date(v)),
|
|
839
839
|
}).transform((v) => {
|
|
840
840
|
return remap$(v, {
|
|
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-02-
|
|
204
|
+
"2025-02-25T12:28:12.295Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -1638,7 +1638,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1638
1638
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1639
1639
|
.optional(),
|
|
1640
1640
|
updated: z.string().datetime({ offset: true }).default(
|
|
1641
|
-
"2025-02-
|
|
1641
|
+
"2025-02-25T12:28:12.295Z",
|
|
1642
1642
|
).transform(v => new Date(v)),
|
|
1643
1643
|
}).transform((v) => {
|
|
1644
1644
|
return remap$(v, {
|
|
@@ -1682,7 +1682,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
1682
1682
|
createdById: z.string().optional(),
|
|
1683
1683
|
updatedById: z.string().optional(),
|
|
1684
1684
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1685
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
1685
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
1686
1686
|
.transform(v => v.toISOString()),
|
|
1687
1687
|
}).transform((v) => {
|
|
1688
1688
|
return remap$(v, {
|
|
@@ -283,7 +283,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
283
283
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
284
284
|
.optional(),
|
|
285
285
|
updated: z.string().datetime({ offset: true }).default(
|
|
286
|
-
"2025-02-
|
|
286
|
+
"2025-02-25T12:28:12.295Z",
|
|
287
287
|
).transform(v => new Date(v)),
|
|
288
288
|
}).transform((v) => {
|
|
289
289
|
return remap$(v, {
|
|
@@ -328,7 +328,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
328
328
|
parentId: z.string().optional(),
|
|
329
329
|
version: z.string().optional(),
|
|
330
330
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
331
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
331
|
+
updated: z.date().default(() => new Date("2025-02-25T12:28:12.295Z"))
|
|
332
332
|
.transform(v => v.toISOString()),
|
|
333
333
|
}).transform((v) => {
|
|
334
334
|
return remap$(v, {
|