@websolutespa/bom-mixer-llm 1.10.6 → 2.0.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.
Files changed (219) hide show
  1. package/CHANGELOG.md +559 -547
  2. package/README.md +11 -11
  3. package/dist/cjs/index.js +17 -2
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/esm/initializer/app/app.js +7 -0
  6. package/dist/esm/initializer/app/app.js.map +1 -1
  7. package/dist/esm/useLlm/useLlm.js +10 -2
  8. package/dist/esm/useLlm/useLlm.js.map +1 -1
  9. package/dist/types/initializer/app/app.d.ts.map +1 -1
  10. package/dist/types/useLlm/useLlm.d.ts +3 -0
  11. package/dist/types/useLlm/useLlm.d.ts.map +1 -1
  12. package/package.json +8 -8
  13. package/src/__tests/example.test.ts +8 -8
  14. package/src/global.d.ts +52 -52
  15. package/src/index.ts +12 -12
  16. package/src/initializer/app/app.tsx +158 -151
  17. package/src/initializer/app/error-handler.tsx +20 -20
  18. package/src/initializer/app/label.json +338 -338
  19. package/src/initializer/initializer.ts +99 -99
  20. package/src/initializer/utils.tsx +129 -129
  21. package/src/llm/blocks/Action/_style.scss +4 -4
  22. package/src/llm/blocks/Action/action.tsx +32 -32
  23. package/src/llm/blocks/ActionGroup/_style.scss +8 -8
  24. package/src/llm/blocks/ActionGroup/action-group.tsx +16 -16
  25. package/src/llm/blocks/AssistantMessage/assistant-message.tsx +16 -16
  26. package/src/llm/blocks/Card/_style.scss +136 -136
  27. package/src/llm/blocks/Card/card-cta.tsx +17 -17
  28. package/src/llm/blocks/Card/card.tsx +71 -71
  29. package/src/llm/blocks/CardGroup/_style.scss +60 -60
  30. package/src/llm/blocks/CardGroup/card-group.tsx +65 -65
  31. package/src/llm/blocks/Event/_style.scss +171 -171
  32. package/src/llm/blocks/Event/event.tsx +74 -74
  33. package/src/llm/blocks/EventGroup/_style.scss +62 -62
  34. package/src/llm/blocks/EventGroup/event-group.tsx +60 -60
  35. package/src/llm/blocks/File/_style.scss +30 -30
  36. package/src/llm/blocks/File/file.module.scss +29 -29
  37. package/src/llm/blocks/File/file.tsx +25 -25
  38. package/src/llm/blocks/FormRecap/FormRecap.tsx +213 -213
  39. package/src/llm/blocks/FormRecap/_style.scss +103 -103
  40. package/src/llm/blocks/FormRecapError/FormRecapError.tsx +14 -14
  41. package/src/llm/blocks/FormRecapError/_style.scss +9 -9
  42. package/src/llm/blocks/FormRecapSuccess/FormRecapSuccess.tsx +14 -14
  43. package/src/llm/blocks/FormRecapSuccess/_style.scss +9 -9
  44. package/src/llm/blocks/FormRequest/FormRequest.tsx +22 -22
  45. package/src/llm/blocks/FormRequest/_style.scss +19 -19
  46. package/src/llm/blocks/Image/_style.scss +17 -17
  47. package/src/llm/blocks/Image/image.module.scss +16 -16
  48. package/src/llm/blocks/Image/image.tsx +21 -21
  49. package/src/llm/blocks/NotFound/_style.scss +7 -7
  50. package/src/llm/blocks/NotFound/not-found.tsx +10 -10
  51. package/src/llm/blocks/Poi/_style.scss +127 -127
  52. package/src/llm/blocks/Poi/poi.tsx +62 -62
  53. package/src/llm/blocks/PoiGroup/_style.scss +14 -14
  54. package/src/llm/blocks/PoiGroup/poi-group.tsx +16 -16
  55. package/src/llm/blocks/Product/_style.scss +156 -156
  56. package/src/llm/blocks/Product/product-cta.tsx +17 -17
  57. package/src/llm/blocks/Product/product.module.scss +154 -154
  58. package/src/llm/blocks/Product/product.tsx +117 -117
  59. package/src/llm/blocks/ProductGroup/_style.scss +11 -11
  60. package/src/llm/blocks/ProductGroup/product-group.tsx +21 -21
  61. package/src/llm/blocks/ProductGroupSlider/_style.scss +56 -56
  62. package/src/llm/blocks/ProductGroupSlider/product-group-slider.tsx +66 -66
  63. package/src/llm/blocks/StreamError/StreamError.tsx +39 -39
  64. package/src/llm/blocks/StreamError/_style.scss +32 -32
  65. package/src/llm/blocks/Tripadvisor/_style.scss +101 -101
  66. package/src/llm/blocks/Tripadvisor/tripadvisor.tsx +82 -82
  67. package/src/llm/blocks/UserMessage/user-message.tsx +17 -17
  68. package/src/llm/blocks/index.ts +51 -51
  69. package/src/llm/components/Background/_style.scss +24 -24
  70. package/src/llm/components/Background/background.tsx +86 -86
  71. package/src/llm/components/Blob/_style.scss +30 -30
  72. package/src/llm/components/Blob/blob.tsx +40 -40
  73. package/src/llm/components/BusyIndicator/_style.scss +74 -74
  74. package/src/llm/components/BusyIndicator/busyindicator.tsx +13 -13
  75. package/src/llm/components/Canvas/_style.scss +10 -10
  76. package/src/llm/components/Canvas/canvas.tsx +13 -13
  77. package/src/llm/components/CanvasOffscreen/canvas-offscreen.tsx +460 -460
  78. package/src/llm/components/Chunk/chunk.tsx +73 -73
  79. package/src/llm/components/ChunkWrapper/chunk-wrapper.tsx +85 -85
  80. package/src/llm/components/Cta/_style.scss +89 -89
  81. package/src/llm/components/Cta/cta.tsx +38 -38
  82. package/src/llm/components/Dialog/_style.scss +65 -65
  83. package/src/llm/components/Dialog/dialog.tsx +54 -54
  84. package/src/llm/components/Disclaimer/_style.scss +35 -35
  85. package/src/llm/components/Disclaimer/disclaimer.tsx +23 -23
  86. package/src/llm/components/DisclaimerFooter/_style.scss +48 -48
  87. package/src/llm/components/DisclaimerFooter/disclaimer-footer.tsx +51 -51
  88. package/src/llm/components/Feedback/_style.scss +220 -220
  89. package/src/llm/components/Feedback/feedback.tsx +146 -146
  90. package/src/llm/components/Font/font.tsx +55 -55
  91. package/src/llm/components/Grid/_style.scss +46 -46
  92. package/src/llm/components/Grid/grid.tsx +40 -40
  93. package/src/llm/components/Header/_style.scss +173 -173
  94. package/src/llm/components/Header/header.tsx +73 -73
  95. package/src/llm/components/Hints/_style.scss +77 -77
  96. package/src/llm/components/Hints/hints.tsx +64 -64
  97. package/src/llm/components/Intro/_style.scss +71 -71
  98. package/src/llm/components/Intro/intro.tsx +159 -159
  99. package/src/llm/components/Main/_style.scss +127 -127
  100. package/src/llm/components/Main/main.tsx +141 -141
  101. package/src/llm/components/PageActions/page-actions.module.scss +56 -56
  102. package/src/llm/components/PageActions/page-actions.tsx +58 -58
  103. package/src/llm/components/PageContext/page-context.module.scss +82 -82
  104. package/src/llm/components/PageContext/page-context.tsx +45 -45
  105. package/src/llm/components/PageDictate/page-dictate.module.scss +5 -5
  106. package/src/llm/components/PageDictate/page-dictate.tsx +22 -22
  107. package/src/llm/components/PageHistory/page-history.module.scss +74 -74
  108. package/src/llm/components/PageHistory/page-history.tsx +51 -51
  109. package/src/llm/components/PageIntro/page-intro.module.scss +140 -140
  110. package/src/llm/components/PageIntro/page-intro.tsx +83 -83
  111. package/src/llm/components/PageLoading/page-loading.module.scss +302 -302
  112. package/src/llm/components/PageLoading/page-loading.tsx +17 -17
  113. package/src/llm/components/PageMain/page-main.module.scss +18 -18
  114. package/src/llm/components/PageMain/page-main.tsx +67 -67
  115. package/src/llm/components/PageMenu/page-menu.module.scss +98 -98
  116. package/src/llm/components/PageMenu/page-menu.tsx +57 -57
  117. package/src/llm/components/PagePrompt/page-prompt.module.scss +110 -110
  118. package/src/llm/components/PagePrompt/page-prompt.tsx +89 -89
  119. package/src/llm/components/PageRoot/page-root.module.scss +24 -24
  120. package/src/llm/components/PageRoot/page-root.tsx +49 -49
  121. package/src/llm/components/PageStop/page-stop.module.scss +26 -26
  122. package/src/llm/components/PageStop/page-stop.tsx +24 -24
  123. package/src/llm/components/PageStreamingIndicator/page-streaming-indicator.module.scss +39 -39
  124. package/src/llm/components/PageStreamingIndicator/page-streaming-indicator.tsx +16 -16
  125. package/src/llm/components/PageSubmit/page-submit.module.scss +26 -26
  126. package/src/llm/components/PageSubmit/page-submit.tsx +40 -40
  127. package/src/llm/components/PageSynthesis/page-synthesis.module.scss +5 -5
  128. package/src/llm/components/PageSynthesis/page-synthesis.tsx +21 -21
  129. package/src/llm/components/PageTextarea/page-textarea.module.scss +59 -59
  130. package/src/llm/components/PageTextarea/page-textarea.tsx +63 -63
  131. package/src/llm/components/PageThread/page-thread.module.scss +21 -21
  132. package/src/llm/components/PageThread/page-thread.tsx +72 -72
  133. package/src/llm/components/PageTrigger/page-trigger.module.scss +16 -16
  134. package/src/llm/components/PageTrigger/page-trigger.tsx +12 -12
  135. package/src/llm/components/PageUpload/page-upload.module.scss +106 -106
  136. package/src/llm/components/PageUpload/page-upload.tsx +37 -37
  137. package/src/llm/components/Portals/portals.tsx +62 -62
  138. package/src/llm/components/PoweredBy/_style.scss +38 -38
  139. package/src/llm/components/PoweredBy/powered-by.tsx +34 -34
  140. package/src/llm/components/Prompt/_style.scss +330 -330
  141. package/src/llm/components/Prompt/prompt.tsx +157 -157
  142. package/src/llm/components/Root/_style.scss +52 -52
  143. package/src/llm/components/Root/root.tsx +61 -61
  144. package/src/llm/components/ScrollProposition/ScrollProposition.tsx +54 -54
  145. package/src/llm/components/ScrollProposition/_style.scss +28 -28
  146. package/src/llm/components/Scroller/_style.scss +30 -30
  147. package/src/llm/components/Scroller/emitter.ts +50 -50
  148. package/src/llm/components/Scroller/scroller-lenis.tsx +36 -36
  149. package/src/llm/components/Scroller/scroller.tsx +123 -123
  150. package/src/llm/components/Stream/stream.tsx +43 -43
  151. package/src/llm/components/Suggestions/_style.scss +68 -68
  152. package/src/llm/components/Suggestions/suggestions.tsx +63 -63
  153. package/src/llm/components/Text/_style.scss +252 -252
  154. package/src/llm/components/Text/text.tsx +81 -81
  155. package/src/llm/components/Thread/_style.scss +48 -48
  156. package/src/llm/components/Thread/thread.tsx +47 -47
  157. package/src/llm/components/ThronPlayer/_style.scss +52 -52
  158. package/src/llm/components/ThronPlayer/thron-player.tsx +159 -159
  159. package/src/llm/components/Trigger/_style.scss +237 -237
  160. package/src/llm/components/Trigger/trigger.tsx +107 -107
  161. package/src/llm/components/VideoPlayer/_style.scss +65 -65
  162. package/src/llm/components/VideoPlayer/video-player.tsx +65 -65
  163. package/src/llm/components/index.ts +122 -122
  164. package/src/llm/llm.tsx +104 -104
  165. package/src/llm/scss/_base.scss +62 -62
  166. package/src/llm/scss/_blocks.scss +19 -19
  167. package/src/llm/scss/_components.scss +25 -25
  168. package/src/llm/scss/_mixin.scss +10 -10
  169. package/src/llm/scss/_reset.scss +63 -63
  170. package/src/llm/scss/_swiper.scss +182 -182
  171. package/src/llm/scss/_thread.scss +35 -35
  172. package/src/llm/scss/_typography.scss +19 -19
  173. package/src/llm/scss/mixin/_breakpoint.scss +7 -7
  174. package/src/llm/scss/mixin/_button.scss +64 -64
  175. package/src/llm/scss/mixin/_container.scss +14 -14
  176. package/src/llm/scss/mixin/_markdown.scss +225 -225
  177. package/src/llm/scss/mixin/_scrollbar.scss +50 -50
  178. package/src/llm/scss/mixin/_shadow.scss +19 -19
  179. package/src/llm/scss/mixin/_size.scss +41 -41
  180. package/src/llm/scss/mixin/_typography.scss +129 -129
  181. package/src/llm/scss/mixin/_utils.scss +103 -103
  182. package/src/llm/scss/mixin/_vars.scss +4 -4
  183. package/src/llm/scss/style.scss +10 -10
  184. package/src/llm/theme.json +335 -335
  185. package/src/llm/theme.ts +13 -13
  186. package/src/llm/utils.tsx +53 -53
  187. package/src/llm/vars.ts +49 -49
  188. package/src/types.ts +709 -709
  189. package/src/useLlm/api.service.ts +334 -334
  190. package/src/useLlm/cors.ts +124 -124
  191. package/src/useLlm/emitter.ts +29 -29
  192. package/src/useLlm/gtm.service.ts +13 -13
  193. package/src/useLlm/message.service.ts +883 -883
  194. package/src/useLlm/mock-app.copernico.ts +209 -209
  195. package/src/useLlm/mock-app.default.ts +147 -147
  196. package/src/useLlm/mock-app.efg.ts +354 -354
  197. package/src/useLlm/mock-app.gs1.ts +211 -211
  198. package/src/useLlm/mock-app.infra.ts +272 -272
  199. package/src/useLlm/mock-app.lfo.ts +183 -183
  200. package/src/useLlm/mock-app.pesaro.ts +161 -161
  201. package/src/useLlm/mock-app.silicon.ts +275 -275
  202. package/src/useLlm/mock-app.starhotel.ts +260 -260
  203. package/src/useLlm/mock-thread.copernico.ts +23 -23
  204. package/src/useLlm/mock-thread.default.ts +271 -271
  205. package/src/useLlm/mock-thread.efg.ts +19 -19
  206. package/src/useLlm/mock-thread.gs1.ts +122 -122
  207. package/src/useLlm/mock-thread.infra.ts +25 -25
  208. package/src/useLlm/mock-thread.lfo.ts +239 -239
  209. package/src/useLlm/mock-thread.pesaro.ts +498 -498
  210. package/src/useLlm/mock-thread.silicon.ts +292 -292
  211. package/src/useLlm/mock-thread.starhotel.ts +271 -271
  212. package/src/useLlm/mock.ts +114 -114
  213. package/src/useLlm/speech.ts +658 -658
  214. package/src/useLlm/upload.ts +83 -83
  215. package/src/useLlm/useActions.tsx +76 -76
  216. package/src/useLlm/useBlock.tsx +7 -7
  217. package/src/useLlm/useComponent.tsx +7 -7
  218. package/src/useLlm/useLlm.tsx +882 -867
  219. package/src/useLlm/useLlmView.tsx +419 -419
package/CHANGELOG.md CHANGED
@@ -1,547 +1,559 @@
1
- # @websolutespa/bom-mixer-llm
2
-
3
- ## 1.10.6
4
-
5
- ### Patch Changes
6
-
7
- - a843ef5: Added minimize option
8
-
9
- ## 1.10.5
10
-
11
- ### Patch Changes
12
-
13
- - Added: GTM pushDataLayer events
14
-
15
- ## 1.10.4
16
-
17
- ### Patch Changes
18
-
19
- - Fixing: DisclaimerFooter style
20
-
21
- ## 1.10.3
22
-
23
- ### Patch Changes
24
-
25
- - 4c2d7a6: Modified: DisclaimerFooter, Feedback, PoweredBy, Prompt, Disclaimer, Hints, ScrollProposition, Suggestion, Trigger, Thread
26
- - Updated dependencies [4c2d7a6]
27
- - @websolutespa/bom-mixer-hooks@1.9.2
28
-
29
- ## 1.10.2
30
-
31
- ### Patch Changes
32
-
33
- - Added: enabledHistory
34
-
35
- ## 1.10.1
36
-
37
- ### Patch Changes
38
-
39
- - Fixing: session state merge & scrollIntoView
40
-
41
- ## 1.10.0
42
-
43
- ### Minor Changes
44
-
45
- - Implementing :where defaults css
46
-
47
- ## 1.9.7
48
-
49
- ### Patch Changes
50
-
51
- - Updated dependencies
52
- - @websolutespa/bom-mixer-icons@0.3.1
53
-
54
- ## 1.9.6
55
-
56
- ### Patch Changes
57
-
58
- - ba32bef: Added: maxFileSize & mimeTypes
59
- - f826c08: Added: storageMode option
60
-
61
- ## 1.9.5
62
-
63
- ### Patch Changes
64
-
65
- - Updated Stream and Thread components to utilize components from useLlm state.
66
- - Integrated Toaster notifications in LlmComponent for better user feedback.
67
- - Added markdown styling mixin for improved text rendering.
68
- - Enhanced LlmTheme type to include toaster theme options.
69
- - Implemented history management in useLlm for better state handling.
70
- - Refactored message service to streamline chunk processing.
71
- - Introduced prompt token limit validation with user feedback.
72
- - Added support for storing and retrieving message history.
73
-
74
- ## 1.9.4
75
-
76
- ### Patch Changes
77
-
78
- - Fixing: setHistory threadId
79
-
80
- ## 1.9.3
81
-
82
- ### Patch Changes
83
-
84
- - Modified: file block title
85
-
86
- ## 1.9.2
87
-
88
- ### Patch Changes
89
-
90
- - dfd6f0d: Added: file upload method for attachments of type image & file
91
-
92
- ## 1.9.1
93
-
94
- ### Patch Changes
95
-
96
- - Fixing: shouldAddFormRequest method
97
-
98
- ## 1.9.0
99
-
100
- ### Minor Changes
101
-
102
- - 85ea42c: Added: plugins, blocks, components
103
-
104
- ### Patch Changes
105
-
106
- - 001b6e1: Added: page mode
107
- - 9ba8e9b: Modified: PageThread and Stream components
108
- - 99a465f: Modified: css modules
109
- - f3c37d0: Modified: mixins
110
- - f43a133: Added: PageLoading
111
- - 7481934: Added support for stored history management in useLlm
112
- - 8982f76: Added: css modules
113
- - 0938fa8: Modified: css modules
114
- - Updated dependencies [001b6e1]
115
- - @websolutespa/bom-mixer-icons@0.3.0
116
-
117
- ## 1.9.0-next.8
118
-
119
- ### Patch Changes
120
-
121
- - Modified: PageThread and Stream components
122
-
123
- ## 1.9.0-next.7
124
-
125
- ### Patch Changes
126
-
127
- - Added support for stored history management in useLlm.
128
- - Introduced new actions for setting and removing history.
129
- - Updated message handling to improve user experience.
130
- - Implemented idle time feature in LlmView for better performance.
131
- - Refactored initializer and utility functions for better modularity.
132
- - Added error handling component for improved error management.
133
- - Integrated localization support with default labels for better accessibility.
134
- - Updated Rollup configuration for better build management.
135
- - Added comprehensive styles for LLM components.
136
-
137
- ## 1.9.0-next.6
138
-
139
- ### Patch Changes
140
-
141
- - Modified: mixins
142
-
143
- ## 1.9.0-next.5
144
-
145
- ### Patch Changes
146
-
147
- - Added: PageLoading
148
-
149
- ## 1.9.0-next.4
150
-
151
- ### Patch Changes
152
-
153
- - Modified: css modules
154
-
155
- ## 1.9.0-next.3
156
-
157
- ### Patch Changes
158
-
159
- - Modified: css modules
160
-
161
- ## 1.9.0-next.2
162
-
163
- ### Patch Changes
164
-
165
- - Added: css modules
166
-
167
- ## 1.9.0-next.1
168
-
169
- ### Patch Changes
170
-
171
- - Added: page mode
172
- - Updated dependencies
173
- - @websolutespa/bom-mixer-icons@0.2.7-next.0
174
-
175
- ## 1.9.0-next.0
176
-
177
- ### Minor Changes
178
-
179
- - Added: plugins, blocks, components
180
-
181
- ## 1.8.39
182
-
183
- ### Patch Changes
184
-
185
- - c4251e5: Modified: Feedback vars
186
-
187
- ## 1.8.38
188
-
189
- ### Patch Changes
190
-
191
- - Modified: MessageService abort message
192
-
193
- ## 1.8.37
194
-
195
- ### Patch Changes
196
-
197
- - fb1caf0: Add feedback functionality
198
-
199
- ## 1.8.36
200
-
201
- ### Patch Changes
202
-
203
- - Fixing: chunksToChunkItems first chunk
204
-
205
- ## 1.8.35
206
-
207
- ### Patch Changes
208
-
209
- - Added: Action, LlmChunkAction, onAction handler
210
-
211
- ## 1.8.34
212
-
213
- ### Patch Changes
214
-
215
- - Fixing: mock default
216
-
217
- ## 1.8.33
218
-
219
- ### Patch Changes
220
-
221
- - Added: disclaimerShort, Disclaimer, Scroller image-mask
222
-
223
- ## 1.8.32
224
-
225
- ### Patch Changes
226
-
227
- - Added: ScrollProposition, imperative flag
228
-
229
- ## 1.8.31
230
-
231
- ### Patch Changes
232
-
233
- - Modified: disclaimer css
234
-
235
- ## 1.8.30
236
-
237
- ### Patch Changes
238
-
239
- - Modified: disclaimer style
240
-
241
- ## 1.8.29
242
-
243
- ### Patch Changes
244
-
245
- - Added: disclaimer footer & header ctas
246
-
247
- ## 1.8.28
248
-
249
- ### Patch Changes
250
-
251
- - Modified idle timeout
252
-
253
- ## 1.8.27
254
-
255
- ### Patch Changes
256
-
257
- - Modified: theme & styles
258
-
259
- ## 1.8.26
260
-
261
- ### Patch Changes
262
-
263
- - Fixing: decodeMessages
264
-
265
- ## 1.8.25
266
-
267
- ### Patch Changes
268
-
269
- - 77ef1ea: Added: addFile, removeFile and image_url user message
270
- - 77ef1ea: Modified: hasTextToSpeechSupport, hasSpeechToTextSupport
271
- - Updated dependencies [77ef1ea]
272
- - @websolutespa/bom-mixer-icons@0.2.6
273
-
274
- ## 1.8.24
275
-
276
- ### Patch Changes
277
-
278
- - Fixing: customIntro flag
279
-
280
- ## 1.8.23
281
-
282
- ### Patch Changes
283
-
284
- - Added: Speech.cancel
285
- - Modified: style
286
-
287
- ## 1.8.22
288
-
289
- ### Patch Changes
290
-
291
- - Modified: suggestions a11y
292
-
293
- ## 1.8.21
294
-
295
- ### Patch Changes
296
-
297
- - Modified: theme
298
-
299
- ## 1.8.20
300
-
301
- ### Patch Changes
302
-
303
- - Modified: ProductCard style
304
-
305
- ## 1.8.19
306
-
307
- ### Patch Changes
308
-
309
- - Modified: ProductCard availability
310
-
311
- ## 1.8.18
312
-
313
- ### Patch Changes
314
-
315
- - 88267c3: Added: mode chat
316
- - Updated dependencies [88267c3]
317
- - @websolutespa/bom-mixer-hooks@1.8.10
318
-
319
- ## 1.8.17
320
-
321
- ### Patch Changes
322
-
323
- - 3a7fc91: Modified: hooks dependencies
324
- - Updated dependencies [3a7fc91]
325
- - Updated dependencies [3a7fc91]
326
- - @websolutespa/bom-mixer-icons@0.2.5
327
- - @websolutespa/bom-mixer-hooks@1.8.9
328
-
329
- ## 1.8.16
330
-
331
- ### Patch Changes
332
-
333
- - Modified: TextToSpeech cancel method
334
-
335
- ## 1.8.15
336
-
337
- ### Patch Changes
338
-
339
- - Modified: CanvasOffscreen, disableSpeechSynthesis
340
-
341
- ## 1.8.14
342
-
343
- ### Patch Changes
344
-
345
- - Added: DefaultTextToSpeech, ElevenlabsTextToSpeech, DefaultSpeechToText
346
- - Modified: textToChunks
347
- - Added: RecognitionMode, SynthesisMode, textToSpeechApiKey, textToSpeechVoiceId
348
-
349
- ## 1.8.13
350
-
351
- ### Patch Changes
352
-
353
- - Modified: MessageService
354
- - Added: USE_INSPECT_PARAM
355
-
356
- ## 1.8.12
357
-
358
- ### Patch Changes
359
-
360
- - Modified: MessageService
361
- - Added: StreamError
362
-
363
- ## 1.8.11
364
-
365
- ### Patch Changes
366
-
367
- - Modified: ProductCard style
368
-
369
- ## 1.8.10
370
-
371
- ### Patch Changes
372
-
373
- - 0e85a82: Added: LlmApp additionalLogos
374
- - 0e85a82: Modified: theme & style
375
-
376
- ## 1.8.9
377
-
378
- ### Patch Changes
379
-
380
- - Modified: textToChunks
381
-
382
- ## 1.8.8
383
-
384
- ### Patch Changes
385
-
386
- - 8024a99: Added: useFocusTrap, regExpMapper, a11y
387
-
388
- ## 1.8.7
389
-
390
- ### Patch Changes
391
-
392
- - Modified: theme settings, Added: Font component
393
-
394
- ## 1.8.6
395
-
396
- ### Patch Changes
397
-
398
- - Modified: Product Card & Product Card Group style
399
-
400
- ## 1.8.5
401
-
402
- ### Patch Changes
403
-
404
- - Modified: Product hasPrice
405
-
406
- ## 1.8.4
407
-
408
- ### Patch Changes
409
-
410
- - Modified: Product Card & Product Card Group style
411
-
412
- ## 1.8.3
413
-
414
- ### Patch Changes
415
-
416
- - f5d0129: Added: Product Card & Product Card Group
417
-
418
- ## 1.8.2
419
-
420
- ### Patch Changes
421
-
422
- - Added: markdown llm_pill click handler
423
-
424
- ## 1.8.1
425
-
426
- ### Patch Changes
427
-
428
- - Modified: cards css
429
-
430
- ## 1.8.0
431
-
432
- ### Patch Changes
433
-
434
- - Updated dependencies [f8a1d97]
435
- - @websolutespa/bom-core@1.8.0
436
- - @websolutespa/bom-mixer-hooks@1.8.0
437
-
438
- ## 0.0.15
439
-
440
- ### Patch Changes
441
-
442
- - Modified: scroll behaviour
443
-
444
- ## 0.0.14
445
-
446
- ### Patch Changes
447
-
448
- - Modified: hiding audio buttons when speechSynthesis disabled
449
-
450
- ## 0.0.13
451
-
452
- ### Patch Changes
453
-
454
- - 114cbee: Added: theme variant for typography
455
- - 114cbee: Added: LlmContents disableSpeechSynthesis flag
456
-
457
- ## 0.0.12
458
-
459
- ### Patch Changes
460
-
461
- - Added: flags preview, dismissable, opened, skipCustomIntro
462
-
463
- ## 0.0.11
464
-
465
- ### Patch Changes
466
-
467
- - Modified: theme & cards
468
-
469
- ## 0.0.10
470
-
471
- ### Patch Changes
472
-
473
- - Fixing: downgrading eslint to v8.56.0
474
- - Updated dependencies
475
- - @websolutespa/bom-mixer-hooks@1.7.4
476
- - @websolutespa/bom-mixer-icons@0.2.4
477
- - @websolutespa/bom-core@1.7.8
478
-
479
- ## 0.0.9
480
-
481
- ### Patch Changes
482
-
483
- - 0181617: Added: customTheme, customIntro, Cards, VideoPlayer, ThronPlayer,
484
- MessageService
485
-
486
- ## 0.0.8
487
-
488
- ### Patch Changes
489
-
490
- - Added: CanvasOffscreenProvider
491
- - Updated dependencies [75b1311]
492
- - @websolutespa/bom-mixer-ui@1.7.8
493
-
494
- ## 0.0.7
495
-
496
- ### Patch Changes
497
-
498
- - Added: theme, customTheme, customIntro
499
- - Added: cross visibility check
500
- - Fixing: textToChunks
501
-
502
- ## 0.0.6
503
-
504
- ### Patch Changes
505
-
506
- - Fixing: markdown links
507
-
508
- ## 0.0.5
509
-
510
- ### Patch Changes
511
-
512
- - Added: shared state between instances
513
-
514
- ## 0.0.4
515
-
516
- ### Patch Changes
517
-
518
- - Added: embed options
519
- - Added: returning instance with methods
520
-
521
- ## 0.0.3
522
-
523
- ### Patch Changes
524
-
525
- - Updating: dependencies
526
- - Updated dependencies
527
- - @websolutespa/bom-mixer-models@1.7.2
528
- - @websolutespa/bom-mixer-forms@0.3.1
529
- - @websolutespa/bom-mixer-hooks@1.7.2
530
- - @websolutespa/bom-mixer-icons@0.2.3
531
- - @websolutespa/bom-mixer-store@1.7.3
532
- - @websolutespa/bom-mixer-ui@1.7.5
533
- - @websolutespa/bom-core@1.7.3
534
-
535
- ## 0.0.2
536
-
537
- ### Patch Changes
538
-
539
- - Modified: Speech synthesis & recognition, disclaimer, markdown
540
- - Updated dependencies
541
- - @websolutespa/bom-mixer-icons@0.2.2
542
-
543
- ## 0.0.1
544
-
545
- ### Patch Changes
546
-
547
- - Added: first release
1
+ # @websolutespa/bom-mixer-llm
2
+
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Release: Bom 2.0
8
+
9
+ ## 1.10.7
10
+
11
+ ### Patch Changes
12
+
13
+ - added onMessage handler, LlmMessage
14
+
15
+ ## 1.10.6
16
+
17
+ ### Patch Changes
18
+
19
+ - a843ef5: Added minimize option
20
+
21
+ ## 1.10.5
22
+
23
+ ### Patch Changes
24
+
25
+ - Added: GTM pushDataLayer events
26
+
27
+ ## 1.10.4
28
+
29
+ ### Patch Changes
30
+
31
+ - Fixing: DisclaimerFooter style
32
+
33
+ ## 1.10.3
34
+
35
+ ### Patch Changes
36
+
37
+ - 4c2d7a6: Modified: DisclaimerFooter, Feedback, PoweredBy, Prompt, Disclaimer, Hints, ScrollProposition, Suggestion, Trigger, Thread
38
+ - Updated dependencies [4c2d7a6]
39
+ - @websolutespa/bom-mixer-hooks@1.9.2
40
+
41
+ ## 1.10.2
42
+
43
+ ### Patch Changes
44
+
45
+ - Added: enabledHistory
46
+
47
+ ## 1.10.1
48
+
49
+ ### Patch Changes
50
+
51
+ - Fixing: session state merge & scrollIntoView
52
+
53
+ ## 1.10.0
54
+
55
+ ### Minor Changes
56
+
57
+ - Implementing :where defaults css
58
+
59
+ ## 1.9.7
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies
64
+ - @websolutespa/bom-mixer-icons@0.3.1
65
+
66
+ ## 1.9.6
67
+
68
+ ### Patch Changes
69
+
70
+ - ba32bef: Added: maxFileSize & mimeTypes
71
+ - f826c08: Added: storageMode option
72
+
73
+ ## 1.9.5
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated Stream and Thread components to utilize components from useLlm state.
78
+ - Integrated Toaster notifications in LlmComponent for better user feedback.
79
+ - Added markdown styling mixin for improved text rendering.
80
+ - Enhanced LlmTheme type to include toaster theme options.
81
+ - Implemented history management in useLlm for better state handling.
82
+ - Refactored message service to streamline chunk processing.
83
+ - Introduced prompt token limit validation with user feedback.
84
+ - Added support for storing and retrieving message history.
85
+
86
+ ## 1.9.4
87
+
88
+ ### Patch Changes
89
+
90
+ - Fixing: setHistory threadId
91
+
92
+ ## 1.9.3
93
+
94
+ ### Patch Changes
95
+
96
+ - Modified: file block title
97
+
98
+ ## 1.9.2
99
+
100
+ ### Patch Changes
101
+
102
+ - dfd6f0d: Added: file upload method for attachments of type image & file
103
+
104
+ ## 1.9.1
105
+
106
+ ### Patch Changes
107
+
108
+ - Fixing: shouldAddFormRequest method
109
+
110
+ ## 1.9.0
111
+
112
+ ### Minor Changes
113
+
114
+ - 85ea42c: Added: plugins, blocks, components
115
+
116
+ ### Patch Changes
117
+
118
+ - 001b6e1: Added: page mode
119
+ - 9ba8e9b: Modified: PageThread and Stream components
120
+ - 99a465f: Modified: css modules
121
+ - f3c37d0: Modified: mixins
122
+ - f43a133: Added: PageLoading
123
+ - 7481934: Added support for stored history management in useLlm
124
+ - 8982f76: Added: css modules
125
+ - 0938fa8: Modified: css modules
126
+ - Updated dependencies [001b6e1]
127
+ - @websolutespa/bom-mixer-icons@0.3.0
128
+
129
+ ## 1.9.0-next.8
130
+
131
+ ### Patch Changes
132
+
133
+ - Modified: PageThread and Stream components
134
+
135
+ ## 1.9.0-next.7
136
+
137
+ ### Patch Changes
138
+
139
+ - Added support for stored history management in useLlm.
140
+ - Introduced new actions for setting and removing history.
141
+ - Updated message handling to improve user experience.
142
+ - Implemented idle time feature in LlmView for better performance.
143
+ - Refactored initializer and utility functions for better modularity.
144
+ - Added error handling component for improved error management.
145
+ - Integrated localization support with default labels for better accessibility.
146
+ - Updated Rollup configuration for better build management.
147
+ - Added comprehensive styles for LLM components.
148
+
149
+ ## 1.9.0-next.6
150
+
151
+ ### Patch Changes
152
+
153
+ - Modified: mixins
154
+
155
+ ## 1.9.0-next.5
156
+
157
+ ### Patch Changes
158
+
159
+ - Added: PageLoading
160
+
161
+ ## 1.9.0-next.4
162
+
163
+ ### Patch Changes
164
+
165
+ - Modified: css modules
166
+
167
+ ## 1.9.0-next.3
168
+
169
+ ### Patch Changes
170
+
171
+ - Modified: css modules
172
+
173
+ ## 1.9.0-next.2
174
+
175
+ ### Patch Changes
176
+
177
+ - Added: css modules
178
+
179
+ ## 1.9.0-next.1
180
+
181
+ ### Patch Changes
182
+
183
+ - Added: page mode
184
+ - Updated dependencies
185
+ - @websolutespa/bom-mixer-icons@0.2.7-next.0
186
+
187
+ ## 1.9.0-next.0
188
+
189
+ ### Minor Changes
190
+
191
+ - Added: plugins, blocks, components
192
+
193
+ ## 1.8.39
194
+
195
+ ### Patch Changes
196
+
197
+ - c4251e5: Modified: Feedback vars
198
+
199
+ ## 1.8.38
200
+
201
+ ### Patch Changes
202
+
203
+ - Modified: MessageService abort message
204
+
205
+ ## 1.8.37
206
+
207
+ ### Patch Changes
208
+
209
+ - fb1caf0: Add feedback functionality
210
+
211
+ ## 1.8.36
212
+
213
+ ### Patch Changes
214
+
215
+ - Fixing: chunksToChunkItems first chunk
216
+
217
+ ## 1.8.35
218
+
219
+ ### Patch Changes
220
+
221
+ - Added: Action, LlmChunkAction, onAction handler
222
+
223
+ ## 1.8.34
224
+
225
+ ### Patch Changes
226
+
227
+ - Fixing: mock default
228
+
229
+ ## 1.8.33
230
+
231
+ ### Patch Changes
232
+
233
+ - Added: disclaimerShort, Disclaimer, Scroller image-mask
234
+
235
+ ## 1.8.32
236
+
237
+ ### Patch Changes
238
+
239
+ - Added: ScrollProposition, imperative flag
240
+
241
+ ## 1.8.31
242
+
243
+ ### Patch Changes
244
+
245
+ - Modified: disclaimer css
246
+
247
+ ## 1.8.30
248
+
249
+ ### Patch Changes
250
+
251
+ - Modified: disclaimer style
252
+
253
+ ## 1.8.29
254
+
255
+ ### Patch Changes
256
+
257
+ - Added: disclaimer footer & header ctas
258
+
259
+ ## 1.8.28
260
+
261
+ ### Patch Changes
262
+
263
+ - Modified idle timeout
264
+
265
+ ## 1.8.27
266
+
267
+ ### Patch Changes
268
+
269
+ - Modified: theme & styles
270
+
271
+ ## 1.8.26
272
+
273
+ ### Patch Changes
274
+
275
+ - Fixing: decodeMessages
276
+
277
+ ## 1.8.25
278
+
279
+ ### Patch Changes
280
+
281
+ - 77ef1ea: Added: addFile, removeFile and image_url user message
282
+ - 77ef1ea: Modified: hasTextToSpeechSupport, hasSpeechToTextSupport
283
+ - Updated dependencies [77ef1ea]
284
+ - @websolutespa/bom-mixer-icons@0.2.6
285
+
286
+ ## 1.8.24
287
+
288
+ ### Patch Changes
289
+
290
+ - Fixing: customIntro flag
291
+
292
+ ## 1.8.23
293
+
294
+ ### Patch Changes
295
+
296
+ - Added: Speech.cancel
297
+ - Modified: style
298
+
299
+ ## 1.8.22
300
+
301
+ ### Patch Changes
302
+
303
+ - Modified: suggestions a11y
304
+
305
+ ## 1.8.21
306
+
307
+ ### Patch Changes
308
+
309
+ - Modified: theme
310
+
311
+ ## 1.8.20
312
+
313
+ ### Patch Changes
314
+
315
+ - Modified: ProductCard style
316
+
317
+ ## 1.8.19
318
+
319
+ ### Patch Changes
320
+
321
+ - Modified: ProductCard availability
322
+
323
+ ## 1.8.18
324
+
325
+ ### Patch Changes
326
+
327
+ - 88267c3: Added: mode chat
328
+ - Updated dependencies [88267c3]
329
+ - @websolutespa/bom-mixer-hooks@1.8.10
330
+
331
+ ## 1.8.17
332
+
333
+ ### Patch Changes
334
+
335
+ - 3a7fc91: Modified: hooks dependencies
336
+ - Updated dependencies [3a7fc91]
337
+ - Updated dependencies [3a7fc91]
338
+ - @websolutespa/bom-mixer-icons@0.2.5
339
+ - @websolutespa/bom-mixer-hooks@1.8.9
340
+
341
+ ## 1.8.16
342
+
343
+ ### Patch Changes
344
+
345
+ - Modified: TextToSpeech cancel method
346
+
347
+ ## 1.8.15
348
+
349
+ ### Patch Changes
350
+
351
+ - Modified: CanvasOffscreen, disableSpeechSynthesis
352
+
353
+ ## 1.8.14
354
+
355
+ ### Patch Changes
356
+
357
+ - Added: DefaultTextToSpeech, ElevenlabsTextToSpeech, DefaultSpeechToText
358
+ - Modified: textToChunks
359
+ - Added: RecognitionMode, SynthesisMode, textToSpeechApiKey, textToSpeechVoiceId
360
+
361
+ ## 1.8.13
362
+
363
+ ### Patch Changes
364
+
365
+ - Modified: MessageService
366
+ - Added: USE_INSPECT_PARAM
367
+
368
+ ## 1.8.12
369
+
370
+ ### Patch Changes
371
+
372
+ - Modified: MessageService
373
+ - Added: StreamError
374
+
375
+ ## 1.8.11
376
+
377
+ ### Patch Changes
378
+
379
+ - Modified: ProductCard style
380
+
381
+ ## 1.8.10
382
+
383
+ ### Patch Changes
384
+
385
+ - 0e85a82: Added: LlmApp additionalLogos
386
+ - 0e85a82: Modified: theme & style
387
+
388
+ ## 1.8.9
389
+
390
+ ### Patch Changes
391
+
392
+ - Modified: textToChunks
393
+
394
+ ## 1.8.8
395
+
396
+ ### Patch Changes
397
+
398
+ - 8024a99: Added: useFocusTrap, regExpMapper, a11y
399
+
400
+ ## 1.8.7
401
+
402
+ ### Patch Changes
403
+
404
+ - Modified: theme settings, Added: Font component
405
+
406
+ ## 1.8.6
407
+
408
+ ### Patch Changes
409
+
410
+ - Modified: Product Card & Product Card Group style
411
+
412
+ ## 1.8.5
413
+
414
+ ### Patch Changes
415
+
416
+ - Modified: Product hasPrice
417
+
418
+ ## 1.8.4
419
+
420
+ ### Patch Changes
421
+
422
+ - Modified: Product Card & Product Card Group style
423
+
424
+ ## 1.8.3
425
+
426
+ ### Patch Changes
427
+
428
+ - f5d0129: Added: Product Card & Product Card Group
429
+
430
+ ## 1.8.2
431
+
432
+ ### Patch Changes
433
+
434
+ - Added: markdown llm_pill click handler
435
+
436
+ ## 1.8.1
437
+
438
+ ### Patch Changes
439
+
440
+ - Modified: cards css
441
+
442
+ ## 1.8.0
443
+
444
+ ### Patch Changes
445
+
446
+ - Updated dependencies [f8a1d97]
447
+ - @websolutespa/bom-core@1.8.0
448
+ - @websolutespa/bom-mixer-hooks@1.8.0
449
+
450
+ ## 0.0.15
451
+
452
+ ### Patch Changes
453
+
454
+ - Modified: scroll behaviour
455
+
456
+ ## 0.0.14
457
+
458
+ ### Patch Changes
459
+
460
+ - Modified: hiding audio buttons when speechSynthesis disabled
461
+
462
+ ## 0.0.13
463
+
464
+ ### Patch Changes
465
+
466
+ - 114cbee: Added: theme variant for typography
467
+ - 114cbee: Added: LlmContents disableSpeechSynthesis flag
468
+
469
+ ## 0.0.12
470
+
471
+ ### Patch Changes
472
+
473
+ - Added: flags preview, dismissable, opened, skipCustomIntro
474
+
475
+ ## 0.0.11
476
+
477
+ ### Patch Changes
478
+
479
+ - Modified: theme & cards
480
+
481
+ ## 0.0.10
482
+
483
+ ### Patch Changes
484
+
485
+ - Fixing: downgrading eslint to v8.56.0
486
+ - Updated dependencies
487
+ - @websolutespa/bom-mixer-hooks@1.7.4
488
+ - @websolutespa/bom-mixer-icons@0.2.4
489
+ - @websolutespa/bom-core@1.7.8
490
+
491
+ ## 0.0.9
492
+
493
+ ### Patch Changes
494
+
495
+ - 0181617: Added: customTheme, customIntro, Cards, VideoPlayer, ThronPlayer,
496
+ MessageService
497
+
498
+ ## 0.0.8
499
+
500
+ ### Patch Changes
501
+
502
+ - Added: CanvasOffscreenProvider
503
+ - Updated dependencies [75b1311]
504
+ - @websolutespa/bom-mixer-ui@1.7.8
505
+
506
+ ## 0.0.7
507
+
508
+ ### Patch Changes
509
+
510
+ - Added: theme, customTheme, customIntro
511
+ - Added: cross visibility check
512
+ - Fixing: textToChunks
513
+
514
+ ## 0.0.6
515
+
516
+ ### Patch Changes
517
+
518
+ - Fixing: markdown links
519
+
520
+ ## 0.0.5
521
+
522
+ ### Patch Changes
523
+
524
+ - Added: shared state between instances
525
+
526
+ ## 0.0.4
527
+
528
+ ### Patch Changes
529
+
530
+ - Added: embed options
531
+ - Added: returning instance with methods
532
+
533
+ ## 0.0.3
534
+
535
+ ### Patch Changes
536
+
537
+ - Updating: dependencies
538
+ - Updated dependencies
539
+ - @websolutespa/bom-mixer-models@1.7.2
540
+ - @websolutespa/bom-mixer-forms@0.3.1
541
+ - @websolutespa/bom-mixer-hooks@1.7.2
542
+ - @websolutespa/bom-mixer-icons@0.2.3
543
+ - @websolutespa/bom-mixer-store@1.7.3
544
+ - @websolutespa/bom-mixer-ui@1.7.5
545
+ - @websolutespa/bom-core@1.7.3
546
+
547
+ ## 0.0.2
548
+
549
+ ### Patch Changes
550
+
551
+ - Modified: Speech synthesis & recognition, disclaimer, markdown
552
+ - Updated dependencies
553
+ - @websolutespa/bom-mixer-icons@0.2.2
554
+
555
+ ## 0.0.1
556
+
557
+ ### Patch Changes
558
+
559
+ - Added: first release