@epam/ai-dial-shared 0.39.0-rc.8 → 0.39.0
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/package.json +2 -2
- package/src/types/chat.d.ts +9 -5
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-shared",
|
|
3
3
|
"description": "Shared elements that support developing DIAL",
|
|
4
|
-
"homepage": "https://
|
|
5
|
-
"version": "0.39.0
|
|
4
|
+
"homepage": "https://dialx.ai",
|
|
5
|
+
"version": "0.39.0",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|
package/src/types/chat.d.ts
CHANGED
|
@@ -31,8 +31,10 @@ export declare enum LikeState {
|
|
|
31
31
|
export interface MessageSettings {
|
|
32
32
|
prompt: string;
|
|
33
33
|
temperature: number;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated but required by core validation
|
|
36
|
+
*/
|
|
37
|
+
selectedAddons?: string[];
|
|
36
38
|
}
|
|
37
39
|
export interface ConversationEntityModel {
|
|
38
40
|
id: string;
|
|
@@ -90,6 +92,7 @@ export interface EntityPublicationInfo {
|
|
|
90
92
|
action?: PublishActions;
|
|
91
93
|
isNotExist?: boolean;
|
|
92
94
|
versionGroup?: string;
|
|
95
|
+
publishCredentials?: boolean;
|
|
93
96
|
}
|
|
94
97
|
export declare enum FeatureType {
|
|
95
98
|
Chat = "chat",
|
|
@@ -111,7 +114,6 @@ export interface FolderInterface extends ShareEntity {
|
|
|
111
114
|
type: FeatureType;
|
|
112
115
|
temporary?: boolean;
|
|
113
116
|
serverSynced?: boolean;
|
|
114
|
-
isPublicationFolder?: boolean;
|
|
115
117
|
}
|
|
116
118
|
export interface TemporaryFolderInterface extends Omit<FolderInterface, 'type'> {
|
|
117
119
|
temporary: true;
|
|
@@ -140,11 +142,13 @@ export interface Conversation extends ShareEntity, ConversationInfo {
|
|
|
140
142
|
messages: Message[];
|
|
141
143
|
prompt: string;
|
|
142
144
|
temperature: number;
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated but required by core validation
|
|
147
|
+
*/
|
|
148
|
+
selectedAddons?: string[];
|
|
143
149
|
reference?: string;
|
|
144
150
|
replay?: Replay;
|
|
145
151
|
playback?: Playback;
|
|
146
|
-
selectedAddons: string[];
|
|
147
|
-
assistantModelId?: string;
|
|
148
152
|
isMessageStreaming?: boolean;
|
|
149
153
|
customViewState?: Record<string, unknown>;
|
|
150
154
|
}
|