@breign/client 1.0.64 → 1.0.66
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/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/ChatMessageWithFlowNodeUio.d.ts +6 -0
- package/dist/models/ChatMessageWithFlowNodeUio.js +2 -0
- package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +2 -2
- package/dist/models/ProviderTypeUio.d.ts +2 -0
- package/dist/models/ProviderTypeUio.js +3 -1
- package/dist/openapi.json +6 -5
- package/package.json +1 -1
|
@@ -125,6 +125,12 @@ export interface ChatMessageUio {
|
|
|
125
125
|
* @memberof ChatMessageUio
|
|
126
126
|
*/
|
|
127
127
|
stream?: ChatMessageStreamUio | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ChatMessageUio
|
|
132
|
+
*/
|
|
133
|
+
reasoning?: string | null;
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
130
136
|
* Check if a given object implements the ChatMessageUio interface.
|
|
@@ -65,6 +65,7 @@ function ChatMessageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
66
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
67
|
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
68
|
+
'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function ChatMessageUioToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function ChatMessageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
92
93
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
93
94
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
95
|
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
96
|
+
'reasoning': value['reasoning'],
|
|
95
97
|
};
|
|
96
98
|
}
|
|
@@ -125,6 +125,12 @@ export interface ChatMessageWithFlowNodeUio {
|
|
|
125
125
|
* @memberof ChatMessageWithFlowNodeUio
|
|
126
126
|
*/
|
|
127
127
|
stream?: ChatMessageStreamUio | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ChatMessageWithFlowNodeUio
|
|
132
|
+
*/
|
|
133
|
+
reasoning?: string | null;
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
130
136
|
* Check if a given object implements the ChatMessageWithFlowNodeUio interface.
|
|
@@ -65,6 +65,7 @@ function ChatMessageWithFlowNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
66
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
67
|
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
68
|
+
'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function ChatMessageWithFlowNodeUioToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function ChatMessageWithFlowNodeUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
92
93
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
93
94
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
95
|
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
96
|
+
'reasoning': value['reasoning'],
|
|
95
97
|
};
|
|
96
98
|
}
|
|
@@ -29,10 +29,10 @@ export interface KnowledgeBaseFilesInnerUio {
|
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof KnowledgeBaseFilesInnerUio
|
|
34
34
|
*/
|
|
35
|
-
knowledgeBaseId:
|
|
35
|
+
knowledgeBaseId: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the KnowledgeBaseFilesInnerUio interface.
|
|
@@ -18,6 +18,8 @@ export declare const ProviderTypeUio: {
|
|
|
18
18
|
readonly Openai: "openai";
|
|
19
19
|
readonly Mistral: "mistral";
|
|
20
20
|
readonly Other: "other";
|
|
21
|
+
readonly Gemini: "gemini";
|
|
22
|
+
readonly Vllm: "vllm";
|
|
21
23
|
};
|
|
22
24
|
export type ProviderTypeUio = typeof ProviderTypeUio[keyof typeof ProviderTypeUio];
|
|
23
25
|
export declare function instanceOfProviderTypeUio(value: any): boolean;
|
|
@@ -27,7 +27,9 @@ exports.ProviderTypeUio = {
|
|
|
27
27
|
Ollama: 'ollama',
|
|
28
28
|
Openai: 'openai',
|
|
29
29
|
Mistral: 'mistral',
|
|
30
|
-
Other: 'other'
|
|
30
|
+
Other: 'other',
|
|
31
|
+
Gemini: 'gemini',
|
|
32
|
+
Vllm: 'vllm'
|
|
31
33
|
};
|
|
32
34
|
function instanceOfProviderTypeUio(value) {
|
|
33
35
|
for (const key in exports.ProviderTypeUio) {
|
package/dist/openapi.json
CHANGED
|
@@ -7827,6 +7827,10 @@
|
|
|
7827
7827
|
},
|
|
7828
7828
|
"stream" : {
|
|
7829
7829
|
"$ref" : "#/components/schemas/ChatMessage_stream"
|
|
7830
|
+
},
|
|
7831
|
+
"reasoning" : {
|
|
7832
|
+
"nullable" : true,
|
|
7833
|
+
"type" : "string"
|
|
7830
7834
|
}
|
|
7831
7835
|
},
|
|
7832
7836
|
"required" : [ "content", "id", "role", "timestamp" ],
|
|
@@ -9962,7 +9966,7 @@
|
|
|
9962
9966
|
"type" : "object"
|
|
9963
9967
|
},
|
|
9964
9968
|
"ProviderType" : {
|
|
9965
|
-
"enum" : [ "ollama", "openai", "mistral", "other" ],
|
|
9969
|
+
"enum" : [ "ollama", "openai", "mistral", "other", "gemini", "vllm" ],
|
|
9966
9970
|
"type" : "string"
|
|
9967
9971
|
},
|
|
9968
9972
|
"GuardianType" : {
|
|
@@ -10091,10 +10095,7 @@
|
|
|
10091
10095
|
"type" : "string"
|
|
10092
10096
|
},
|
|
10093
10097
|
"knowledgeBaseId" : {
|
|
10094
|
-
"
|
|
10095
|
-
"type" : "string"
|
|
10096
|
-
},
|
|
10097
|
-
"type" : "array"
|
|
10098
|
+
"type" : "string"
|
|
10098
10099
|
}
|
|
10099
10100
|
},
|
|
10100
10101
|
"required" : [ "id", "knowledgeBaseId", "name" ],
|