@orq-ai/node 3.9.15 → 3.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +104 -104
- package/bin/mcp-server.js.map +26 -26
- package/examples/README.md +5 -0
- package/examples/contactsCreate.example.ts +2 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/README.md +93 -91
- package/packages/orq-rc/docs/sdks/{knowledgebases → chunking}/README.md +10 -10
- package/packages/orq-rc/docs/sdks/knowledge/README.md +77 -0
- package/packages/orq-rc/examples/README.md +5 -0
- package/packages/orq-rc/examples/contactsCreate.example.ts +2 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/{knowledgeBasesChunkText.ts → chunkingParse.ts} +11 -11
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +158 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +5 -3
- package/packages/orq-rc/src/mcp-server/tools/{knowledgeBasesChunkText.ts → chunkingParse.ts} +6 -6
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +35 -0
- package/packages/orq-rc/src/models/components/deployments.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createknowledge.ts +846 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +6 -2
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +2 -2
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +3 -3
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +3 -1
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +3 -1
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +3 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +3 -1
- package/packages/orq-rc/src/models/operations/index.ts +2 -1
- package/packages/orq-rc/src/models/operations/invokeeval.ts +1 -1
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +3 -1
- package/packages/orq-rc/src/models/operations/{chunktext.ts → parse.ts} +164 -183
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +266 -206
- package/packages/orq-rc/src/models/operations/updateprompt.ts +6 -2
- package/packages/orq-rc/src/sdk/{knowledgebases.ts → chunking.ts} +7 -7
- package/packages/orq-rc/src/sdk/knowledge.ts +15 -0
- package/packages/orq-rc/src/sdk/sdk.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
|
@@ -222,6 +222,8 @@ export const Provider = {
|
|
|
222
222
|
Togetherai: "togetherai",
|
|
223
223
|
Elevenlabs: "elevenlabs",
|
|
224
224
|
Litellm: "litellm",
|
|
225
|
+
Openailike: "openailike",
|
|
226
|
+
Cerebras: "cerebras",
|
|
225
227
|
} as const;
|
|
226
228
|
export type Provider = ClosedEnum<typeof Provider>;
|
|
227
229
|
|
|
@@ -258,7 +260,7 @@ export type CreatePrompt2PromptsRequestType = ClosedEnum<
|
|
|
258
260
|
|
|
259
261
|
export type CreatePrompt2File = {
|
|
260
262
|
/**
|
|
261
|
-
* The
|
|
263
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
262
264
|
*/
|
|
263
265
|
fileData: string;
|
|
264
266
|
/**
|
|
@@ -686,6 +688,8 @@ export const CreatePromptProvider = {
|
|
|
686
688
|
Togetherai: "togetherai",
|
|
687
689
|
Elevenlabs: "elevenlabs",
|
|
688
690
|
Litellm: "litellm",
|
|
691
|
+
Openailike: "openailike",
|
|
692
|
+
Cerebras: "cerebras",
|
|
689
693
|
} as const;
|
|
690
694
|
export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
|
|
691
695
|
|
|
@@ -724,7 +728,7 @@ export type CreatePrompt2PromptsResponse200ApplicationJSONType = ClosedEnum<
|
|
|
724
728
|
|
|
725
729
|
export type CreatePrompt2PromptsFile = {
|
|
726
730
|
/**
|
|
727
|
-
* The
|
|
731
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
728
732
|
*/
|
|
729
733
|
fileData: string;
|
|
730
734
|
/**
|
|
@@ -279,7 +279,7 @@ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType =
|
|
|
279
279
|
|
|
280
280
|
export type DeploymentCreateMetric2File = {
|
|
281
281
|
/**
|
|
282
|
-
* The
|
|
282
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
283
283
|
*/
|
|
284
284
|
fileData: string;
|
|
285
285
|
/**
|
|
@@ -722,7 +722,7 @@ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3C
|
|
|
722
722
|
|
|
723
723
|
export type DeploymentCreateMetric2DeploymentsMetricsFile = {
|
|
724
724
|
/**
|
|
725
|
-
* The
|
|
725
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
726
726
|
*/
|
|
727
727
|
fileData: string;
|
|
728
728
|
/**
|
|
@@ -228,7 +228,7 @@ export type DeploymentGetConfig2DeploymentsType = ClosedEnum<
|
|
|
228
228
|
|
|
229
229
|
export type FileT = {
|
|
230
230
|
/**
|
|
231
|
-
* The
|
|
231
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
232
232
|
*/
|
|
233
233
|
fileData: string;
|
|
234
234
|
/**
|
|
@@ -633,7 +633,7 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Ty
|
|
|
633
633
|
|
|
634
634
|
export type TwoFile = {
|
|
635
635
|
/**
|
|
636
|
-
* The
|
|
636
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
637
637
|
*/
|
|
638
638
|
fileData: string;
|
|
639
639
|
/**
|
|
@@ -1281,7 +1281,7 @@ export type DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType =
|
|
|
1281
1281
|
|
|
1282
1282
|
export type DeploymentGetConfig2File = {
|
|
1283
1283
|
/**
|
|
1284
|
-
* The
|
|
1284
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
1285
1285
|
*/
|
|
1286
1286
|
fileData: string;
|
|
1287
1287
|
/**
|
|
@@ -317,6 +317,8 @@ export const DeploymentsProvider = {
|
|
|
317
317
|
Togetherai: "togetherai",
|
|
318
318
|
Elevenlabs: "elevenlabs",
|
|
319
319
|
Litellm: "litellm",
|
|
320
|
+
Openailike: "openailike",
|
|
321
|
+
Cerebras: "cerebras",
|
|
320
322
|
} as const;
|
|
321
323
|
export type DeploymentsProvider = ClosedEnum<typeof DeploymentsProvider>;
|
|
322
324
|
|
|
@@ -353,7 +355,7 @@ export type Deployments2DeploymentsType = ClosedEnum<
|
|
|
353
355
|
|
|
354
356
|
export type Deployments2File = {
|
|
355
357
|
/**
|
|
356
|
-
* The
|
|
358
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
357
359
|
*/
|
|
358
360
|
fileData: string;
|
|
359
361
|
/**
|
|
@@ -251,7 +251,7 @@ export type DeploymentStream2DeploymentsRequestRequestBodyType = ClosedEnum<
|
|
|
251
251
|
|
|
252
252
|
export type DeploymentStream2File = {
|
|
253
253
|
/**
|
|
254
|
-
* The
|
|
254
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
255
255
|
*/
|
|
256
256
|
fileData: string;
|
|
257
257
|
/**
|
|
@@ -689,7 +689,7 @@ export type DeploymentStream2DeploymentsRequestRequestBodyMessages3Content4Type
|
|
|
689
689
|
|
|
690
690
|
export type DeploymentStream2DeploymentsFile = {
|
|
691
691
|
/**
|
|
692
|
-
* The
|
|
692
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
693
693
|
*/
|
|
694
694
|
fileData: string;
|
|
695
695
|
/**
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-07-
|
|
149
|
+
"2025-07-24T07:52:43.648Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-07-
|
|
183
|
+
created: z.date().default(() => new Date("2025-07-24T07:52:43.648Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-07-
|
|
199
|
+
"2025-07-24T07:52:43.648Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-07-
|
|
233
|
+
created: z.date().default(() => new Date("2025-07-24T07:52:43.648Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-07-
|
|
253
|
+
"2025-07-24T07:52:43.648Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-07-
|
|
287
|
+
created: z.date().default(() => new Date("2025-07-24T07:52:43.648Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -261,6 +261,8 @@ export const GetAllPromptsProvider = {
|
|
|
261
261
|
Togetherai: "togetherai",
|
|
262
262
|
Elevenlabs: "elevenlabs",
|
|
263
263
|
Litellm: "litellm",
|
|
264
|
+
Openailike: "openailike",
|
|
265
|
+
Cerebras: "cerebras",
|
|
264
266
|
} as const;
|
|
265
267
|
export type GetAllPromptsProvider = ClosedEnum<typeof GetAllPromptsProvider>;
|
|
266
268
|
|
|
@@ -297,7 +299,7 @@ export type GetAllPrompts2PromptsResponseType = ClosedEnum<
|
|
|
297
299
|
|
|
298
300
|
export type GetAllPrompts2File = {
|
|
299
301
|
/**
|
|
300
|
-
* The
|
|
302
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
301
303
|
*/
|
|
302
304
|
fileData: string;
|
|
303
305
|
/**
|
|
@@ -1551,8 +1551,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
1551
1551
|
> = z.object({
|
|
1552
1552
|
_id: z.string(),
|
|
1553
1553
|
description: z.string(),
|
|
1554
|
-
created: z.string().default("2025-07-
|
|
1555
|
-
updated: z.string().default("2025-07-
|
|
1554
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1555
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1556
1556
|
guardrail_config: z.union([
|
|
1557
1557
|
z.lazy(() =>
|
|
1558
1558
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1595,8 +1595,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
1595
1595
|
> = z.object({
|
|
1596
1596
|
id: z.string(),
|
|
1597
1597
|
description: z.string(),
|
|
1598
|
-
created: z.string().default("2025-07-
|
|
1599
|
-
updated: z.string().default("2025-07-
|
|
1598
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1599
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1600
1600
|
guardrailConfig: z.union([
|
|
1601
1601
|
z.lazy(() =>
|
|
1602
1602
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -1992,8 +1992,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
1992
1992
|
.object({
|
|
1993
1993
|
_id: z.string(),
|
|
1994
1994
|
description: z.string(),
|
|
1995
|
-
created: z.string().default("2025-07-
|
|
1996
|
-
updated: z.string().default("2025-07-
|
|
1995
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1996
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
1997
1997
|
guardrail_config: z.union([
|
|
1998
1998
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
1999
1999
|
z.lazy(() =>
|
|
@@ -2036,8 +2036,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
2036
2036
|
> = z.object({
|
|
2037
2037
|
id: z.string(),
|
|
2038
2038
|
description: z.string(),
|
|
2039
|
-
created: z.string().default("2025-07-
|
|
2040
|
-
updated: z.string().default("2025-07-
|
|
2039
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
2040
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
2041
2041
|
guardrailConfig: z.union([
|
|
2042
2042
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2043
2043
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5316,8 +5316,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5316
5316
|
> = z.object({
|
|
5317
5317
|
_id: z.string(),
|
|
5318
5318
|
description: z.string(),
|
|
5319
|
-
created: z.string().default("2025-07-
|
|
5320
|
-
updated: z.string().default("2025-07-
|
|
5319
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5320
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5321
5321
|
guardrail_config: z.union([
|
|
5322
5322
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5323
5323
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5427,8 +5427,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5427
5427
|
> = z.object({
|
|
5428
5428
|
id: z.string(),
|
|
5429
5429
|
description: z.string(),
|
|
5430
|
-
created: z.string().default("2025-07-
|
|
5431
|
-
updated: z.string().default("2025-07-
|
|
5430
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5431
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5432
5432
|
guardrailConfig: z.union([
|
|
5433
5433
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5434
5434
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -5810,8 +5810,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
5810
5810
|
> = z.object({
|
|
5811
5811
|
_id: z.string(),
|
|
5812
5812
|
description: z.string(),
|
|
5813
|
-
created: z.string().default("2025-07-
|
|
5814
|
-
updated: z.string().default("2025-07-
|
|
5813
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5814
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5815
5815
|
guardrail_config: z.union([
|
|
5816
5816
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
5817
5817
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -5849,8 +5849,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
5849
5849
|
> = z.object({
|
|
5850
5850
|
id: z.string(),
|
|
5851
5851
|
description: z.string(),
|
|
5852
|
-
created: z.string().default("2025-07-
|
|
5853
|
-
updated: z.string().default("2025-07-
|
|
5852
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5853
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
5854
5854
|
guardrailConfig: z.union([
|
|
5855
5855
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
5856
5856
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6196,8 +6196,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6196
6196
|
> = z.object({
|
|
6197
6197
|
_id: z.string(),
|
|
6198
6198
|
description: z.string(),
|
|
6199
|
-
created: z.string().default("2025-07-
|
|
6200
|
-
updated: z.string().default("2025-07-
|
|
6199
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6200
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6201
6201
|
guardrail_config: z.union([
|
|
6202
6202
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6203
6203
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6241,8 +6241,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6241
6241
|
> = z.object({
|
|
6242
6242
|
id: z.string(),
|
|
6243
6243
|
description: z.string(),
|
|
6244
|
-
created: z.string().default("2025-07-
|
|
6245
|
-
updated: z.string().default("2025-07-
|
|
6244
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6245
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6246
6246
|
guardrailConfig: z.union([
|
|
6247
6247
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6248
6248
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6607,8 +6607,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6607
6607
|
> = z.object({
|
|
6608
6608
|
_id: z.string(),
|
|
6609
6609
|
description: z.string(),
|
|
6610
|
-
created: z.string().default("2025-07-
|
|
6611
|
-
updated: z.string().default("2025-07-
|
|
6610
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6611
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6612
6612
|
guardrail_config: z.union([
|
|
6613
6613
|
z.lazy(() =>
|
|
6614
6614
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6650,8 +6650,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6650
6650
|
> = z.object({
|
|
6651
6651
|
id: z.string(),
|
|
6652
6652
|
description: z.string(),
|
|
6653
|
-
created: z.string().default("2025-07-
|
|
6654
|
-
updated: z.string().default("2025-07-
|
|
6653
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6654
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
6655
6655
|
guardrailConfig: z.union([
|
|
6656
6656
|
z.lazy(() =>
|
|
6657
6657
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7033,8 +7033,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7033
7033
|
z.object({
|
|
7034
7034
|
_id: z.string(),
|
|
7035
7035
|
description: z.string(),
|
|
7036
|
-
created: z.string().default("2025-07-
|
|
7037
|
-
updated: z.string().default("2025-07-
|
|
7036
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
7037
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
7038
7038
|
guardrail_config: z.union([
|
|
7039
7039
|
z.lazy(() =>
|
|
7040
7040
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7078,8 +7078,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7078
7078
|
> = z.object({
|
|
7079
7079
|
id: z.string(),
|
|
7080
7080
|
description: z.string(),
|
|
7081
|
-
created: z.string().default("2025-07-
|
|
7082
|
-
updated: z.string().default("2025-07-
|
|
7081
|
+
created: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
7082
|
+
updated: z.string().default("2025-07-24T07:52:42.824Z"),
|
|
7083
7083
|
guardrailConfig: z.union([
|
|
7084
7084
|
z.lazy(() =>
|
|
7085
7085
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -248,6 +248,8 @@ export const GetOnePromptProvider = {
|
|
|
248
248
|
Togetherai: "togetherai",
|
|
249
249
|
Elevenlabs: "elevenlabs",
|
|
250
250
|
Litellm: "litellm",
|
|
251
|
+
Openailike: "openailike",
|
|
252
|
+
Cerebras: "cerebras",
|
|
251
253
|
} as const;
|
|
252
254
|
export type GetOnePromptProvider = ClosedEnum<typeof GetOnePromptProvider>;
|
|
253
255
|
|
|
@@ -284,7 +286,7 @@ export type GetOnePrompt2PromptsResponseType = ClosedEnum<
|
|
|
284
286
|
|
|
285
287
|
export type GetOnePrompt2File = {
|
|
286
288
|
/**
|
|
287
|
-
* The
|
|
289
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
288
290
|
*/
|
|
289
291
|
fileData: string;
|
|
290
292
|
/**
|
|
@@ -249,6 +249,8 @@ export const GetPromptVersionProvider = {
|
|
|
249
249
|
Togetherai: "togetherai",
|
|
250
250
|
Elevenlabs: "elevenlabs",
|
|
251
251
|
Litellm: "litellm",
|
|
252
|
+
Openailike: "openailike",
|
|
253
|
+
Cerebras: "cerebras",
|
|
252
254
|
} as const;
|
|
253
255
|
export type GetPromptVersionProvider = ClosedEnum<
|
|
254
256
|
typeof GetPromptVersionProvider
|
|
@@ -287,7 +289,7 @@ export type GetPromptVersion2PromptsResponseType = ClosedEnum<
|
|
|
287
289
|
|
|
288
290
|
export type GetPromptVersion2File = {
|
|
289
291
|
/**
|
|
290
|
-
* The
|
|
292
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
291
293
|
*/
|
|
292
294
|
fileData: string;
|
|
293
295
|
/**
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./chunktext.js";
|
|
6
5
|
export * from "./cleardataset.js";
|
|
7
6
|
export * from "./createchunk.js";
|
|
8
7
|
export * from "./createcontact.js";
|
|
@@ -11,6 +10,7 @@ export * from "./createdatasetitem.js";
|
|
|
11
10
|
export * from "./createdatasource.js";
|
|
12
11
|
export * from "./createeval.js";
|
|
13
12
|
export * from "./createfeedback.js";
|
|
13
|
+
export * from "./createknowledge.js";
|
|
14
14
|
export * from "./createprompt.js";
|
|
15
15
|
export * from "./deletechunk.js";
|
|
16
16
|
export * from "./deletecontact.js";
|
|
@@ -81,6 +81,7 @@ export * from "./listdatasources.js";
|
|
|
81
81
|
export * from "./listknowledgebases.js";
|
|
82
82
|
export * from "./listmodels.js";
|
|
83
83
|
export * from "./listpromptversions.js";
|
|
84
|
+
export * from "./parse.js";
|
|
84
85
|
export * from "./remoteconfigsgetconfig.js";
|
|
85
86
|
export * from "./retrievecontact.js";
|
|
86
87
|
export * from "./retrievedatapoint.js";
|
|
@@ -42,7 +42,7 @@ export type InvokeEval2EvalsRequestType = ClosedEnum<
|
|
|
42
42
|
|
|
43
43
|
export type InvokeEval2File = {
|
|
44
44
|
/**
|
|
45
|
-
* The
|
|
45
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
46
46
|
*/
|
|
47
47
|
fileData: string;
|
|
48
48
|
/**
|
|
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
345
345
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
346
346
|
.optional(),
|
|
347
347
|
updated: z.string().datetime({ offset: true }).default(
|
|
348
|
-
"2025-07-
|
|
348
|
+
"2025-07-24T07:52:40.721Z",
|
|
349
349
|
).transform(v => new Date(v)),
|
|
350
350
|
metrics: z.lazy(() => Metrics$inboundSchema),
|
|
351
351
|
}).transform((v) => {
|
|
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
382
382
|
tags: z.array(z.string()).optional(),
|
|
383
383
|
metadata: z.record(z.any()).optional(),
|
|
384
384
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
385
|
-
updated: z.date().default(() => new Date("2025-07-
|
|
385
|
+
updated: z.date().default(() => new Date("2025-07-24T07:52:40.721Z"))
|
|
386
386
|
.transform(v => v.toISOString()),
|
|
387
387
|
metrics: z.lazy(() => Metrics$outboundSchema),
|
|
388
388
|
}).transform((v) => {
|
|
@@ -268,7 +268,7 @@ export type ListDatasetDatapoints2DatasetsResponse200Type = ClosedEnum<
|
|
|
268
268
|
|
|
269
269
|
export type ListDatasetDatapoints2File = {
|
|
270
270
|
/**
|
|
271
|
-
* The
|
|
271
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
272
272
|
*/
|
|
273
273
|
fileData: string;
|
|
274
274
|
/**
|
|
@@ -2604,7 +2604,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2604
2604
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2605
2605
|
.optional(),
|
|
2606
2606
|
updated: z.string().datetime({ offset: true }).default(
|
|
2607
|
-
"2025-07-
|
|
2607
|
+
"2025-07-24T07:52:40.721Z",
|
|
2608
2608
|
).transform(v => new Date(v)),
|
|
2609
2609
|
}).transform((v) => {
|
|
2610
2610
|
return remap$(v, {
|
|
@@ -2668,7 +2668,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2668
2668
|
createdById: z.string().optional(),
|
|
2669
2669
|
updatedById: z.string().optional(),
|
|
2670
2670
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2671
|
-
updated: z.date().default(() => new Date("2025-07-
|
|
2671
|
+
updated: z.date().default(() => new Date("2025-07-24T07:52:40.721Z"))
|
|
2672
2672
|
.transform(v => v.toISOString()),
|
|
2673
2673
|
}).transform((v) => {
|
|
2674
2674
|
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-07-
|
|
256
|
+
"2025-07-24T07:52:40.721Z",
|
|
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-07-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-07-24T07:52:40.721Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01K0XPQAG2F60YWHK47T5HTSR8"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01K0XPQAG2F60YWHK47T5HTSR8"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -263,6 +263,8 @@ export const ListPromptVersionsProvider = {
|
|
|
263
263
|
Togetherai: "togetherai",
|
|
264
264
|
Elevenlabs: "elevenlabs",
|
|
265
265
|
Litellm: "litellm",
|
|
266
|
+
Openailike: "openailike",
|
|
267
|
+
Cerebras: "cerebras",
|
|
266
268
|
} as const;
|
|
267
269
|
export type ListPromptVersionsProvider = ClosedEnum<
|
|
268
270
|
typeof ListPromptVersionsProvider
|
|
@@ -301,7 +303,7 @@ export type ListPromptVersions2PromptsResponseType = ClosedEnum<
|
|
|
301
303
|
|
|
302
304
|
export type ListPromptVersions2File = {
|
|
303
305
|
/**
|
|
304
|
-
* The
|
|
306
|
+
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
305
307
|
*/
|
|
306
308
|
fileData: string;
|
|
307
309
|
/**
|