deep-chat-dev 1.1.18

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 (357) hide show
  1. package/README.md +132 -0
  2. package/assets/machine-learning.svg +21 -0
  3. package/assets/person-avatar.png +0 -0
  4. package/custom-elements.json +31889 -0
  5. package/dist/deepChat.bundle.js +1 -0
  6. package/dist/deepChat.d.ts +71 -0
  7. package/dist/deepChat.d.ts.map +1 -0
  8. package/dist/deepChat.js +6700 -0
  9. package/dist/icons/audioIcon.d.ts +2 -0
  10. package/dist/icons/audioIcon.d.ts.map +1 -0
  11. package/dist/icons/cameraIcon.d.ts +2 -0
  12. package/dist/icons/cameraIcon.d.ts.map +1 -0
  13. package/dist/icons/captureIcon.d.ts +2 -0
  14. package/dist/icons/captureIcon.d.ts.map +1 -0
  15. package/dist/icons/closeIcon.d.ts +2 -0
  16. package/dist/icons/closeIcon.d.ts.map +1 -0
  17. package/dist/icons/fileIcon.d.ts +2 -0
  18. package/dist/icons/fileIcon.d.ts.map +1 -0
  19. package/dist/icons/gifIcon.d.ts +2 -0
  20. package/dist/icons/gifIcon.d.ts.map +1 -0
  21. package/dist/icons/imageIcon.d.ts +2 -0
  22. package/dist/icons/imageIcon.d.ts.map +1 -0
  23. package/dist/icons/microphone.d.ts +2 -0
  24. package/dist/icons/microphone.d.ts.map +1 -0
  25. package/dist/icons/mixedFilesIcon.d.ts +2 -0
  26. package/dist/icons/mixedFilesIcon.d.ts.map +1 -0
  27. package/dist/icons/notVisibilityIcon.d.ts +2 -0
  28. package/dist/icons/notVisibilityIcon.d.ts.map +1 -0
  29. package/dist/icons/playIcon.d.ts +2 -0
  30. package/dist/icons/playIcon.d.ts.map +1 -0
  31. package/dist/icons/plusIcon.d.ts +2 -0
  32. package/dist/icons/plusIcon.d.ts.map +1 -0
  33. package/dist/icons/refreshIcon.d.ts +2 -0
  34. package/dist/icons/refreshIcon.d.ts.map +1 -0
  35. package/dist/icons/stopIcon.d.ts +2 -0
  36. package/dist/icons/stopIcon.d.ts.map +1 -0
  37. package/dist/icons/submitIcon.d.ts +2 -0
  38. package/dist/icons/submitIcon.d.ts.map +1 -0
  39. package/dist/icons/tickIcon.d.ts +2 -0
  40. package/dist/icons/tickIcon.d.ts.map +1 -0
  41. package/dist/icons/visibleIcon.d.ts +2 -0
  42. package/dist/icons/visibleIcon.d.ts.map +1 -0
  43. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +20 -0
  44. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts.map +1 -0
  45. package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts +13 -0
  46. package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts.map +1 -0
  47. package/dist/services/azure/azureLanguageIO.d.ts +12 -0
  48. package/dist/services/azure/azureLanguageIO.d.ts.map +1 -0
  49. package/dist/services/azure/azureSpeechIO.d.ts +11 -0
  50. package/dist/services/azure/azureSpeechIO.d.ts.map +1 -0
  51. package/dist/services/azure/azureSpeechToTextIO.d.ts +18 -0
  52. package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -0
  53. package/dist/services/azure/azureSummarizationIO.d.ts +33 -0
  54. package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -0
  55. package/dist/services/azure/azureTextToSpeechIO.d.ts +17 -0
  56. package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -0
  57. package/dist/services/azure/azureTranslationIO.d.ts +18 -0
  58. package/dist/services/azure/azureTranslationIO.d.ts.map +1 -0
  59. package/dist/services/azure/utils/azureUtils.d.ts +25 -0
  60. package/dist/services/azure/utils/azureUtils.d.ts.map +1 -0
  61. package/dist/services/cohere/cohereChatIO.d.ts +15 -0
  62. package/dist/services/cohere/cohereChatIO.d.ts.map +1 -0
  63. package/dist/services/cohere/cohereIO.d.ts +12 -0
  64. package/dist/services/cohere/cohereIO.d.ts.map +1 -0
  65. package/dist/services/cohere/cohereSummarizationIO.d.ts +14 -0
  66. package/dist/services/cohere/cohereSummarizationIO.d.ts.map +1 -0
  67. package/dist/services/cohere/cohereTextGenerationIO.d.ts +14 -0
  68. package/dist/services/cohere/cohereTextGenerationIO.d.ts.map +1 -0
  69. package/dist/services/cohere/utils/cohereUtils.d.ts +11 -0
  70. package/dist/services/cohere/utils/cohereUtils.d.ts.map +1 -0
  71. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts +9 -0
  72. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts.map +1 -0
  73. package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts +9 -0
  74. package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts.map +1 -0
  75. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +15 -0
  76. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts.map +1 -0
  77. package/dist/services/huggingFace/huggingFaceFileIO.d.ts +17 -0
  78. package/dist/services/huggingFace/huggingFaceFileIO.d.ts.map +1 -0
  79. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +11 -0
  80. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts.map +1 -0
  81. package/dist/services/huggingFace/huggingFaceIO.d.ts +34 -0
  82. package/dist/services/huggingFace/huggingFaceIO.d.ts.map +1 -0
  83. package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts +9 -0
  84. package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts.map +1 -0
  85. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts +16 -0
  86. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts.map +1 -0
  87. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts +9 -0
  88. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts.map +1 -0
  89. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts +9 -0
  90. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts.map +1 -0
  91. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts +9 -0
  92. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts.map +1 -0
  93. package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts +10 -0
  94. package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts.map +1 -0
  95. package/dist/services/openAI/openAIAudioIO.d.ts +27 -0
  96. package/dist/services/openAI/openAIAudioIO.d.ts.map +1 -0
  97. package/dist/services/openAI/openAIChatIO.d.ts +21 -0
  98. package/dist/services/openAI/openAIChatIO.d.ts.map +1 -0
  99. package/dist/services/openAI/openAICompletionsIO.d.ts +20 -0
  100. package/dist/services/openAI/openAICompletionsIO.d.ts.map +1 -0
  101. package/dist/services/openAI/openAIImagesIO.d.ts +25 -0
  102. package/dist/services/openAI/openAIImagesIO.d.ts.map +1 -0
  103. package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts +12 -0
  104. package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts.map +1 -0
  105. package/dist/services/openAI/utils/openAIUtils.d.ts +12 -0
  106. package/dist/services/openAI/utils/openAIUtils.d.ts.map +1 -0
  107. package/dist/services/serviceIO.d.ts +65 -0
  108. package/dist/services/serviceIO.d.ts.map +1 -0
  109. package/dist/services/serviceIOFactory.d.ts +6 -0
  110. package/dist/services/serviceIOFactory.d.ts.map +1 -0
  111. package/dist/services/stabilityAI/stabilityAIIO.d.ts +13 -0
  112. package/dist/services/stabilityAI/stabilityAIIO.d.ts.map +1 -0
  113. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +19 -0
  114. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts.map +1 -0
  115. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +20 -0
  116. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts.map +1 -0
  117. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +18 -0
  118. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts.map +1 -0
  119. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +19 -0
  120. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts.map +1 -0
  121. package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts +10 -0
  122. package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts.map +1 -0
  123. package/dist/services/utils/baseServiceIO.d.ts +39 -0
  124. package/dist/services/utils/baseServiceIO.d.ts.map +1 -0
  125. package/dist/services/utils/directServiceIO.d.ts +19 -0
  126. package/dist/services/utils/directServiceIO.d.ts.map +1 -0
  127. package/dist/services/utils/messageLimitUtils.d.ts +9 -0
  128. package/dist/services/utils/messageLimitUtils.d.ts.map +1 -0
  129. package/dist/services/utils/setFileTypes.d.ts +14 -0
  130. package/dist/services/utils/setFileTypes.d.ts.map +1 -0
  131. package/dist/types/APIKey.d.ts +5 -0
  132. package/dist/types/APIKey.d.ts.map +1 -0
  133. package/dist/types/assemblyAI.d.ts +4 -0
  134. package/dist/types/assemblyAI.d.ts.map +1 -0
  135. package/dist/types/assemblyAIResult.d.ts +5 -0
  136. package/dist/types/assemblyAIResult.d.ts.map +1 -0
  137. package/dist/types/avatars.d.ts +17 -0
  138. package/dist/types/avatars.d.ts.map +1 -0
  139. package/dist/types/azure.d.ts +28 -0
  140. package/dist/types/azure.d.ts.map +1 -0
  141. package/dist/types/azureResult.d.ts +47 -0
  142. package/dist/types/azureResult.d.ts.map +1 -0
  143. package/dist/types/button.d.ts +17 -0
  144. package/dist/types/button.d.ts.map +1 -0
  145. package/dist/types/buttonInternal.d.ts +12 -0
  146. package/dist/types/buttonInternal.d.ts.map +1 -0
  147. package/dist/types/buttonTypes.d.ts +3 -0
  148. package/dist/types/buttonTypes.d.ts.map +1 -0
  149. package/dist/types/camera.d.ts +12 -0
  150. package/dist/types/camera.d.ts.map +1 -0
  151. package/dist/types/chatLimits.d.ts +5 -0
  152. package/dist/types/chatLimits.d.ts.map +1 -0
  153. package/dist/types/cohere.d.ts +34 -0
  154. package/dist/types/cohere.d.ts.map +1 -0
  155. package/dist/types/cohereResult.d.ts +21 -0
  156. package/dist/types/cohereResult.d.ts.map +1 -0
  157. package/dist/types/customService.d.ts +6 -0
  158. package/dist/types/customService.d.ts.map +1 -0
  159. package/dist/types/demo.d.ts +13 -0
  160. package/dist/types/demo.d.ts.map +1 -0
  161. package/dist/types/directConnection.d.ts +18 -0
  162. package/dist/types/directConnection.d.ts.map +1 -0
  163. package/dist/types/dropupStyles.d.ts +13 -0
  164. package/dist/types/dropupStyles.d.ts.map +1 -0
  165. package/dist/types/fileAttachments.d.ts +12 -0
  166. package/dist/types/fileAttachments.d.ts.map +1 -0
  167. package/dist/types/fileServiceConfigs.d.ts +23 -0
  168. package/dist/types/fileServiceConfigs.d.ts.map +1 -0
  169. package/dist/types/fileTypes.d.ts +2 -0
  170. package/dist/types/fileTypes.d.ts.map +1 -0
  171. package/dist/types/genericInputButton.d.ts +5 -0
  172. package/dist/types/genericInputButton.d.ts.map +1 -0
  173. package/dist/types/headers.d.ts +3 -0
  174. package/dist/types/headers.d.ts.map +1 -0
  175. package/dist/types/huggingFace.d.ts +67 -0
  176. package/dist/types/huggingFace.d.ts.map +1 -0
  177. package/dist/types/huggingFaceResult.d.ts +30 -0
  178. package/dist/types/huggingFaceResult.d.ts.map +1 -0
  179. package/dist/types/interceptors.d.ts +8 -0
  180. package/dist/types/interceptors.d.ts.map +1 -0
  181. package/dist/types/keyVerificationDetails.d.ts +9 -0
  182. package/dist/types/keyVerificationDetails.d.ts.map +1 -0
  183. package/dist/types/messageFile.d.ts +8 -0
  184. package/dist/types/messageFile.d.ts.map +1 -0
  185. package/dist/types/messages.d.ts +44 -0
  186. package/dist/types/messages.d.ts.map +1 -0
  187. package/dist/types/microphone.d.ts +29 -0
  188. package/dist/types/microphone.d.ts.map +1 -0
  189. package/dist/types/names.d.ts +13 -0
  190. package/dist/types/names.d.ts.map +1 -0
  191. package/dist/types/object.d.ts +4 -0
  192. package/dist/types/object.d.ts.map +1 -0
  193. package/dist/types/openAI.d.ts +34 -0
  194. package/dist/types/openAI.d.ts.map +1 -0
  195. package/dist/types/openAIInternal.d.ts +10 -0
  196. package/dist/types/openAIInternal.d.ts.map +1 -0
  197. package/dist/types/openAIResult.d.ts +39 -0
  198. package/dist/types/openAIResult.d.ts.map +1 -0
  199. package/dist/types/request.d.ts +9 -0
  200. package/dist/types/request.d.ts.map +1 -0
  201. package/dist/types/result.d.ts +6 -0
  202. package/dist/types/result.d.ts.map +1 -0
  203. package/dist/types/stabilityAI.d.ts +37 -0
  204. package/dist/types/stabilityAI.d.ts.map +1 -0
  205. package/dist/types/stabilityAIResult.d.ts +7 -0
  206. package/dist/types/stabilityAIResult.d.ts.map +1 -0
  207. package/dist/types/stream.d.ts +4 -0
  208. package/dist/types/stream.d.ts.map +1 -0
  209. package/dist/types/styles.d.ts +7 -0
  210. package/dist/types/styles.d.ts.map +1 -0
  211. package/dist/types/submitButton.d.ts +8 -0
  212. package/dist/types/submitButton.d.ts.map +1 -0
  213. package/dist/types/textInput.d.ts +17 -0
  214. package/dist/types/textInput.d.ts.map +1 -0
  215. package/dist/types/textToSpeech.d.ts +8 -0
  216. package/dist/types/textToSpeech.d.ts.map +1 -0
  217. package/dist/types/typeConverters.d.ts +6 -0
  218. package/dist/types/typeConverters.d.ts.map +1 -0
  219. package/dist/types/utilityTypes.d.ts +11 -0
  220. package/dist/types/utilityTypes.d.ts.map +1 -0
  221. package/dist/types/validateMessageBeforeSending.d.ts +2 -0
  222. package/dist/types/validateMessageBeforeSending.d.ts.map +1 -0
  223. package/dist/utils/HTTP/HTTPRequest.d.ts +10 -0
  224. package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -0
  225. package/dist/utils/HTTP/requestUtils.d.ts +9 -0
  226. package/dist/utils/HTTP/requestUtils.d.ts.map +1 -0
  227. package/dist/utils/HTTP/stream.d.ts +9 -0
  228. package/dist/utils/HTTP/stream.d.ts.map +1 -0
  229. package/dist/utils/HTTP/websocket.d.ts +9 -0
  230. package/dist/utils/HTTP/websocket.d.ts.map +1 -0
  231. package/dist/utils/browser/browser.d.ts +5 -0
  232. package/dist/utils/browser/browser.d.ts.map +1 -0
  233. package/dist/utils/buttons/inputButtons.d.ts +3 -0
  234. package/dist/utils/buttons/inputButtons.d.ts.map +1 -0
  235. package/dist/utils/buttons/keyboardKeys.d.ts +14 -0
  236. package/dist/utils/buttons/keyboardKeys.d.ts.map +1 -0
  237. package/dist/utils/decorators/property.d.ts +3 -0
  238. package/dist/utils/decorators/property.d.ts.map +1 -0
  239. package/dist/utils/decorators/renderControl.d.ts +6 -0
  240. package/dist/utils/decorators/renderControl.d.ts.map +1 -0
  241. package/dist/utils/decorators/typeConverters.d.ts +5 -0
  242. package/dist/utils/decorators/typeConverters.d.ts.map +1 -0
  243. package/dist/utils/demo/demo.d.ts +15 -0
  244. package/dist/utils/demo/demo.d.ts.map +1 -0
  245. package/dist/utils/element/elementUtils.d.ts +7 -0
  246. package/dist/utils/element/elementUtils.d.ts.map +1 -0
  247. package/dist/utils/element/imageUtils.d.ts +2 -0
  248. package/dist/utils/element/imageUtils.d.ts.map +1 -0
  249. package/dist/utils/element/statefulEvents.d.ts +9 -0
  250. package/dist/utils/element/statefulEvents.d.ts.map +1 -0
  251. package/dist/utils/element/styleUtils.d.ts +8 -0
  252. package/dist/utils/element/styleUtils.d.ts.map +1 -0
  253. package/dist/utils/errorMessages/errorMessages.d.ts +9 -0
  254. package/dist/utils/errorMessages/errorMessages.d.ts.map +1 -0
  255. package/dist/utils/events/fireEvents.d.ts +7 -0
  256. package/dist/utils/events/fireEvents.d.ts.map +1 -0
  257. package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts +11 -0
  258. package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts.map +1 -0
  259. package/dist/utils/svg/svgIconUtils.d.ts +4 -0
  260. package/dist/utils/svg/svgIconUtils.d.ts.map +1 -0
  261. package/dist/utils/webComponent/googleFont.d.ts +5 -0
  262. package/dist/utils/webComponent/googleFont.d.ts.map +1 -0
  263. package/dist/utils/webComponent/internalHTML.d.ts +14 -0
  264. package/dist/utils/webComponent/internalHTML.d.ts.map +1 -0
  265. package/dist/utils/webComponent/webComponentStyleUtils.d.ts +6 -0
  266. package/dist/utils/webComponent/webComponentStyleUtils.d.ts.map +1 -0
  267. package/dist/views/chat/chatView.d.ts +7 -0
  268. package/dist/views/chat/chatView.d.ts.map +1 -0
  269. package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts +9 -0
  270. package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts.map +1 -0
  271. package/dist/views/chat/input/buttons/buttonCSS.d.ts +9 -0
  272. package/dist/views/chat/input/buttons/buttonCSS.d.ts.map +1 -0
  273. package/dist/views/chat/input/buttons/camera/cameraButton.d.ts +16 -0
  274. package/dist/views/chat/input/buttons/camera/cameraButton.d.ts.map +1 -0
  275. package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts +10 -0
  276. package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts.map +1 -0
  277. package/dist/views/chat/input/buttons/inputButton.d.ts +25 -0
  278. package/dist/views/chat/input/buttons/inputButton.d.ts.map +1 -0
  279. package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts +24 -0
  280. package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts.map +1 -0
  281. package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts +18 -0
  282. package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts.map +1 -0
  283. package/dist/views/chat/input/buttons/microphone/speechToText.d.ts +15 -0
  284. package/dist/views/chat/input/buttons/microphone/speechToText.d.ts.map +1 -0
  285. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts +27 -0
  286. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts.map +1 -0
  287. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts +13 -0
  288. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts.map +1 -0
  289. package/dist/views/chat/input/buttons/submit/submitButton.d.ts +35 -0
  290. package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -0
  291. package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts +5 -0
  292. package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts.map +1 -0
  293. package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts +23 -0
  294. package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts.map +1 -0
  295. package/dist/views/chat/input/dropup/dropup.d.ts +22 -0
  296. package/dist/views/chat/input/dropup/dropup.d.ts.map +1 -0
  297. package/dist/views/chat/input/dropup/dropupItem.d.ts +11 -0
  298. package/dist/views/chat/input/dropup/dropupItem.d.ts.map +1 -0
  299. package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts +5 -0
  300. package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts.map +1 -0
  301. package/dist/views/chat/input/dropup/dropupMenu.d.ts +16 -0
  302. package/dist/views/chat/input/dropup/dropupMenu.d.ts.map +1 -0
  303. package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts +12 -0
  304. package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts.map +1 -0
  305. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +21 -0
  306. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts.map +1 -0
  307. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts +7 -0
  308. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts.map +1 -0
  309. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +31 -0
  310. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts.map +1 -0
  311. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts +23 -0
  312. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts.map +1 -0
  313. package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts +28 -0
  314. package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts.map +1 -0
  315. package/dist/views/chat/input/fileAttachments/modal/modal.d.ts +27 -0
  316. package/dist/views/chat/input/fileAttachments/modal/modal.d.ts.map +1 -0
  317. package/dist/views/chat/input/fileAttachments/newFileName.d.ts +4 -0
  318. package/dist/views/chat/input/fileAttachments/newFileName.d.ts.map +1 -0
  319. package/dist/views/chat/input/input.d.ts +12 -0
  320. package/dist/views/chat/input/input.d.ts.map +1 -0
  321. package/dist/views/chat/input/textInput/focusUtils.d.ts +5 -0
  322. package/dist/views/chat/input/textInput/focusUtils.d.ts.map +1 -0
  323. package/dist/views/chat/input/textInput/inputLimit.d.ts +8 -0
  324. package/dist/views/chat/input/textInput/inputLimit.d.ts.map +1 -0
  325. package/dist/views/chat/input/textInput/pasteUtils.d.ts +4 -0
  326. package/dist/views/chat/input/textInput/pasteUtils.d.ts.map +1 -0
  327. package/dist/views/chat/input/textInput/textInput.d.ts +22 -0
  328. package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -0
  329. package/dist/views/chat/introPanel/introPanel.d.ts +11 -0
  330. package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -0
  331. package/dist/views/chat/messages/avatar.d.ts +9 -0
  332. package/dist/views/chat/messages/avatar.d.ts.map +1 -0
  333. package/dist/views/chat/messages/fileMessageUtils.d.ts +12 -0
  334. package/dist/views/chat/messages/fileMessageUtils.d.ts.map +1 -0
  335. package/dist/views/chat/messages/fileMessages.d.ts +11 -0
  336. package/dist/views/chat/messages/fileMessages.d.ts.map +1 -0
  337. package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts +6 -0
  338. package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts.map +1 -0
  339. package/dist/views/chat/messages/messageStyleUtils.d.ts +11 -0
  340. package/dist/views/chat/messages/messageStyleUtils.d.ts.map +1 -0
  341. package/dist/views/chat/messages/messages.d.ts +62 -0
  342. package/dist/views/chat/messages/messages.d.ts.map +1 -0
  343. package/dist/views/chat/messages/name.d.ts +9 -0
  344. package/dist/views/chat/messages/name.d.ts.map +1 -0
  345. package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts +11 -0
  346. package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts.map +1 -0
  347. package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts +14 -0
  348. package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts.map +1 -0
  349. package/dist/views/error/errorView.d.ts +4 -0
  350. package/dist/views/error/errorView.d.ts.map +1 -0
  351. package/dist/views/insertKey/insertKeyView.d.ts +18 -0
  352. package/dist/views/insertKey/insertKeyView.d.ts.map +1 -0
  353. package/dist/views/insertKey/visibilityIcon.d.ts +7 -0
  354. package/dist/views/insertKey/visibilityIcon.d.ts.map +1 -0
  355. package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts +7 -0
  356. package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts.map +1 -0
  357. package/package.json +70 -0
package/README.md ADDED
@@ -0,0 +1,132 @@
1
+ <br />
2
+
3
+ ![Deep Chat](https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/assets/readme/banner-2.png)
4
+
5
+ <b>Deep Chat</b> is a fully customizable AI chat component that can be injected into your website with minimal to no effort. Whether you want to create a chatbot that leverages popular APIs such as ChatGPT or connect to your own custom service, this component can do it all! Explore [deepchat.dev](https://deepchat.dev/) to view all of the available features, how to use them, examples and more!
6
+
7
+ ### :rocket: Main Features
8
+
9
+ - Connect to any API
10
+ - Avatars
11
+ - Names
12
+ - Send/Receive files
13
+ - Capture photos via webcam
14
+ - Record audio via microphone
15
+ - Speech To Text for message input
16
+ - Text To Speech to hear message responses
17
+ - Support for MarkDown to help structure text and render code
18
+ - Introduction panel and dynamic modals to help describe functionality for your users
19
+ - Connect to popular AI APIs such as OpenAI, HuggingFace, Cohere directly from the browser
20
+ - Support for all major ui frameworks/libraries
21
+ - Everything is customizable!
22
+
23
+ ### :computer: Getting started
24
+
25
+ ```
26
+ npm install deep-chat
27
+ ```
28
+
29
+ If using React, install the [following](https://www.npmjs.com/package/deep-chat-react) instead:
30
+
31
+ ```
32
+ npm install deep-chat-react
33
+ ```
34
+
35
+ To test the component - simply add the following to your markup:
36
+
37
+ ```
38
+ <deep-chat directConnection='{"demo":true}'/>
39
+ ```
40
+
41
+ The exact syntax for the above example will vary depending on the framework of your choice ([see here](https://deepchat.dev/examples/frameworks)).
42
+
43
+ ### :zap: Connect
44
+
45
+ ![Connect](https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/assets/readme/connect.png)
46
+
47
+ Connecting to a service is simple, all you need to do is define its API details using the [`request`](https://deepchat.dev/docs/connect#request) property:
48
+
49
+ ```
50
+ <deep-chat request='{"url":"https://service.com/chat"}'/>
51
+ ```
52
+
53
+ The service will need to be able to handle request and response formats used in Deep Chat. Please read the [Connect](https://deepchat.dev/docs/connect) section in documentation and check out [server template](http://localhost:3000/examples/servers) examples.
54
+
55
+ Alternatively, if you want to connect without changing the target service, use the [`requestInterceptor`](https://deepchat.dev/docs/interceptors#requestInterceptor) and [`responseInterceptor`](https://deepchat.dev/docs/interceptors#responseInterceptor) properties to augment the incoming and outgoing request details.
56
+
57
+ ### :electric_plug: Direct connection
58
+
59
+ ![Direct connection](https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/assets/readme/direct-connect.png)
60
+
61
+ Connect to popular AI APIs directly from the browser via the use of the [`directConnection`](https://deepchat.dev/docs/directConnection/#directConnection) property:
62
+
63
+ ```
64
+ <deep-chat directConnection='{"openAI":true}'/>
65
+
66
+ <deep-chat directConnection='{"openAI":{"key": "optional-key-here"}}'/>
67
+ ```
68
+
69
+ Please note that this approach should be used for local/prototyping/demo purposes ONLY as it exposes the API Key to the browser. When ready to go live, please switch to using the [`request`](https://deepchat.dev/docs/connect#request) property described above along with a [proxy service](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers).
70
+
71
+ Currently supported direct API connections:
72
+ [OpenAI](https://openai.com/blog/openai-api), [HuggingFace](https://learn.microsoft.com/en-gb/azure/cognitive-services/), [Cohere](https://docs.cohere.com/docs), [Stability AI](https://stability.ai/), [Azure](https://learn.microsoft.com/en-gb/azure/cognitive-services/), [AssemblyAI](https://www.assemblyai.com/)
73
+
74
+ ### :camera: :microphone: Camera and Microphone
75
+
76
+ ![Capture](https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/assets/readme/capture.png)
77
+
78
+ Use Deep Chat to capture photos with your webcam and record audio with the microphone. You can enable this using the [`camera`](https://deepchat.dev/docs/files#camera) and [`microphone`](https://deepchat.dev/docs/files#microphone) properties:
79
+
80
+ ```
81
+ <deep-chat camera="true" microphone="true" ...other properties />
82
+ ```
83
+
84
+ ### :microphone: :sound: Speech
85
+
86
+ https://github.com/OvidijusParsiunas/deep-chat/assets/18709577/e103a42e-b3a7-4449-b9db-73fed6d7876e
87
+
88
+ Input text with your voice using Speech To Text capabilities and have the responses read out to you with Text To Speech. You can enable this functionality via the [`speechToText`](https://deepchat.dev/docs/speech#speechToText) and [`textToSpeech`](https://deepchat.dev/docs/speech#textToSpeech) properties.
89
+
90
+ ```
91
+ <deep-chat speechToText="true" textToSpeech="true" ...other properties />
92
+ ```
93
+
94
+ ### :beginner: Examples
95
+
96
+ Check out the live codepen examples for your [UI framework/library](https://deepchat.dev/examples/frameworks) of choice:
97
+
98
+ | React | Vue 2 | Vue 3 | Svelte | Angular | Solid | Next | VanillaJS |
99
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
100
+ | <a href="https://codesandbox.io/s/deep-chat-react-ythnyl?file=/src/App.tsx" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/reactLogo.png" width="60"/></a> | <a href="https://codesandbox.io/s/deep-chat-vue2-cdqpt2?file=/src/App.vue" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/vueLogo.png" width="60"/></a> | <a href="https://codesandbox.io/s/deep-chat-vue3-7y99jq?file=/src/App.vue" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/vueLogo.png" width="60"/></a> | <a href="https://codesandbox.io/s/deep-chat-svelte-832jcc?file=/App.svelte" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/svelteLogo.png" width="45"/></a> | <a href="https://codesandbox.io/s/deep-chat-angular-mk2v62?file=/src/app/app.component.html" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/angularLogo.png" width="66"/></a> | <a href="https://codesandbox.io/p/sandbox/deep-chat-solidjs-nnx9nc?file=%2Fsrc%2FApp.tsx%3A1%2C1" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/solidLogo.png" width="60"/></a> | <a href="https://codesandbox.io/p/sandbox/deep-chat-nextjs-pvyy5p?selection=%5B%7B%22endColumn%22%3A30%2C%22endLineNumber%22%3A28%2C%22startColumn%22%3A30%2C%22startLineNumber%22%3A28%7D%5D&file=%2Fpages%2Findex.tsx%3A13%2C30" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/nextLogo.png" width="60"/></a> | <a href="https://codesandbox.io/s/deep-chat-vanillajs-v2ywnv?file=/index.html" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/vanillaJSLogo.png" width="60"/></a> |
101
+
102
+ Setting up your own server has never been easier with the following [server templates](https://deepchat.dev/examples/servers). From creating your own service to establishing proxies for other APIs such as OpenAI, everything has been documented with clear examples to get you up and running in seconds:
103
+
104
+ | Express | Nest | Flask | Spring | Go | Next |
105
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
106
+ | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/node/express" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/expressLogo.png" width="60"/></a> | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/node/nestjs" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/nestLogo.png" width="60"/></a> | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/python/flask" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/flaskLogo.png" width="60"/></a> | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/java/springboot" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/springBootLogo.png" width="50"/></a> | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/go" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/goLogo.png" width="40"/></a> | <a href="https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/nextjs" target="_blank"><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/nextLogo.png" width="55"/></a> |
107
+
108
+ All examples are ready to be deployed on a hosting platform such as [Vercel](https://vercel.com/).
109
+
110
+ ## :construction_worker: Local setup
111
+
112
+ ```
113
+ # Install node dependencies:
114
+ $ npm install
115
+
116
+ # Build the component:
117
+ $ npm run build
118
+
119
+ # Automatically build the component as soon as you make a change:
120
+ $ npm run build:watch
121
+
122
+ # Serve the component locally (from index.html):
123
+ $ npm run start
124
+
125
+ # Bundle the component into a single file (dist/deepChat.bundle.js):
126
+ $ npm run build:bundle
127
+ ```
128
+
129
+ ## :heart: Contributions
130
+
131
+ Open source is built by the community for the community. All contributions to this project are welcome!<br>
132
+ Additionally, if you have any suggestions for enhancements, ideas on how to take the project further or have discovered a bug, do not hesitate to create a new issue ticket and we will look into it as soon as possible!
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <svg fill="#000000" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
3
+ viewBox="0 0 32 32" xml:space="preserve">
4
+ <path d="M23,30.36H9c-2.404,0-4.36-1.956-4.36-4.36V15c0-2.404,1.956-4.36,4.36-4.36h3.659
5
+ c0.167-1.566,1.415-2.813,2.981-2.981V5.333c-1.131-0.174-2-1.154-2-2.333c0-1.301,1.059-2.36,2.36-2.36
6
+ c1.302,0,2.36,1.059,2.36,2.36c0,1.179-0.869,2.159-2,2.333V7.66c1.566,0.167,2.814,1.415,2.981,2.981H23
7
+ c2.404,0,4.36,1.956,4.36,4.36v11C27.36,28.404,25.404,30.36,23,30.36z M9,11.36c-2.007,0-3.64,1.633-3.64,3.64v11
8
+ c0,2.007,1.633,3.64,3.64,3.64h14c2.007,0,3.64-1.633,3.64-3.64V15c0-2.007-1.633-3.64-3.64-3.64H9z M13.384,10.64h5.231
9
+ C18.439,9.354,17.334,8.36,16,8.36C14.667,8.36,13.561,9.354,13.384,10.64z M16,1.36c-0.904,0-1.64,0.736-1.64,1.64
10
+ S15.096,4.64,16,4.64c0.904,0,1.64-0.736,1.64-1.64S16.904,1.36,16,1.36z M20,27.36h-8c-1.301,0-2.36-1.059-2.36-2.36
11
+ s1.059-2.36,2.36-2.36h8c1.302,0,2.36,1.059,2.36,2.36S21.302,27.36,20,27.36z M12,23.36c-0.904,0-1.64,0.735-1.64,1.64
12
+ s0.736,1.64,1.64,1.64h8c0.904,0,1.64-0.735,1.64-1.64s-0.735-1.64-1.64-1.64H12z M31,23.86h-2c-0.199,0-0.36-0.161-0.36-0.36V15
13
+ c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5C31.36,23.699,31.199,23.86,31,23.86z M29.36,23.14h1.279v-7.78
14
+ H29.36V23.14z M3,23.86H1c-0.199,0-0.36-0.161-0.36-0.36V15c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5
15
+ C3.36,23.699,3.199,23.86,3,23.86z M1.36,23.14h1.28v-7.78H1.36V23.14z M20,20.36c-1.302,0-2.36-1.059-2.36-2.36
16
+ s1.059-2.36,2.36-2.36s2.36,1.059,2.36,2.36C22.36,19.302,21.302,20.36,20,20.36z M20,16.36c-0.904,0-1.64,0.736-1.64,1.64
17
+ s0.735,1.64,1.64,1.64s1.64-0.735,1.64-1.64S20.904,16.36,20,16.36z M12,20.36c-1.301,0-2.36-1.059-2.36-2.36s1.059-2.36,2.36-2.36
18
+ s2.36,1.059,2.36,2.36C14.36,19.302,13.301,20.36,12,20.36z M12,16.36c-0.904,0-1.64,0.736-1.64,1.64s0.736,1.64,1.64,1.64
19
+ s1.64-0.735,1.64-1.64S12.904,16.36,12,16.36z"/>
20
+ <rect style="fill:none;" width="32" height="32"/>
21
+ </svg>
Binary file