@orq-ai/node 4.16.0-rc.11 → 4.16.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/funcs/projectsCreate.d.ts +1 -1
- package/funcs/projectsCreate.js +1 -1
- package/funcs/projectsDelete.d.ts +1 -1
- package/funcs/projectsDelete.js +1 -1
- package/funcs/projectsUpdate.d.ts +1 -1
- package/funcs/projectsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/datasource.d.ts +2 -2
- package/models/components/datasourcesservicecreaterequest.d.ts +2 -2
- package/models/components/extendedmessage.d.ts +1 -1
- package/models/components/filesystem.d.ts +4 -4
- package/models/components/filesystem.d.ts.map +1 -1
- package/models/components/filesystem.js +2 -1
- package/models/components/filesystem.js.map +1 -1
- package/models/components/hubitem.d.ts +1 -1
- package/models/components/hubitem.d.ts.map +1 -1
- package/models/components/hubitem.js +1 -1
- package/models/components/hubitem.js.map +1 -1
- package/models/components/hubitemsummary.d.ts +1 -1
- package/models/components/knowledge.d.ts +2 -2
- package/models/components/knowledgechunk.d.ts +1 -1
- package/models/components/memory.d.ts +2 -5
- package/models/components/memory.d.ts.map +1 -1
- package/models/components/memory.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfailedstreamingevent.js +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfinishedstreamingevent.js +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionstartedstreamingevent.js +1 -1
- package/models/operations/createagentrequest.d.ts +7 -7
- package/models/operations/createagentrequest.js +1 -1
- package/models/operations/createchatcompletion.d.ts +2 -2
- package/models/operations/createcompletion.d.ts +3 -3
- package/models/operations/createimage.d.ts +2 -2
- package/models/operations/createimageedit.d.ts +2 -2
- package/models/operations/createimagevariation.d.ts +2 -2
- package/models/operations/creatererank.d.ts +2 -2
- package/models/operations/createspeech.d.ts +2 -2
- package/models/operations/createtool.js +4 -4
- package/models/operations/createtranscription.d.ts +2 -2
- package/models/operations/createtranslation.d.ts +2 -2
- package/models/operations/getallmemories.d.ts +1 -1
- package/models/operations/getallmemorydocuments.d.ts +1 -1
- package/models/operations/getallmemorystores.d.ts +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +5 -5
- package/models/operations/listagents.js +1 -1
- package/models/operations/listchunks.d.ts +1 -1
- package/models/operations/listdatasources.d.ts +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +5 -5
- package/models/operations/retrieveagentrequest.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +2 -2
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +2 -2
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +7 -7
- package/models/operations/updateagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +8 -8
- package/sdk/projects.d.ts +3 -3
- package/sdk/projects.js +3 -3
- package/src/funcs/projectsCreate.ts +1 -1
- package/src/funcs/projectsDelete.ts +1 -1
- package/src/funcs/projectsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/datasource.ts +2 -2
- package/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/src/models/components/extendedmessage.ts +1 -1
- package/src/models/components/filesystem.ts +6 -5
- package/src/models/components/hubitem.ts +2 -2
- package/src/models/components/hubitemsummary.ts +1 -1
- package/src/models/components/knowledge.ts +2 -2
- package/src/models/components/knowledgechunk.ts +1 -1
- package/src/models/components/memory.ts +2 -5
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/src/models/operations/createagentrequest.ts +7 -7
- package/src/models/operations/createchatcompletion.ts +2 -2
- package/src/models/operations/createcompletion.ts +3 -3
- package/src/models/operations/createimage.ts +2 -2
- package/src/models/operations/createimageedit.ts +2 -2
- package/src/models/operations/createimagevariation.ts +2 -2
- package/src/models/operations/creatererank.ts +2 -2
- package/src/models/operations/createspeech.ts +2 -2
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/createtranscription.ts +2 -2
- package/src/models/operations/createtranslation.ts +2 -2
- package/src/models/operations/getallmemories.ts +1 -1
- package/src/models/operations/getallmemorydocuments.ts +1 -1
- package/src/models/operations/getallmemorystores.ts +1 -1
- 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/listagents.ts +5 -5
- package/src/models/operations/listchunks.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +5 -5
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +3 -3
- package/src/models/operations/streamrunagent.ts +3 -3
- package/src/models/operations/updateagent.ts +7 -7
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/projects.ts +3 -3
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M346Z17G1PBGH1JXWTMZ538J"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M346Z17FVG45VN60FQ0KC63V"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M346Z17FW3PEHWQ08RM5CD9D"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M346Z17E2AR7A0MNAMCTBK89"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.16.0-rc.
|
|
3
|
+
"version": "4.16.0-rc.12",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"import": "./index.js",
|
|
8
|
+
"require": "./index.js",
|
|
9
|
+
"types": "./index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"./*": "./*",
|
|
6
12
|
"./langchain": {
|
|
7
13
|
"import": "./langchain/index.mjs",
|
|
8
14
|
"require": "./langchain/index.js",
|
|
9
15
|
"types": "./langchain/index.d.mts"
|
|
10
|
-
}
|
|
11
|
-
".": {
|
|
12
|
-
"require": "./index.js",
|
|
13
|
-
"types": "./index.d.ts",
|
|
14
|
-
"import": "./index.js"
|
|
15
|
-
},
|
|
16
|
-
"./*": "./*"
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/sdk/projects.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class Projects extends ClientSDK {
|
|
|
13
13
|
* Create a new project
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
16
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
17
17
|
*/
|
|
18
18
|
create(request: components.CreateProjectRequest, options?: RequestOptions): Promise<components.CreateProjectResponse>;
|
|
19
19
|
/**
|
|
@@ -27,14 +27,14 @@ export declare class Projects extends ClientSDK {
|
|
|
27
27
|
* Delete a project
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
30
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
31
31
|
*/
|
|
32
32
|
delete(request: operations.ProjectDeleteRequest, options?: RequestOptions): Promise<components.DeleteProjectResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Update a project
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
37
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
38
38
|
*/
|
|
39
39
|
update(request: operations.ProjectUpdateRequest, options?: RequestOptions): Promise<components.UpdateProjectResponse>;
|
|
40
40
|
}
|
package/sdk/projects.js
CHANGED
|
@@ -25,7 +25,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
25
25
|
* Create a new project
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
28
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
29
29
|
*/
|
|
30
30
|
async create(request, options) {
|
|
31
31
|
return (0, fp_js_1.unwrapAsync)((0, projectsCreate_js_1.projectsCreate)(this, request, options));
|
|
@@ -43,7 +43,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
43
43
|
* Delete a project
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
46
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
47
47
|
*/
|
|
48
48
|
async delete(request, options) {
|
|
49
49
|
return (0, fp_js_1.unwrapAsync)((0, projectsDelete_js_1.projectsDelete)(this, request, options));
|
|
@@ -52,7 +52,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
52
52
|
* Update a project
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
55
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
56
56
|
*/
|
|
57
57
|
async update(request, options) {
|
|
58
58
|
return (0, fp_js_1.unwrapAsync)((0, projectsUpdate_js_1.projectsUpdate)(this, request, options));
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create a new project
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
32
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
33
33
|
*/
|
|
34
34
|
export function projectsCreate(
|
|
35
35
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Delete a project
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
33
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
34
34
|
*/
|
|
35
35
|
export function projectsDelete(
|
|
36
36
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Update a project
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
33
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
34
34
|
*/
|
|
35
35
|
export function projectsUpdate(
|
|
36
36
|
client: OrqCore,
|
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.16.0-rc.
|
|
61
|
+
sdkVersion: "4.16.0-rc.12",
|
|
62
62
|
genVersion: "2.938.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.12 2.938.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -30,7 +30,7 @@ export type DatasourceStatus = ClosedEnum<typeof DatasourceStatus>;
|
|
|
30
30
|
export type Datasource = {
|
|
31
31
|
displayName: string;
|
|
32
32
|
/**
|
|
33
|
-
* The description of the
|
|
33
|
+
* The description of the datasource
|
|
34
34
|
*/
|
|
35
35
|
description?: string | null | undefined;
|
|
36
36
|
status: DatasourceStatus;
|
|
@@ -51,7 +51,7 @@ export type Datasource = {
|
|
|
51
51
|
knowledgeId: string;
|
|
52
52
|
chunksCount: number;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Processing attempts recorded for the datasource.
|
|
55
55
|
*/
|
|
56
56
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
57
57
|
metadata?: CountMetadata | undefined;
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
export type DatasourcesServiceCreateRequest = {
|
|
24
24
|
displayName?: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* The description of the
|
|
26
|
+
* The description of the datasource
|
|
27
27
|
*/
|
|
28
28
|
description?: string | null | undefined;
|
|
29
29
|
fileId?: string | undefined;
|
|
30
30
|
chunkingOptions?: DatasourceChunkingOptions | undefined;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Optional datasource ID. When omitted, the server generates one.
|
|
33
33
|
*/
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
attachment?: DatasourceAttachment | undefined;
|
|
@@ -45,7 +45,7 @@ export type ExtendedMessageParts =
|
|
|
45
45
|
| ToolResultPart;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with
|
|
48
|
+
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with orq.ai-specific features.
|
|
49
49
|
*/
|
|
50
50
|
export type ExtendedMessage = {
|
|
51
51
|
kind: ExtendedMessageKind;
|
|
@@ -14,10 +14,6 @@ import {
|
|
|
14
14
|
import { Sharing, Sharing$inboundSchema } from "./sharing.js";
|
|
15
15
|
|
|
16
16
|
export type FileSystem = {
|
|
17
|
-
/**
|
|
18
|
-
* The unique identifier of the file system
|
|
19
|
-
*/
|
|
20
|
-
id?: string | undefined;
|
|
21
17
|
/**
|
|
22
18
|
* The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
|
|
23
19
|
*/
|
|
@@ -70,6 +66,10 @@ export type FileSystem = {
|
|
|
70
66
|
* When usage was last measured. Absent until first metered.
|
|
71
67
|
*/
|
|
72
68
|
lastMeteredAt?: string | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* The unique identifier of the file system
|
|
71
|
+
*/
|
|
72
|
+
id: string;
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
/** @internal */
|
|
@@ -78,7 +78,6 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
78
78
|
z.ZodTypeDef,
|
|
79
79
|
unknown
|
|
80
80
|
> = z.object({
|
|
81
|
-
id: z.string().optional(),
|
|
82
81
|
key: z.string(),
|
|
83
82
|
display_name: z.string(),
|
|
84
83
|
description: z.string(),
|
|
@@ -92,6 +91,7 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
92
91
|
used_bytes: z.nullable(z.string()).optional(),
|
|
93
92
|
used_inodes: z.nullable(z.string()).optional(),
|
|
94
93
|
last_metered_at: z.nullable(z.string()).optional(),
|
|
94
|
+
_id: z.string(),
|
|
95
95
|
}).transform((v) => {
|
|
96
96
|
return remap$(v, {
|
|
97
97
|
"display_name": "displayName",
|
|
@@ -102,6 +102,7 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
102
102
|
"used_bytes": "usedBytes",
|
|
103
103
|
"used_inodes": "usedInodes",
|
|
104
104
|
"last_metered_at": "lastMeteredAt",
|
|
105
|
+
"_id": "id",
|
|
105
106
|
});
|
|
106
107
|
});
|
|
107
108
|
|
|
@@ -22,7 +22,7 @@ export type HubItem = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Unique hub item ID.
|
|
24
24
|
*/
|
|
25
|
-
id
|
|
25
|
+
id: string;
|
|
26
26
|
/**
|
|
27
27
|
* ID of the workspace entity represented by this hub item.
|
|
28
28
|
*/
|
|
@@ -103,7 +103,7 @@ export function promptFromJSON(
|
|
|
103
103
|
/** @internal */
|
|
104
104
|
export const HubItem$inboundSchema: z.ZodType<HubItem, z.ZodTypeDef, unknown> =
|
|
105
105
|
z.object({
|
|
106
|
-
id: z.string()
|
|
106
|
+
id: z.string(),
|
|
107
107
|
entity_id: z.string(),
|
|
108
108
|
display_name: z.string(),
|
|
109
109
|
description: z.string(),
|
|
@@ -14,7 +14,7 @@ export type HubItemSummary = {
|
|
|
14
14
|
*/
|
|
15
15
|
id: string;
|
|
16
16
|
/**
|
|
17
|
-
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the
|
|
17
|
+
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the search index.
|
|
18
18
|
*/
|
|
19
19
|
entityId?: string | undefined;
|
|
20
20
|
/**
|
|
@@ -127,7 +127,7 @@ export type Knowledge2 = {
|
|
|
127
127
|
retrievalSettings?: KnowledgeRetrievalSettings | undefined;
|
|
128
128
|
externalConfig: ExternalConfig;
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
131
131
|
*/
|
|
132
132
|
settings?: KnowledgeSettings | undefined;
|
|
133
133
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -252,7 +252,7 @@ export type Knowledge1 = {
|
|
|
252
252
|
*/
|
|
253
253
|
model: string;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
256
256
|
*/
|
|
257
257
|
settings?: KnowledgeSettings | undefined;
|
|
258
258
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -53,7 +53,7 @@ export type KnowledgeChunk = {
|
|
|
53
53
|
*/
|
|
54
54
|
updateById?: string | null | undefined;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Processing attempts recorded for the chunk.
|
|
57
57
|
*/
|
|
58
58
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
59
59
|
countMetadata?: CountMetadata | undefined;
|
|
@@ -22,14 +22,11 @@ export type Memory = {
|
|
|
22
22
|
storeId: string;
|
|
23
23
|
workspaceId: string;
|
|
24
24
|
/**
|
|
25
|
-
* The number of
|
|
25
|
+
* The number of documents in the entity
|
|
26
26
|
*/
|
|
27
27
|
documentsCount: number;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @remarks
|
|
32
|
-
* though the legacy generated OpenAPI schema omitted it.
|
|
29
|
+
* Key-value metadata for the memory.
|
|
33
30
|
*/
|
|
34
31
|
metadata?: { [k: string]: string } | undefined;
|
|
35
32
|
/**
|
|
@@ -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_01m346z14scz5tepcrmd2mqyx0"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -15,7 +15,7 @@ export type ErrorT = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* orq.ai product
|
|
19
19
|
*/
|
|
20
20
|
export const ToolExecutionFailedStreamingEventProduct = {
|
|
21
21
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -38,7 +38,7 @@ export const ToolExecutionFailedStreamingEventProduct = {
|
|
|
38
38
|
McpGateway: "mcp_gateway",
|
|
39
39
|
} as const;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* orq.ai product
|
|
42
42
|
*/
|
|
43
43
|
export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<
|
|
44
44
|
typeof ToolExecutionFailedStreamingEventProduct
|
|
@@ -55,7 +55,7 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
|
|
|
55
55
|
agentManifestId: string;
|
|
56
56
|
agentExecutionId: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* orq.ai product
|
|
59
59
|
*/
|
|
60
60
|
product: ToolExecutionFailedStreamingEventProduct;
|
|
61
61
|
memory?: ToolExecutionFailedStreamingEventMemory | undefined;
|
|
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* orq.ai product
|
|
14
14
|
*/
|
|
15
15
|
export const ToolExecutionFinishedStreamingEventProduct = {
|
|
16
16
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -33,7 +33,7 @@ export const ToolExecutionFinishedStreamingEventProduct = {
|
|
|
33
33
|
McpGateway: "mcp_gateway",
|
|
34
34
|
} as const;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* orq.ai product
|
|
37
37
|
*/
|
|
38
38
|
export type ToolExecutionFinishedStreamingEventProduct = ClosedEnum<
|
|
39
39
|
typeof ToolExecutionFinishedStreamingEventProduct
|
|
@@ -50,7 +50,7 @@ export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
|
|
|
50
50
|
agentManifestId: string;
|
|
51
51
|
agentExecutionId: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* orq.ai product
|
|
54
54
|
*/
|
|
55
55
|
product: ToolExecutionFinishedStreamingEventProduct;
|
|
56
56
|
memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
|
|
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* orq.ai product
|
|
14
14
|
*/
|
|
15
15
|
export const Product = {
|
|
16
16
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -33,7 +33,7 @@ export const Product = {
|
|
|
33
33
|
McpGateway: "mcp_gateway",
|
|
34
34
|
} as const;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* orq.ai product
|
|
37
37
|
*/
|
|
38
38
|
export type Product = ClosedEnum<typeof Product>;
|
|
39
39
|
|
|
@@ -48,7 +48,7 @@ export type ToolExecutionContext = {
|
|
|
48
48
|
agentManifestId: string;
|
|
49
49
|
agentExecutionId: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* orq.ai product
|
|
52
52
|
*/
|
|
53
53
|
product: Product;
|
|
54
54
|
memory?: ToolExecutionStartedStreamingEventMemory | undefined;
|
|
@@ -312,7 +312,7 @@ export type ModelConfigurationCacheControl = {
|
|
|
312
312
|
};
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
315
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
316
316
|
*/
|
|
317
317
|
export type ParametersT = {
|
|
318
318
|
/**
|
|
@@ -462,7 +462,7 @@ export type ModelConfiguration2 = {
|
|
|
462
462
|
*/
|
|
463
463
|
id: string;
|
|
464
464
|
/**
|
|
465
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
465
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
466
466
|
*/
|
|
467
467
|
parameters?: ParametersT | undefined;
|
|
468
468
|
/**
|
|
@@ -1241,14 +1241,14 @@ export type CreateAgentRequestEngine = ClosedEnum<
|
|
|
1241
1241
|
>;
|
|
1242
1242
|
|
|
1243
1243
|
/**
|
|
1244
|
-
* Agent type: internal (
|
|
1244
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1245
1245
|
*/
|
|
1246
1246
|
export const CreateAgentRequestType = {
|
|
1247
1247
|
Internal: "internal",
|
|
1248
1248
|
A2a: "a2a",
|
|
1249
1249
|
} as const;
|
|
1250
1250
|
/**
|
|
1251
|
-
* Agent type: internal (
|
|
1251
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1252
1252
|
*/
|
|
1253
1253
|
export type CreateAgentRequestType = ClosedEnum<typeof CreateAgentRequestType>;
|
|
1254
1254
|
|
|
@@ -1736,7 +1736,7 @@ export type CreateAgentRequestCacheControl = {
|
|
|
1736
1736
|
};
|
|
1737
1737
|
|
|
1738
1738
|
/**
|
|
1739
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1739
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1740
1740
|
*/
|
|
1741
1741
|
export type CreateAgentRequestParameters = {
|
|
1742
1742
|
/**
|
|
@@ -2411,7 +2411,7 @@ export type Model = {
|
|
|
2411
2411
|
*/
|
|
2412
2412
|
integrationId?: string | null | undefined;
|
|
2413
2413
|
/**
|
|
2414
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
2414
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2415
2415
|
*/
|
|
2416
2416
|
parameters?: CreateAgentRequestParameters | null | undefined;
|
|
2417
2417
|
/**
|
|
@@ -2484,7 +2484,7 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2484
2484
|
source?: CreateAgentRequestSource | undefined;
|
|
2485
2485
|
engine: CreateAgentRequestEngine;
|
|
2486
2486
|
/**
|
|
2487
|
-
* Agent type: internal (
|
|
2487
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
2488
2488
|
*/
|
|
2489
2489
|
type: CreateAgentRequestType;
|
|
2490
2490
|
role: string;
|
|
@@ -1379,7 +1379,7 @@ export type CreateChatCompletionLoadBalancerRouterChatCompletions1 = {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
|
|
1381
1381
|
/**
|
|
1382
|
-
*
|
|
1382
|
+
* Load balancer configuration for the request.
|
|
1383
1383
|
*/
|
|
1384
1384
|
export type CreateChatCompletionRouterChatCompletionsLoadBalancer =
|
|
1385
1385
|
CreateChatCompletionLoadBalancerRouterChatCompletions1;
|
|
@@ -1444,7 +1444,7 @@ export type Orq = {
|
|
|
1444
1444
|
cache?: CreateChatCompletionRouterChatCompletionsCache | undefined;
|
|
1445
1445
|
knowledgeBases?: Array<CreateChatCompletionKnowledgeBases> | undefined;
|
|
1446
1446
|
/**
|
|
1447
|
-
*
|
|
1447
|
+
* Load balancer configuration for the request.
|
|
1448
1448
|
*/
|
|
1449
1449
|
loadBalancer?:
|
|
1450
1450
|
| CreateChatCompletionLoadBalancerRouterChatCompletions1
|
|
@@ -606,7 +606,7 @@ export type CreateCompletionLoadBalancerRouterCompletions1 = {
|
|
|
606
606
|
};
|
|
607
607
|
|
|
608
608
|
/**
|
|
609
|
-
*
|
|
609
|
+
* Load balancer configuration for the request.
|
|
610
610
|
*/
|
|
611
611
|
export type CreateCompletionRouterCompletionsLoadBalancer =
|
|
612
612
|
CreateCompletionLoadBalancerRouterCompletions1;
|
|
@@ -669,7 +669,7 @@ export type CreateCompletionOrq = {
|
|
|
669
669
|
cache?: CreateCompletionRouterCompletionsCache | undefined;
|
|
670
670
|
knowledgeBases?: Array<CreateCompletionKnowledgeBases> | undefined;
|
|
671
671
|
/**
|
|
672
|
-
*
|
|
672
|
+
* Load balancer configuration for the request.
|
|
673
673
|
*/
|
|
674
674
|
loadBalancer?: CreateCompletionLoadBalancerRouterCompletions1 | undefined;
|
|
675
675
|
/**
|
|
@@ -724,7 +724,7 @@ export type CreateCompletionRequestBody = {
|
|
|
724
724
|
*/
|
|
725
725
|
n?: number | null | undefined;
|
|
726
726
|
/**
|
|
727
|
-
* A unique identifier representing your end-user, which can help
|
|
727
|
+
* A unique identifier representing your end-user, which can help monitor and detect abuse.
|
|
728
728
|
*/
|
|
729
729
|
user?: string | undefined;
|
|
730
730
|
/**
|
|
@@ -228,7 +228,7 @@ export type CreateImageLoadBalancerRouterImagesGenerations1 = {
|
|
|
228
228
|
};
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* Load balancer configuration for the request.
|
|
232
232
|
*/
|
|
233
233
|
export type CreateImageRouterImagesGenerationsLoadBalancer =
|
|
234
234
|
CreateImageLoadBalancerRouterImagesGenerations1;
|
|
@@ -271,7 +271,7 @@ export type CreateImageOrq = {
|
|
|
271
271
|
*/
|
|
272
272
|
cache?: CreateImageRouterImagesGenerationsCache | undefined;
|
|
273
273
|
/**
|
|
274
|
-
*
|
|
274
|
+
* Load balancer configuration for the request.
|
|
275
275
|
*/
|
|
276
276
|
loadBalancer?: CreateImageLoadBalancerRouterImagesGenerations1 | undefined;
|
|
277
277
|
/**
|
|
@@ -208,7 +208,7 @@ export type CreateImageEditLoadBalancerRouterImagesEdits1 = {
|
|
|
208
208
|
};
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Load balancer configuration for the request.
|
|
212
212
|
*/
|
|
213
213
|
export type CreateImageEditRouterImagesEditsLoadBalancer =
|
|
214
214
|
CreateImageEditLoadBalancerRouterImagesEdits1;
|
|
@@ -255,7 +255,7 @@ export type CreateImageEditOrq = {
|
|
|
255
255
|
*/
|
|
256
256
|
cache?: CreateImageEditRouterImagesEditsCache | undefined;
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* Load balancer configuration for the request.
|
|
259
259
|
*/
|
|
260
260
|
loadBalancer?: CreateImageEditLoadBalancerRouterImagesEdits1 | undefined;
|
|
261
261
|
/**
|
|
@@ -210,7 +210,7 @@ export type CreateImageVariationLoadBalancerRouterImagesVariations1 = {
|
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Load balancer configuration for the request.
|
|
214
214
|
*/
|
|
215
215
|
export type CreateImageVariationRouterImagesVariationsLoadBalancer =
|
|
216
216
|
CreateImageVariationLoadBalancerRouterImagesVariations1;
|
|
@@ -259,7 +259,7 @@ export type CreateImageVariationOrq = {
|
|
|
259
259
|
*/
|
|
260
260
|
cache?: CreateImageVariationRouterImagesVariationsCache | undefined;
|
|
261
261
|
/**
|
|
262
|
-
*
|
|
262
|
+
* Load balancer configuration for the request.
|
|
263
263
|
*/
|
|
264
264
|
loadBalancer?:
|
|
265
265
|
| CreateImageVariationLoadBalancerRouterImagesVariations1
|
|
@@ -148,7 +148,7 @@ export type CreateRerankLoadBalancerRouterRerank1 = {
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Load balancer configuration for the request.
|
|
152
152
|
*/
|
|
153
153
|
export type CreateRerankRouterRerankLoadBalancer =
|
|
154
154
|
CreateRerankLoadBalancerRouterRerank1;
|
|
@@ -191,7 +191,7 @@ export type CreateRerankOrq = {
|
|
|
191
191
|
*/
|
|
192
192
|
contact?: components.PublicContact | undefined;
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* Load balancer configuration for the request.
|
|
195
195
|
*/
|
|
196
196
|
loadBalancer?: CreateRerankLoadBalancerRouterRerank1 | undefined;
|
|
197
197
|
/**
|
|
@@ -143,7 +143,7 @@ export type CreateSpeechLoadBalancerRouterAudioSpeech1 = {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* Load balancer configuration for the request.
|
|
147
147
|
*/
|
|
148
148
|
export type CreateSpeechRouterAudioSpeechLoadBalancer =
|
|
149
149
|
CreateSpeechLoadBalancerRouterAudioSpeech1;
|
|
@@ -186,7 +186,7 @@ export type CreateSpeechOrq = {
|
|
|
186
186
|
*/
|
|
187
187
|
thread?: CreateSpeechThread | undefined;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* Load balancer configuration for the request.
|
|
190
190
|
*/
|
|
191
191
|
loadBalancer?: CreateSpeechLoadBalancerRouterAudioSpeech1 | undefined;
|
|
192
192
|
/**
|