@epam/ai-dial-chat-visualizer-connector 0.45.0 → 0.46.0-dev.43
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/README.md +11 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,20 +63,28 @@ interface ApplicationVisualizerConfig {
|
|
|
63
63
|
title: string;
|
|
64
64
|
description?: string;
|
|
65
65
|
icon?: string;
|
|
66
|
-
contentType
|
|
66
|
+
contentType?: string;
|
|
67
67
|
url: string;
|
|
68
|
+
expanded?: boolean;
|
|
69
|
+
borderless?: boolean;
|
|
70
|
+
withoutTitle?: boolean;
|
|
68
71
|
passAuthInfo?: boolean;
|
|
69
72
|
passExplicitToken?: boolean;
|
|
70
73
|
}
|
|
71
74
|
```
|
|
72
75
|
|
|
76
|
+
Optional `contentType` uses the same comma-separated MIME list style as `CUSTOM_VISUALIZERS`. When set, only attachments whose `type` is in that list (and with a URL) are passed to the grouped iframe; other attachments (for example `image/png`) are rendered with the default chat attachment UI. When omitted, every attachment with a URL is sent to the grouped visualizer.
|
|
77
|
+
|
|
73
78
|
```json
|
|
74
79
|
APPLICATION_VISUALIZERS={
|
|
75
80
|
"applicationId": {
|
|
76
81
|
"title": "GROUPED_VISUALIZER",
|
|
77
82
|
"description": "Visualizer for grouped attachments",
|
|
78
|
-
"contentType": "application/
|
|
79
|
-
"url": "http://localhost:8000"
|
|
83
|
+
"contentType": "application/custom+json,application/content+json",
|
|
84
|
+
"url": "http://localhost:8000",
|
|
85
|
+
"expanded": true,
|
|
86
|
+
"borderless": true,
|
|
87
|
+
"withoutTitle": false
|
|
80
88
|
}
|
|
81
89
|
}
|
|
82
90
|
```
|
|
@@ -112,7 +120,6 @@ Both flags are independent and can be combined:
|
|
|
112
120
|
{
|
|
113
121
|
"applicationId": {
|
|
114
122
|
"title": "MY_VISUALIZER",
|
|
115
|
-
"contentType": "application/vnd.custom+json",
|
|
116
123
|
"url": "https://my-visualizer.example.com",
|
|
117
124
|
"passAuthInfo": true,
|
|
118
125
|
"passExplicitToken": true
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@epam/ai-dial-chat-visualizer-connector",
|
|
3
3
|
"description": "Package for custom visualizer to connect with DIAL Chat",
|
|
4
4
|
"homepage": "https://dialx.ai",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.46.0-dev.43",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@epam/ai-dial-shared": "0.
|
|
7
|
+
"@epam/ai-dial-shared": "0.46.0-dev.43"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"bugs": {
|