deep-chat-dev 1.1.37 → 1.3.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 (101) hide show
  1. package/README.md +4 -4
  2. package/custom-elements.json +1970 -2200
  3. package/dist/deepChat.bundle.js +1 -1
  4. package/dist/deepChat.d.ts +5 -2
  5. package/dist/deepChat.d.ts.map +1 -1
  6. package/dist/deepChat.js +9606 -5906
  7. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +3 -4
  8. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts.map +1 -1
  9. package/dist/services/azure/azureSpeechToTextIO.d.ts +3 -4
  10. package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -1
  11. package/dist/services/azure/azureSummarizationIO.d.ts +2 -3
  12. package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -1
  13. package/dist/services/azure/azureTextToSpeechIO.d.ts +3 -4
  14. package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -1
  15. package/dist/services/azure/azureTranslationIO.d.ts +3 -4
  16. package/dist/services/azure/azureTranslationIO.d.ts.map +1 -1
  17. package/dist/services/cohere/cohereChatIO.d.ts +3 -4
  18. package/dist/services/cohere/cohereChatIO.d.ts.map +1 -1
  19. package/dist/services/cohere/cohereSummarizationIO.d.ts +3 -4
  20. package/dist/services/cohere/cohereSummarizationIO.d.ts.map +1 -1
  21. package/dist/services/cohere/cohereTextGenerationIO.d.ts +3 -4
  22. package/dist/services/cohere/cohereTextGenerationIO.d.ts.map +1 -1
  23. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts.map +1 -1
  24. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +2 -2
  25. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts.map +1 -1
  26. package/dist/services/huggingFace/huggingFaceFileIO.d.ts +2 -2
  27. package/dist/services/huggingFace/huggingFaceFileIO.d.ts.map +1 -1
  28. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +2 -2
  29. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts.map +1 -1
  30. package/dist/services/huggingFace/huggingFaceIO.d.ts +2 -2
  31. package/dist/services/huggingFace/huggingFaceIO.d.ts.map +1 -1
  32. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts +2 -2
  33. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts.map +1 -1
  34. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts +2 -2
  35. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts.map +1 -1
  36. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts +2 -2
  37. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts.map +1 -1
  38. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts +2 -2
  39. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts.map +1 -1
  40. package/dist/services/openAI/openAIAudioIO.d.ts +3 -4
  41. package/dist/services/openAI/openAIAudioIO.d.ts.map +1 -1
  42. package/dist/services/openAI/openAIChatIO.d.ts +3 -4
  43. package/dist/services/openAI/openAIChatIO.d.ts.map +1 -1
  44. package/dist/services/openAI/openAICompletionsIO.d.ts +3 -4
  45. package/dist/services/openAI/openAICompletionsIO.d.ts.map +1 -1
  46. package/dist/services/openAI/openAIImagesIO.d.ts +3 -4
  47. package/dist/services/openAI/openAIImagesIO.d.ts.map +1 -1
  48. package/dist/services/serviceIO.d.ts +8 -5
  49. package/dist/services/serviceIO.d.ts.map +1 -1
  50. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +3 -4
  51. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts.map +1 -1
  52. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +3 -4
  53. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts.map +1 -1
  54. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +3 -4
  55. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts.map +1 -1
  56. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +3 -4
  57. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts.map +1 -1
  58. package/dist/services/utils/baseServiceIO.d.ts +7 -7
  59. package/dist/services/utils/baseServiceIO.d.ts.map +1 -1
  60. package/dist/services/utils/directServiceIO.d.ts.map +1 -1
  61. package/dist/types/demo.d.ts +4 -1
  62. package/dist/types/demo.d.ts.map +1 -1
  63. package/dist/types/interceptors.d.ts +6 -2
  64. package/dist/types/interceptors.d.ts.map +1 -1
  65. package/dist/types/request.d.ts +2 -0
  66. package/dist/types/request.d.ts.map +1 -1
  67. package/dist/types/{result.d.ts → response.d.ts} +3 -2
  68. package/dist/types/response.d.ts.map +1 -0
  69. package/dist/types/stream.d.ts +4 -0
  70. package/dist/types/stream.d.ts.map +1 -0
  71. package/dist/types/textInput.d.ts +1 -0
  72. package/dist/types/textInput.d.ts.map +1 -1
  73. package/dist/utils/HTTP/HTTPRequest.d.ts +4 -7
  74. package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -1
  75. package/dist/utils/HTTP/customRequest.d.ts +7 -0
  76. package/dist/utils/HTTP/customRequest.d.ts.map +1 -0
  77. package/dist/utils/HTTP/requestUtils.d.ts +10 -2
  78. package/dist/utils/HTTP/requestUtils.d.ts.map +1 -1
  79. package/dist/utils/HTTP/stream.d.ts +10 -0
  80. package/dist/utils/HTTP/stream.d.ts.map +1 -0
  81. package/dist/utils/HTTP/websocket.d.ts +5 -6
  82. package/dist/utils/HTTP/websocket.d.ts.map +1 -1
  83. package/dist/utils/demo/demo.d.ts +4 -2
  84. package/dist/utils/demo/demo.d.ts.map +1 -1
  85. package/dist/utils/errorMessages/errorMessages.d.ts +4 -0
  86. package/dist/utils/errorMessages/errorMessages.d.ts.map +1 -1
  87. package/dist/utils/events/fireEvents.d.ts +1 -0
  88. package/dist/utils/events/fireEvents.d.ts.map +1 -1
  89. package/dist/views/chat/input/buttons/submit/submitButton.d.ts +1 -0
  90. package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -1
  91. package/dist/views/chat/input/textInput/textInput.d.ts +2 -0
  92. package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -1
  93. package/dist/views/chat/introPanel/introPanel.d.ts +1 -0
  94. package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -1
  95. package/dist/views/chat/messages/fileMessages.d.ts.map +1 -1
  96. package/dist/views/chat/messages/messages.d.ts +8 -2
  97. package/dist/views/chat/messages/messages.d.ts.map +1 -1
  98. package/package.json +12 -5
  99. package/dist/types/customService.d.ts +0 -6
  100. package/dist/types/customService.d.ts.map +0 -1
  101. package/dist/types/result.d.ts.map +0 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![Deep Chat](https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/assets/readme/banner-2.png)
4
4
 
5
- <b>Deep Chat</b> is a fully customizable chat based web component built with a focus on powering next generation AI services. 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!
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
6
 
7
7
  ### :rocket: Main Features
8
8
 
@@ -95,9 +95,9 @@ Input text with your voice using Speech To Text capabilities and have the respon
95
95
 
96
96
  Check out the live codepen examples for your [UI framework/library](https://deepchat.dev/examples/frameworks) of choice:
97
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> |
98
+ | React | Vue 2 | Vue 3 | Svelte | SvelteKit | 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> | <div align="center"><a href="https://codesandbox.io/p/sandbox/deep-chat-sveltekit-fn8h6x" target="_blank" ><img src="https://raw.githubusercontent.com/OvidijusParsiunas/deep-chat/HEAD/website/static/img/svelteLogo.png" width="45"/></a></div> | <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
101
 
102
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
103