@epam/ai-dial-shared 0.45.0-rc.50 → 0.45.0-rc.52

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
@@ -114,6 +114,11 @@ var FeatureType;
114
114
  FeatureType["Application"] = "application";
115
115
  FeatureType["Toolset"] = "toolset";
116
116
  })(FeatureType || (FeatureType = {}));
117
+ var ConversationResponseFormat;
118
+ (function (ConversationResponseFormat) {
119
+ ConversationResponseFormat["PlainText"] = "Plain text";
120
+ ConversationResponseFormat["Markdown"] = "Markdown";
121
+ })(ConversationResponseFormat || (ConversationResponseFormat = {}));
117
122
 
118
123
  var MessageButtonPlacement;
119
124
  (function (MessageButtonPlacement) {
@@ -352,4 +357,4 @@ var VisualizerConnectorRequests;
352
357
  VisualizerConnectorRequests["setVisualizerOptions"] = "SET_VISUALIZER_OPTIONS";
353
358
  })(VisualizerConnectorRequests || (VisualizerConnectorRequests = {}));
354
359
 
355
- 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
@@ -2,7 +2,7 @@
2
2
  "name": "@epam/ai-dial-shared",
3
3
  "description": "Shared elements that support developing DIAL",
4
4
  "homepage": "https://dialx.ai",
5
- "version": "0.45.0-rc.50",
5
+ "version": "0.45.0-rc.52",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {
@@ -140,10 +140,15 @@ export interface Playback {
140
140
  activePlaybackIndex: number;
141
141
  customViewState?: Record<string, unknown>;
142
142
  }
143
+ export declare enum ConversationResponseFormat {
144
+ PlainText = "Plain text",
145
+ Markdown = "Markdown"
146
+ }
143
147
  export interface Conversation extends ShareEntity, ConversationInfo {
144
148
  messages: Message[];
145
149
  prompt: string;
146
150
  temperature: number;
151
+ responseFormat?: ConversationResponseFormat;
147
152
  /**
148
153
  * @deprecated but required by core validation
149
154
  */