@epam/ai-dial-shared 0.44.3 → 0.45.0-dev.111
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
CHANGED
|
@@ -63,6 +63,7 @@ var Feature;
|
|
|
63
63
|
Feature["HideUserMenu"] = "hide-user-menu";
|
|
64
64
|
// Applications
|
|
65
65
|
Feature["CustomApplications"] = "custom-applications";
|
|
66
|
+
Feature["HideCustomAppCreation"] = "hide-custom-app-creation";
|
|
66
67
|
Feature["CodeApps"] = "code-apps";
|
|
67
68
|
Feature["CodeInterpreter"] = "code-interpreter";
|
|
68
69
|
// Marketplace
|
|
@@ -70,6 +71,8 @@ var Feature;
|
|
|
70
71
|
Feature["MarketplaceTableView"] = "marketplace-table-view";
|
|
71
72
|
//Toolsets
|
|
72
73
|
Feature["Toolsets"] = "toolsets";
|
|
74
|
+
// Voice input
|
|
75
|
+
Feature["VoiceInput"] = "voice-input";
|
|
73
76
|
})(Feature || (Feature = {}));
|
|
74
77
|
|
|
75
78
|
var Role;
|
|
@@ -111,6 +114,11 @@ var FeatureType;
|
|
|
111
114
|
FeatureType["Application"] = "application";
|
|
112
115
|
FeatureType["Toolset"] = "toolset";
|
|
113
116
|
})(FeatureType || (FeatureType = {}));
|
|
117
|
+
var ConversationResponseFormat;
|
|
118
|
+
(function (ConversationResponseFormat) {
|
|
119
|
+
ConversationResponseFormat["PlainText"] = "Plain text";
|
|
120
|
+
ConversationResponseFormat["Markdown"] = "Markdown";
|
|
121
|
+
})(ConversationResponseFormat || (ConversationResponseFormat = {}));
|
|
114
122
|
|
|
115
123
|
var MessageButtonPlacement;
|
|
116
124
|
(function (MessageButtonPlacement) {
|
|
@@ -349,4 +357,4 @@ var VisualizerConnectorRequests;
|
|
|
349
357
|
VisualizerConnectorRequests["setVisualizerOptions"] = "SET_VISUALIZER_OPTIONS";
|
|
350
358
|
})(VisualizerConnectorRequests || (VisualizerConnectorRequests = {}));
|
|
351
359
|
|
|
352
|
-
export { DeferredRequest, DialSchemaProperties, Feature, FeatureType, FormSchemaPropertyWidget, LikeState, MessageButtonPlacement, OverlayEvents, OverlayRequests, PublishActions, Role, SharePermission, Task, ToolsetAuthStatus, ToolsetAuthTypes, ToolsetTransportType, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
|
360
|
+
export { ConversationResponseFormat, DeferredRequest, DialSchemaProperties, Feature, FeatureType, FormSchemaPropertyWidget, LikeState, MessageButtonPlacement, OverlayEvents, OverlayRequests, PublishActions, Role, SharePermission, Task, ToolsetAuthStatus, ToolsetAuthTypes, ToolsetTransportType, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
package/package.json
CHANGED
package/src/types/chat.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ export interface FolderInterface extends ShareEntity {
|
|
|
115
115
|
type: FeatureType;
|
|
116
116
|
temporary?: boolean;
|
|
117
117
|
serverSynced?: boolean;
|
|
118
|
+
isRootSharedItem?: boolean;
|
|
118
119
|
}
|
|
119
120
|
export interface TemporaryFolderInterface extends Omit<FolderInterface, 'type'> {
|
|
120
121
|
temporary: true;
|
|
@@ -139,10 +140,15 @@ export interface Playback {
|
|
|
139
140
|
activePlaybackIndex: number;
|
|
140
141
|
customViewState?: Record<string, unknown>;
|
|
141
142
|
}
|
|
143
|
+
export declare enum ConversationResponseFormat {
|
|
144
|
+
PlainText = "Plain text",
|
|
145
|
+
Markdown = "Markdown"
|
|
146
|
+
}
|
|
142
147
|
export interface Conversation extends ShareEntity, ConversationInfo {
|
|
143
148
|
messages: Message[];
|
|
144
149
|
prompt: string;
|
|
145
150
|
temperature: number;
|
|
151
|
+
responseFormat?: ConversationResponseFormat;
|
|
146
152
|
/**
|
|
147
153
|
* @deprecated but required by core validation
|
|
148
154
|
*/
|
package/src/types/features.d.ts
CHANGED
|
@@ -45,11 +45,13 @@ export declare enum Feature {
|
|
|
45
45
|
CustomLogo = "custom-logo",// Enable setting for custom logo feature
|
|
46
46
|
HideUserMenu = "hide-user-menu",// Hide user menu button from top header
|
|
47
47
|
CustomApplications = "custom-applications",// Enable creating of applications ('Add app' button/menu)
|
|
48
|
+
HideCustomAppCreation = "hide-custom-app-creation",// Hide "Custom app" option in 'Add app' button/menu
|
|
48
49
|
CodeApps = "code-apps",// Enable creating of Code apps (into the 'Add app' menu)
|
|
49
50
|
CodeInterpreter = "code-interpreter",// Enable Code Interpreter feature
|
|
50
51
|
Marketplace = "marketplace",// Enable Marketplace
|
|
51
52
|
MarketplaceTableView = "marketplace-table-view",// Enable table view in Marketplace
|
|
52
|
-
Toolsets = "toolsets"
|
|
53
|
+
Toolsets = "toolsets",//Enable toolsets
|
|
54
|
+
VoiceInput = "voice-input"
|
|
53
55
|
}
|
|
54
56
|
export interface FeatureData {
|
|
55
57
|
description?: string;
|