@epam/ai-dial-shared 0.39.0-rc.9 → 0.39.1
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/index.esm.js +1 -0
- package/package.json +2 -2
- package/src/types/chat.d.ts +9 -4
- package/src/types/features.d.ts +1 -0
package/index.esm.js
CHANGED
|
@@ -56,6 +56,7 @@ var Feature;
|
|
|
56
56
|
// Applications
|
|
57
57
|
Feature["CustomApplications"] = "custom-applications";
|
|
58
58
|
Feature["CodeApps"] = "code-apps";
|
|
59
|
+
Feature["CodeInterpreter"] = "code-interpreter";
|
|
59
60
|
// Marketplace
|
|
60
61
|
Feature["Marketplace"] = "marketplace";
|
|
61
62
|
Feature["MarketplaceTableView"] = "marketplace-table-view";
|
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.
|
|
4
|
+
"homepage": "https://dialx.ai",
|
|
5
|
+
"version": "0.39.1",
|
|
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",
|
|
@@ -139,11 +142,13 @@ export interface Conversation extends ShareEntity, ConversationInfo {
|
|
|
139
142
|
messages: Message[];
|
|
140
143
|
prompt: string;
|
|
141
144
|
temperature: number;
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated but required by core validation
|
|
147
|
+
*/
|
|
148
|
+
selectedAddons?: string[];
|
|
142
149
|
reference?: string;
|
|
143
150
|
replay?: Replay;
|
|
144
151
|
playback?: Playback;
|
|
145
|
-
selectedAddons: string[];
|
|
146
|
-
assistantModelId?: string;
|
|
147
152
|
isMessageStreaming?: boolean;
|
|
148
153
|
customViewState?: Record<string, unknown>;
|
|
149
154
|
}
|
package/src/types/features.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare enum Feature {
|
|
|
39
39
|
CustomLogo = "custom-logo",// Enable setting for custom logo feature
|
|
40
40
|
CustomApplications = "custom-applications",// Enable creating of applications ('Add app' button/menu)
|
|
41
41
|
CodeApps = "code-apps",// Enable creating of Code apps (into the 'Add app' menu)
|
|
42
|
+
CodeInterpreter = "code-interpreter",// Enable Code Interpreter feature
|
|
42
43
|
Marketplace = "marketplace",// Enable Marketplace
|
|
43
44
|
MarketplaceTableView = "marketplace-table-view",// Enable table view in Marketplace
|
|
44
45
|
Toolsets = "toolsets"
|