@breign/client 1.0.26 → 1.0.27
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/dist/models/AgentPatchEngineUio.d.ts +8 -0
- package/dist/models/AgentPatchEngineUio.js +2 -0
- package/dist/models/DefaultEngineRequestUio.d.ts +8 -0
- package/dist/models/DefaultEngineRequestUio.js +2 -0
- package/dist/models/EngineOptionsUio.d.ts +107 -0
- package/dist/models/EngineOptionsUio.js +84 -0
- package/dist/models/EngineUio.d.ts +7 -0
- package/dist/models/EngineUio.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/openapi.json +51 -0
- package/package.json +1 -1
|
@@ -27,6 +27,14 @@ export interface AgentPatchEngineUio {
|
|
|
27
27
|
* @memberof AgentPatchEngineUio
|
|
28
28
|
*/
|
|
29
29
|
model: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof AgentPatchEngineUio
|
|
34
|
+
*/
|
|
35
|
+
options?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
30
38
|
}
|
|
31
39
|
/**
|
|
32
40
|
* Check if a given object implements the AgentPatchEngineUio interface.
|
|
@@ -38,6 +38,7 @@ function AgentPatchEngineUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'providerId': json['providerId'],
|
|
40
40
|
'model': json['model'],
|
|
41
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
function AgentPatchEngineUioToJSON(json) {
|
|
@@ -50,5 +51,6 @@ function AgentPatchEngineUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
51
|
return {
|
|
51
52
|
'providerId': value['providerId'],
|
|
52
53
|
'model': value['model'],
|
|
54
|
+
'options': value['options'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -27,6 +27,14 @@ export interface DefaultEngineRequestUio {
|
|
|
27
27
|
* @memberof DefaultEngineRequestUio
|
|
28
28
|
*/
|
|
29
29
|
model: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof DefaultEngineRequestUio
|
|
34
|
+
*/
|
|
35
|
+
options?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
30
38
|
}
|
|
31
39
|
/**
|
|
32
40
|
* Check if a given object implements the DefaultEngineRequestUio interface.
|
|
@@ -38,6 +38,7 @@ function DefaultEngineRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'providerId': json['providerId'],
|
|
40
40
|
'model': json['model'],
|
|
41
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
function DefaultEngineRequestUioToJSON(json) {
|
|
@@ -50,5 +51,6 @@ function DefaultEngineRequestUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
50
51
|
return {
|
|
51
52
|
'providerId': value['providerId'],
|
|
52
53
|
'model': value['model'],
|
|
54
|
+
'options': value['options'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EngineOptionsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface EngineOptionsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof EngineOptionsUio
|
|
22
|
+
*/
|
|
23
|
+
store?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof EngineOptionsUio
|
|
28
|
+
*/
|
|
29
|
+
reasoningOverride?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EngineOptionsUio
|
|
34
|
+
*/
|
|
35
|
+
reasoningEffort?: EngineOptionsUioReasoningEffortEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EngineOptionsUio
|
|
40
|
+
*/
|
|
41
|
+
verbosity?: EngineOptionsUioVerbosityEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof EngineOptionsUio
|
|
46
|
+
*/
|
|
47
|
+
maxOutputTokens?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof EngineOptionsUio
|
|
52
|
+
*/
|
|
53
|
+
enableToolPreambles?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EngineOptionsUio
|
|
58
|
+
*/
|
|
59
|
+
toolsModel?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof EngineOptionsUio
|
|
64
|
+
*/
|
|
65
|
+
intentsModel?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof EngineOptionsUio
|
|
70
|
+
*/
|
|
71
|
+
suggestionsModel?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {{ [key: string]: any; }}
|
|
75
|
+
* @memberof EngineOptionsUio
|
|
76
|
+
*/
|
|
77
|
+
modelOptions?: {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const EngineOptionsUioReasoningEffortEnum: {
|
|
85
|
+
readonly Minimal: "minimal";
|
|
86
|
+
readonly Low: "low";
|
|
87
|
+
readonly Medium: "medium";
|
|
88
|
+
readonly High: "high";
|
|
89
|
+
};
|
|
90
|
+
export type EngineOptionsUioReasoningEffortEnum = typeof EngineOptionsUioReasoningEffortEnum[keyof typeof EngineOptionsUioReasoningEffortEnum];
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const EngineOptionsUioVerbosityEnum: {
|
|
95
|
+
readonly Low: "low";
|
|
96
|
+
readonly Medium: "medium";
|
|
97
|
+
readonly High: "high";
|
|
98
|
+
};
|
|
99
|
+
export type EngineOptionsUioVerbosityEnum = typeof EngineOptionsUioVerbosityEnum[keyof typeof EngineOptionsUioVerbosityEnum];
|
|
100
|
+
/**
|
|
101
|
+
* Check if a given object implements the EngineOptionsUio interface.
|
|
102
|
+
*/
|
|
103
|
+
export declare function instanceOfEngineOptionsUio(value: object): value is EngineOptionsUio;
|
|
104
|
+
export declare function EngineOptionsUioFromJSON(json: any): EngineOptionsUio;
|
|
105
|
+
export declare function EngineOptionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EngineOptionsUio;
|
|
106
|
+
export declare function EngineOptionsUioToJSON(json: any): EngineOptionsUio;
|
|
107
|
+
export declare function EngineOptionsUioToJSONTyped(value?: EngineOptionsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EngineOptionsUioVerbosityEnum = exports.EngineOptionsUioReasoningEffortEnum = void 0;
|
|
17
|
+
exports.instanceOfEngineOptionsUio = instanceOfEngineOptionsUio;
|
|
18
|
+
exports.EngineOptionsUioFromJSON = EngineOptionsUioFromJSON;
|
|
19
|
+
exports.EngineOptionsUioFromJSONTyped = EngineOptionsUioFromJSONTyped;
|
|
20
|
+
exports.EngineOptionsUioToJSON = EngineOptionsUioToJSON;
|
|
21
|
+
exports.EngineOptionsUioToJSONTyped = EngineOptionsUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EngineOptionsUioReasoningEffortEnum = {
|
|
26
|
+
Minimal: 'minimal',
|
|
27
|
+
Low: 'low',
|
|
28
|
+
Medium: 'medium',
|
|
29
|
+
High: 'high'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.EngineOptionsUioVerbosityEnum = {
|
|
35
|
+
Low: 'low',
|
|
36
|
+
Medium: 'medium',
|
|
37
|
+
High: 'high'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the EngineOptionsUio interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfEngineOptionsUio(value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function EngineOptionsUioFromJSON(json) {
|
|
46
|
+
return EngineOptionsUioFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function EngineOptionsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'store': json['store'] == null ? undefined : json['store'],
|
|
54
|
+
'reasoningOverride': json['reasoningOverride'] == null ? undefined : json['reasoningOverride'],
|
|
55
|
+
'reasoningEffort': json['reasoningEffort'] == null ? undefined : json['reasoningEffort'],
|
|
56
|
+
'verbosity': json['verbosity'] == null ? undefined : json['verbosity'],
|
|
57
|
+
'maxOutputTokens': json['maxOutputTokens'] == null ? undefined : json['maxOutputTokens'],
|
|
58
|
+
'enableToolPreambles': json['enableToolPreambles'] == null ? undefined : json['enableToolPreambles'],
|
|
59
|
+
'toolsModel': json['toolsModel'] == null ? undefined : json['toolsModel'],
|
|
60
|
+
'intentsModel': json['intentsModel'] == null ? undefined : json['intentsModel'],
|
|
61
|
+
'suggestionsModel': json['suggestionsModel'] == null ? undefined : json['suggestionsModel'],
|
|
62
|
+
'modelOptions': json['modelOptions'] == null ? undefined : json['modelOptions'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function EngineOptionsUioToJSON(json) {
|
|
66
|
+
return EngineOptionsUioToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function EngineOptionsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'store': value['store'],
|
|
74
|
+
'reasoningOverride': value['reasoningOverride'],
|
|
75
|
+
'reasoningEffort': value['reasoningEffort'],
|
|
76
|
+
'verbosity': value['verbosity'],
|
|
77
|
+
'maxOutputTokens': value['maxOutputTokens'],
|
|
78
|
+
'enableToolPreambles': value['enableToolPreambles'],
|
|
79
|
+
'toolsModel': value['toolsModel'],
|
|
80
|
+
'intentsModel': value['intentsModel'],
|
|
81
|
+
'suggestionsModel': value['suggestionsModel'],
|
|
82
|
+
'modelOptions': value['modelOptions'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { EngineOptionsUio } from './EngineOptionsUio';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,12 @@ export interface EngineUio {
|
|
|
27
28
|
* @memberof EngineUio
|
|
28
29
|
*/
|
|
29
30
|
model: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {EngineOptionsUio}
|
|
34
|
+
* @memberof EngineUio
|
|
35
|
+
*/
|
|
36
|
+
options?: EngineOptionsUio;
|
|
30
37
|
}
|
|
31
38
|
/**
|
|
32
39
|
* Check if a given object implements the EngineUio interface.
|
package/dist/models/EngineUio.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.EngineUioFromJSON = EngineUioFromJSON;
|
|
|
18
18
|
exports.EngineUioFromJSONTyped = EngineUioFromJSONTyped;
|
|
19
19
|
exports.EngineUioToJSON = EngineUioToJSON;
|
|
20
20
|
exports.EngineUioToJSONTyped = EngineUioToJSONTyped;
|
|
21
|
+
const EngineOptionsUio_1 = require("./EngineOptionsUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the EngineUio interface.
|
|
23
24
|
*/
|
|
@@ -38,6 +39,7 @@ function EngineUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
return {
|
|
39
40
|
'providerId': json['providerId'],
|
|
40
41
|
'model': json['model'],
|
|
42
|
+
'options': json['options'] == null ? undefined : (0, EngineOptionsUio_1.EngineOptionsUioFromJSON)(json['options']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
function EngineUioToJSON(json) {
|
|
@@ -50,5 +52,6 @@ function EngineUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
52
|
return {
|
|
51
53
|
'providerId': value['providerId'],
|
|
52
54
|
'model': value['model'],
|
|
55
|
+
'options': (0, EngineOptionsUio_1.EngineOptionsUioToJSON)(value['options']),
|
|
53
56
|
};
|
|
54
57
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export * from './CostMetricUio';
|
|
|
77
77
|
export * from './DefaultClientPricesUio';
|
|
78
78
|
export * from './DefaultEngineRequestUio';
|
|
79
79
|
export * from './DocumentAddRequestUio';
|
|
80
|
+
export * from './EngineOptionsUio';
|
|
80
81
|
export * from './EngineUio';
|
|
81
82
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
82
83
|
export * from './FileAttachmentProcessedOneOfUio';
|
package/dist/models/index.js
CHANGED
|
@@ -95,6 +95,7 @@ __exportStar(require("./CostMetricUio"), exports);
|
|
|
95
95
|
__exportStar(require("./DefaultClientPricesUio"), exports);
|
|
96
96
|
__exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
97
97
|
__exportStar(require("./DocumentAddRequestUio"), exports);
|
|
98
|
+
__exportStar(require("./EngineOptionsUio"), exports);
|
|
98
99
|
__exportStar(require("./EngineUio"), exports);
|
|
99
100
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
100
101
|
__exportStar(require("./FileAttachmentProcessedOneOfUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -7672,6 +7672,10 @@
|
|
|
7672
7672
|
},
|
|
7673
7673
|
"model" : {
|
|
7674
7674
|
"type" : "string"
|
|
7675
|
+
},
|
|
7676
|
+
"options" : {
|
|
7677
|
+
"additionalProperties" : true,
|
|
7678
|
+
"type" : "object"
|
|
7675
7679
|
}
|
|
7676
7680
|
},
|
|
7677
7681
|
"required" : [ "model", "providerId" ],
|
|
@@ -8406,6 +8410,9 @@
|
|
|
8406
8410
|
},
|
|
8407
8411
|
"model" : {
|
|
8408
8412
|
"type" : "string"
|
|
8413
|
+
},
|
|
8414
|
+
"options" : {
|
|
8415
|
+
"$ref" : "#/components/schemas/Engine_options"
|
|
8409
8416
|
}
|
|
8410
8417
|
},
|
|
8411
8418
|
"required" : [ "model", "providerId" ],
|
|
@@ -8654,6 +8661,10 @@
|
|
|
8654
8661
|
},
|
|
8655
8662
|
"model" : {
|
|
8656
8663
|
"type" : "string"
|
|
8664
|
+
},
|
|
8665
|
+
"options" : {
|
|
8666
|
+
"additionalProperties" : true,
|
|
8667
|
+
"type" : "object"
|
|
8657
8668
|
}
|
|
8658
8669
|
},
|
|
8659
8670
|
"required" : [ "model", "providerId" ],
|
|
@@ -8893,6 +8904,46 @@
|
|
|
8893
8904
|
},
|
|
8894
8905
|
"type" : "object"
|
|
8895
8906
|
},
|
|
8907
|
+
"Engine_options" : {
|
|
8908
|
+
"additionalProperties" : false,
|
|
8909
|
+
"properties" : {
|
|
8910
|
+
"store" : {
|
|
8911
|
+
"type" : "boolean"
|
|
8912
|
+
},
|
|
8913
|
+
"reasoningOverride" : {
|
|
8914
|
+
"type" : "boolean"
|
|
8915
|
+
},
|
|
8916
|
+
"reasoningEffort" : {
|
|
8917
|
+
"enum" : [ "minimal", "low", "medium", "high" ],
|
|
8918
|
+
"type" : "string"
|
|
8919
|
+
},
|
|
8920
|
+
"verbosity" : {
|
|
8921
|
+
"enum" : [ "low", "medium", "high" ],
|
|
8922
|
+
"type" : "string"
|
|
8923
|
+
},
|
|
8924
|
+
"maxOutputTokens" : {
|
|
8925
|
+
"minimum" : 1,
|
|
8926
|
+
"type" : "integer"
|
|
8927
|
+
},
|
|
8928
|
+
"enableToolPreambles" : {
|
|
8929
|
+
"type" : "boolean"
|
|
8930
|
+
},
|
|
8931
|
+
"toolsModel" : {
|
|
8932
|
+
"type" : "string"
|
|
8933
|
+
},
|
|
8934
|
+
"intentsModel" : {
|
|
8935
|
+
"type" : "string"
|
|
8936
|
+
},
|
|
8937
|
+
"suggestionsModel" : {
|
|
8938
|
+
"type" : "string"
|
|
8939
|
+
},
|
|
8940
|
+
"modelOptions" : {
|
|
8941
|
+
"additionalProperties" : true,
|
|
8942
|
+
"type" : "object"
|
|
8943
|
+
}
|
|
8944
|
+
},
|
|
8945
|
+
"type" : "object"
|
|
8946
|
+
},
|
|
8896
8947
|
"User_user" : {
|
|
8897
8948
|
"properties" : {
|
|
8898
8949
|
"email" : {
|