@breign/client 1.0.26 → 1.0.28
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/ChatContextLocationUio.d.ts +38 -0
- package/dist/models/ChatContextLocationUio.js +54 -0
- package/dist/models/ChatContextUio.d.ts +15 -0
- package/dist/models/ChatContextUio.js +5 -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 +2 -0
- package/dist/models/index.js +2 -0
- package/dist/openapi.json +70 -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
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ChatContextLocationUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatContextLocationUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatContextLocationUio
|
|
22
|
+
*/
|
|
23
|
+
latitude: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatContextLocationUio
|
|
28
|
+
*/
|
|
29
|
+
longitude: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChatContextLocationUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChatContextLocationUio(value: object): value is ChatContextLocationUio;
|
|
35
|
+
export declare function ChatContextLocationUioFromJSON(json: any): ChatContextLocationUio;
|
|
36
|
+
export declare function ChatContextLocationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatContextLocationUio;
|
|
37
|
+
export declare function ChatContextLocationUioToJSON(json: any): ChatContextLocationUio;
|
|
38
|
+
export declare function ChatContextLocationUioToJSONTyped(value?: ChatContextLocationUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfChatContextLocationUio = instanceOfChatContextLocationUio;
|
|
17
|
+
exports.ChatContextLocationUioFromJSON = ChatContextLocationUioFromJSON;
|
|
18
|
+
exports.ChatContextLocationUioFromJSONTyped = ChatContextLocationUioFromJSONTyped;
|
|
19
|
+
exports.ChatContextLocationUioToJSON = ChatContextLocationUioToJSON;
|
|
20
|
+
exports.ChatContextLocationUioToJSONTyped = ChatContextLocationUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatContextLocationUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatContextLocationUio(value) {
|
|
25
|
+
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ChatContextLocationUioFromJSON(json) {
|
|
32
|
+
return ChatContextLocationUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ChatContextLocationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'latitude': json['latitude'],
|
|
40
|
+
'longitude': json['longitude'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ChatContextLocationUioToJSON(json) {
|
|
44
|
+
return ChatContextLocationUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ChatContextLocationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'latitude': value['latitude'],
|
|
52
|
+
'longitude': value['longitude'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ChatContextLocationUio } from './ChatContextLocationUio';
|
|
12
13
|
import type { FileAttachmentUio } from './FileAttachmentUio';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,6 +23,20 @@ export interface ChatContextUio {
|
|
|
22
23
|
* @memberof ChatContextUio
|
|
23
24
|
*/
|
|
24
25
|
attachments: Array<FileAttachmentUio>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ChatContextLocationUio}
|
|
29
|
+
* @memberof ChatContextUio
|
|
30
|
+
*/
|
|
31
|
+
location?: ChatContextLocationUio;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: any; }}
|
|
35
|
+
* @memberof ChatContextUio
|
|
36
|
+
*/
|
|
37
|
+
custom?: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
25
40
|
/**
|
|
26
41
|
*
|
|
27
42
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ exports.ChatContextUioFromJSON = ChatContextUioFromJSON;
|
|
|
18
18
|
exports.ChatContextUioFromJSONTyped = ChatContextUioFromJSONTyped;
|
|
19
19
|
exports.ChatContextUioToJSON = ChatContextUioToJSON;
|
|
20
20
|
exports.ChatContextUioToJSONTyped = ChatContextUioToJSONTyped;
|
|
21
|
+
const ChatContextLocationUio_1 = require("./ChatContextLocationUio");
|
|
21
22
|
const FileAttachmentUio_1 = require("./FileAttachmentUio");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the ChatContextUio interface.
|
|
@@ -36,6 +37,8 @@ function ChatContextUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
39
|
'attachments': (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
40
|
+
'location': json['location'] == null ? undefined : (0, ChatContextLocationUio_1.ChatContextLocationUioFromJSON)(json['location']),
|
|
41
|
+
'custom': json['custom'] == null ? undefined : json['custom'],
|
|
39
42
|
'openaiThreadId': json['openaiThreadId'] == null ? undefined : json['openaiThreadId'],
|
|
40
43
|
};
|
|
41
44
|
}
|
|
@@ -48,6 +51,8 @@ function ChatContextUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
48
51
|
}
|
|
49
52
|
return {
|
|
50
53
|
'attachments': (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
54
|
+
'location': (0, ChatContextLocationUio_1.ChatContextLocationUioToJSON)(value['location']),
|
|
55
|
+
'custom': value['custom'],
|
|
51
56
|
'openaiThreadId': value['openaiThreadId'],
|
|
52
57
|
};
|
|
53
58
|
}
|
|
@@ -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
|
@@ -55,6 +55,7 @@ export * from './AuthCodeResponseUio';
|
|
|
55
55
|
export * from './AuthTypeUio';
|
|
56
56
|
export * from './BodyWithIdUio';
|
|
57
57
|
export * from './BodyWithMessageUio';
|
|
58
|
+
export * from './ChatContextLocationUio';
|
|
58
59
|
export * from './ChatContextUio';
|
|
59
60
|
export * from './ChatMessageAudioInnerUio';
|
|
60
61
|
export * from './ChatMessageRoleUio';
|
|
@@ -77,6 +78,7 @@ export * from './CostMetricUio';
|
|
|
77
78
|
export * from './DefaultClientPricesUio';
|
|
78
79
|
export * from './DefaultEngineRequestUio';
|
|
79
80
|
export * from './DocumentAddRequestUio';
|
|
81
|
+
export * from './EngineOptionsUio';
|
|
80
82
|
export * from './EngineUio';
|
|
81
83
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
82
84
|
export * from './FileAttachmentProcessedOneOfUio';
|
package/dist/models/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __exportStar(require("./AuthCodeResponseUio"), exports);
|
|
|
73
73
|
__exportStar(require("./AuthTypeUio"), exports);
|
|
74
74
|
__exportStar(require("./BodyWithIdUio"), exports);
|
|
75
75
|
__exportStar(require("./BodyWithMessageUio"), exports);
|
|
76
|
+
__exportStar(require("./ChatContextLocationUio"), exports);
|
|
76
77
|
__exportStar(require("./ChatContextUio"), exports);
|
|
77
78
|
__exportStar(require("./ChatMessageAudioInnerUio"), exports);
|
|
78
79
|
__exportStar(require("./ChatMessageRoleUio"), exports);
|
|
@@ -95,6 +96,7 @@ __exportStar(require("./CostMetricUio"), exports);
|
|
|
95
96
|
__exportStar(require("./DefaultClientPricesUio"), exports);
|
|
96
97
|
__exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
97
98
|
__exportStar(require("./DocumentAddRequestUio"), exports);
|
|
99
|
+
__exportStar(require("./EngineOptionsUio"), exports);
|
|
98
100
|
__exportStar(require("./EngineUio"), exports);
|
|
99
101
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
100
102
|
__exportStar(require("./FileAttachmentProcessedOneOfUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -6860,6 +6860,13 @@
|
|
|
6860
6860
|
},
|
|
6861
6861
|
"type" : "array"
|
|
6862
6862
|
},
|
|
6863
|
+
"location" : {
|
|
6864
|
+
"$ref" : "#/components/schemas/ChatContext_location"
|
|
6865
|
+
},
|
|
6866
|
+
"custom" : {
|
|
6867
|
+
"additionalProperties" : true,
|
|
6868
|
+
"type" : "object"
|
|
6869
|
+
},
|
|
6863
6870
|
"openaiThreadId" : {
|
|
6864
6871
|
"type" : "string"
|
|
6865
6872
|
}
|
|
@@ -7672,6 +7679,10 @@
|
|
|
7672
7679
|
},
|
|
7673
7680
|
"model" : {
|
|
7674
7681
|
"type" : "string"
|
|
7682
|
+
},
|
|
7683
|
+
"options" : {
|
|
7684
|
+
"additionalProperties" : true,
|
|
7685
|
+
"type" : "object"
|
|
7675
7686
|
}
|
|
7676
7687
|
},
|
|
7677
7688
|
"required" : [ "model", "providerId" ],
|
|
@@ -8406,6 +8417,9 @@
|
|
|
8406
8417
|
},
|
|
8407
8418
|
"model" : {
|
|
8408
8419
|
"type" : "string"
|
|
8420
|
+
},
|
|
8421
|
+
"options" : {
|
|
8422
|
+
"$ref" : "#/components/schemas/Engine_options"
|
|
8409
8423
|
}
|
|
8410
8424
|
},
|
|
8411
8425
|
"required" : [ "model", "providerId" ],
|
|
@@ -8654,6 +8668,10 @@
|
|
|
8654
8668
|
},
|
|
8655
8669
|
"model" : {
|
|
8656
8670
|
"type" : "string"
|
|
8671
|
+
},
|
|
8672
|
+
"options" : {
|
|
8673
|
+
"additionalProperties" : true,
|
|
8674
|
+
"type" : "object"
|
|
8657
8675
|
}
|
|
8658
8676
|
},
|
|
8659
8677
|
"required" : [ "model", "providerId" ],
|
|
@@ -8729,6 +8747,18 @@
|
|
|
8729
8747
|
"$ref" : "#/components/schemas/FileAttachment_processed_oneOf_1"
|
|
8730
8748
|
} ]
|
|
8731
8749
|
},
|
|
8750
|
+
"ChatContext_location" : {
|
|
8751
|
+
"properties" : {
|
|
8752
|
+
"latitude" : {
|
|
8753
|
+
"type" : "string"
|
|
8754
|
+
},
|
|
8755
|
+
"longitude" : {
|
|
8756
|
+
"type" : "string"
|
|
8757
|
+
}
|
|
8758
|
+
},
|
|
8759
|
+
"required" : [ "latitude", "longitude" ],
|
|
8760
|
+
"type" : "object"
|
|
8761
|
+
},
|
|
8732
8762
|
"App_sequences_inner" : {
|
|
8733
8763
|
"properties" : {
|
|
8734
8764
|
"id" : {
|
|
@@ -8893,6 +8923,46 @@
|
|
|
8893
8923
|
},
|
|
8894
8924
|
"type" : "object"
|
|
8895
8925
|
},
|
|
8926
|
+
"Engine_options" : {
|
|
8927
|
+
"additionalProperties" : false,
|
|
8928
|
+
"properties" : {
|
|
8929
|
+
"store" : {
|
|
8930
|
+
"type" : "boolean"
|
|
8931
|
+
},
|
|
8932
|
+
"reasoningOverride" : {
|
|
8933
|
+
"type" : "boolean"
|
|
8934
|
+
},
|
|
8935
|
+
"reasoningEffort" : {
|
|
8936
|
+
"enum" : [ "minimal", "low", "medium", "high" ],
|
|
8937
|
+
"type" : "string"
|
|
8938
|
+
},
|
|
8939
|
+
"verbosity" : {
|
|
8940
|
+
"enum" : [ "low", "medium", "high" ],
|
|
8941
|
+
"type" : "string"
|
|
8942
|
+
},
|
|
8943
|
+
"maxOutputTokens" : {
|
|
8944
|
+
"minimum" : 1,
|
|
8945
|
+
"type" : "integer"
|
|
8946
|
+
},
|
|
8947
|
+
"enableToolPreambles" : {
|
|
8948
|
+
"type" : "boolean"
|
|
8949
|
+
},
|
|
8950
|
+
"toolsModel" : {
|
|
8951
|
+
"type" : "string"
|
|
8952
|
+
},
|
|
8953
|
+
"intentsModel" : {
|
|
8954
|
+
"type" : "string"
|
|
8955
|
+
},
|
|
8956
|
+
"suggestionsModel" : {
|
|
8957
|
+
"type" : "string"
|
|
8958
|
+
},
|
|
8959
|
+
"modelOptions" : {
|
|
8960
|
+
"additionalProperties" : true,
|
|
8961
|
+
"type" : "object"
|
|
8962
|
+
}
|
|
8963
|
+
},
|
|
8964
|
+
"type" : "object"
|
|
8965
|
+
},
|
|
8896
8966
|
"User_user" : {
|
|
8897
8967
|
"properties" : {
|
|
8898
8968
|
"email" : {
|