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.
- package/README.md +132 -0
- package/assets/machine-learning.svg +21 -0
- package/assets/person-avatar.png +0 -0
- package/custom-elements.json +31889 -0
- package/dist/deepChat.bundle.js +1 -0
- package/dist/deepChat.d.ts +71 -0
- package/dist/deepChat.d.ts.map +1 -0
- package/dist/deepChat.js +6700 -0
- package/dist/icons/audioIcon.d.ts +2 -0
- package/dist/icons/audioIcon.d.ts.map +1 -0
- package/dist/icons/cameraIcon.d.ts +2 -0
- package/dist/icons/cameraIcon.d.ts.map +1 -0
- package/dist/icons/captureIcon.d.ts +2 -0
- package/dist/icons/captureIcon.d.ts.map +1 -0
- package/dist/icons/closeIcon.d.ts +2 -0
- package/dist/icons/closeIcon.d.ts.map +1 -0
- package/dist/icons/fileIcon.d.ts +2 -0
- package/dist/icons/fileIcon.d.ts.map +1 -0
- package/dist/icons/gifIcon.d.ts +2 -0
- package/dist/icons/gifIcon.d.ts.map +1 -0
- package/dist/icons/imageIcon.d.ts +2 -0
- package/dist/icons/imageIcon.d.ts.map +1 -0
- package/dist/icons/microphone.d.ts +2 -0
- package/dist/icons/microphone.d.ts.map +1 -0
- package/dist/icons/mixedFilesIcon.d.ts +2 -0
- package/dist/icons/mixedFilesIcon.d.ts.map +1 -0
- package/dist/icons/notVisibilityIcon.d.ts +2 -0
- package/dist/icons/notVisibilityIcon.d.ts.map +1 -0
- package/dist/icons/playIcon.d.ts +2 -0
- package/dist/icons/playIcon.d.ts.map +1 -0
- package/dist/icons/plusIcon.d.ts +2 -0
- package/dist/icons/plusIcon.d.ts.map +1 -0
- package/dist/icons/refreshIcon.d.ts +2 -0
- package/dist/icons/refreshIcon.d.ts.map +1 -0
- package/dist/icons/stopIcon.d.ts +2 -0
- package/dist/icons/stopIcon.d.ts.map +1 -0
- package/dist/icons/submitIcon.d.ts +2 -0
- package/dist/icons/submitIcon.d.ts.map +1 -0
- package/dist/icons/tickIcon.d.ts +2 -0
- package/dist/icons/tickIcon.d.ts.map +1 -0
- package/dist/icons/visibleIcon.d.ts +2 -0
- package/dist/icons/visibleIcon.d.ts.map +1 -0
- package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +20 -0
- package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts.map +1 -0
- package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts +13 -0
- package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts.map +1 -0
- package/dist/services/azure/azureLanguageIO.d.ts +12 -0
- package/dist/services/azure/azureLanguageIO.d.ts.map +1 -0
- package/dist/services/azure/azureSpeechIO.d.ts +11 -0
- package/dist/services/azure/azureSpeechIO.d.ts.map +1 -0
- package/dist/services/azure/azureSpeechToTextIO.d.ts +18 -0
- package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -0
- package/dist/services/azure/azureSummarizationIO.d.ts +33 -0
- package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -0
- package/dist/services/azure/azureTextToSpeechIO.d.ts +17 -0
- package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -0
- package/dist/services/azure/azureTranslationIO.d.ts +18 -0
- package/dist/services/azure/azureTranslationIO.d.ts.map +1 -0
- package/dist/services/azure/utils/azureUtils.d.ts +25 -0
- package/dist/services/azure/utils/azureUtils.d.ts.map +1 -0
- package/dist/services/cohere/cohereChatIO.d.ts +15 -0
- package/dist/services/cohere/cohereChatIO.d.ts.map +1 -0
- package/dist/services/cohere/cohereIO.d.ts +12 -0
- package/dist/services/cohere/cohereIO.d.ts.map +1 -0
- package/dist/services/cohere/cohereSummarizationIO.d.ts +14 -0
- package/dist/services/cohere/cohereSummarizationIO.d.ts.map +1 -0
- package/dist/services/cohere/cohereTextGenerationIO.d.ts +14 -0
- package/dist/services/cohere/cohereTextGenerationIO.d.ts.map +1 -0
- package/dist/services/cohere/utils/cohereUtils.d.ts +11 -0
- package/dist/services/cohere/utils/cohereUtils.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +15 -0
- package/dist/services/huggingFace/huggingFaceConversationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceFileIO.d.ts +17 -0
- package/dist/services/huggingFace/huggingFaceFileIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +11 -0
- package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceIO.d.ts +34 -0
- package/dist/services/huggingFace/huggingFaceIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts +16 -0
- package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts +9 -0
- package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts.map +1 -0
- package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts +10 -0
- package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts.map +1 -0
- package/dist/services/openAI/openAIAudioIO.d.ts +27 -0
- package/dist/services/openAI/openAIAudioIO.d.ts.map +1 -0
- package/dist/services/openAI/openAIChatIO.d.ts +21 -0
- package/dist/services/openAI/openAIChatIO.d.ts.map +1 -0
- package/dist/services/openAI/openAICompletionsIO.d.ts +20 -0
- package/dist/services/openAI/openAICompletionsIO.d.ts.map +1 -0
- package/dist/services/openAI/openAIImagesIO.d.ts +25 -0
- package/dist/services/openAI/openAIImagesIO.d.ts.map +1 -0
- package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts +12 -0
- package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts.map +1 -0
- package/dist/services/openAI/utils/openAIUtils.d.ts +12 -0
- package/dist/services/openAI/utils/openAIUtils.d.ts.map +1 -0
- package/dist/services/serviceIO.d.ts +65 -0
- package/dist/services/serviceIO.d.ts.map +1 -0
- package/dist/services/serviceIOFactory.d.ts +6 -0
- package/dist/services/serviceIOFactory.d.ts.map +1 -0
- package/dist/services/stabilityAI/stabilityAIIO.d.ts +13 -0
- package/dist/services/stabilityAI/stabilityAIIO.d.ts.map +1 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +19 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts.map +1 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +20 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts.map +1 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +18 -0
- package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts.map +1 -0
- package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +19 -0
- package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts.map +1 -0
- package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts +10 -0
- package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts.map +1 -0
- package/dist/services/utils/baseServiceIO.d.ts +39 -0
- package/dist/services/utils/baseServiceIO.d.ts.map +1 -0
- package/dist/services/utils/directServiceIO.d.ts +19 -0
- package/dist/services/utils/directServiceIO.d.ts.map +1 -0
- package/dist/services/utils/messageLimitUtils.d.ts +9 -0
- package/dist/services/utils/messageLimitUtils.d.ts.map +1 -0
- package/dist/services/utils/setFileTypes.d.ts +14 -0
- package/dist/services/utils/setFileTypes.d.ts.map +1 -0
- package/dist/types/APIKey.d.ts +5 -0
- package/dist/types/APIKey.d.ts.map +1 -0
- package/dist/types/assemblyAI.d.ts +4 -0
- package/dist/types/assemblyAI.d.ts.map +1 -0
- package/dist/types/assemblyAIResult.d.ts +5 -0
- package/dist/types/assemblyAIResult.d.ts.map +1 -0
- package/dist/types/avatars.d.ts +17 -0
- package/dist/types/avatars.d.ts.map +1 -0
- package/dist/types/azure.d.ts +28 -0
- package/dist/types/azure.d.ts.map +1 -0
- package/dist/types/azureResult.d.ts +47 -0
- package/dist/types/azureResult.d.ts.map +1 -0
- package/dist/types/button.d.ts +17 -0
- package/dist/types/button.d.ts.map +1 -0
- package/dist/types/buttonInternal.d.ts +12 -0
- package/dist/types/buttonInternal.d.ts.map +1 -0
- package/dist/types/buttonTypes.d.ts +3 -0
- package/dist/types/buttonTypes.d.ts.map +1 -0
- package/dist/types/camera.d.ts +12 -0
- package/dist/types/camera.d.ts.map +1 -0
- package/dist/types/chatLimits.d.ts +5 -0
- package/dist/types/chatLimits.d.ts.map +1 -0
- package/dist/types/cohere.d.ts +34 -0
- package/dist/types/cohere.d.ts.map +1 -0
- package/dist/types/cohereResult.d.ts +21 -0
- package/dist/types/cohereResult.d.ts.map +1 -0
- package/dist/types/customService.d.ts +6 -0
- package/dist/types/customService.d.ts.map +1 -0
- package/dist/types/demo.d.ts +13 -0
- package/dist/types/demo.d.ts.map +1 -0
- package/dist/types/directConnection.d.ts +18 -0
- package/dist/types/directConnection.d.ts.map +1 -0
- package/dist/types/dropupStyles.d.ts +13 -0
- package/dist/types/dropupStyles.d.ts.map +1 -0
- package/dist/types/fileAttachments.d.ts +12 -0
- package/dist/types/fileAttachments.d.ts.map +1 -0
- package/dist/types/fileServiceConfigs.d.ts +23 -0
- package/dist/types/fileServiceConfigs.d.ts.map +1 -0
- package/dist/types/fileTypes.d.ts +2 -0
- package/dist/types/fileTypes.d.ts.map +1 -0
- package/dist/types/genericInputButton.d.ts +5 -0
- package/dist/types/genericInputButton.d.ts.map +1 -0
- package/dist/types/headers.d.ts +3 -0
- package/dist/types/headers.d.ts.map +1 -0
- package/dist/types/huggingFace.d.ts +67 -0
- package/dist/types/huggingFace.d.ts.map +1 -0
- package/dist/types/huggingFaceResult.d.ts +30 -0
- package/dist/types/huggingFaceResult.d.ts.map +1 -0
- package/dist/types/interceptors.d.ts +8 -0
- package/dist/types/interceptors.d.ts.map +1 -0
- package/dist/types/keyVerificationDetails.d.ts +9 -0
- package/dist/types/keyVerificationDetails.d.ts.map +1 -0
- package/dist/types/messageFile.d.ts +8 -0
- package/dist/types/messageFile.d.ts.map +1 -0
- package/dist/types/messages.d.ts +44 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/microphone.d.ts +29 -0
- package/dist/types/microphone.d.ts.map +1 -0
- package/dist/types/names.d.ts +13 -0
- package/dist/types/names.d.ts.map +1 -0
- package/dist/types/object.d.ts +4 -0
- package/dist/types/object.d.ts.map +1 -0
- package/dist/types/openAI.d.ts +34 -0
- package/dist/types/openAI.d.ts.map +1 -0
- package/dist/types/openAIInternal.d.ts +10 -0
- package/dist/types/openAIInternal.d.ts.map +1 -0
- package/dist/types/openAIResult.d.ts +39 -0
- package/dist/types/openAIResult.d.ts.map +1 -0
- package/dist/types/request.d.ts +9 -0
- package/dist/types/request.d.ts.map +1 -0
- package/dist/types/result.d.ts +6 -0
- package/dist/types/result.d.ts.map +1 -0
- package/dist/types/stabilityAI.d.ts +37 -0
- package/dist/types/stabilityAI.d.ts.map +1 -0
- package/dist/types/stabilityAIResult.d.ts +7 -0
- package/dist/types/stabilityAIResult.d.ts.map +1 -0
- package/dist/types/stream.d.ts +4 -0
- package/dist/types/stream.d.ts.map +1 -0
- package/dist/types/styles.d.ts +7 -0
- package/dist/types/styles.d.ts.map +1 -0
- package/dist/types/submitButton.d.ts +8 -0
- package/dist/types/submitButton.d.ts.map +1 -0
- package/dist/types/textInput.d.ts +17 -0
- package/dist/types/textInput.d.ts.map +1 -0
- package/dist/types/textToSpeech.d.ts +8 -0
- package/dist/types/textToSpeech.d.ts.map +1 -0
- package/dist/types/typeConverters.d.ts +6 -0
- package/dist/types/typeConverters.d.ts.map +1 -0
- package/dist/types/utilityTypes.d.ts +11 -0
- package/dist/types/utilityTypes.d.ts.map +1 -0
- package/dist/types/validateMessageBeforeSending.d.ts +2 -0
- package/dist/types/validateMessageBeforeSending.d.ts.map +1 -0
- package/dist/utils/HTTP/HTTPRequest.d.ts +10 -0
- package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -0
- package/dist/utils/HTTP/requestUtils.d.ts +9 -0
- package/dist/utils/HTTP/requestUtils.d.ts.map +1 -0
- package/dist/utils/HTTP/stream.d.ts +9 -0
- package/dist/utils/HTTP/stream.d.ts.map +1 -0
- package/dist/utils/HTTP/websocket.d.ts +9 -0
- package/dist/utils/HTTP/websocket.d.ts.map +1 -0
- package/dist/utils/browser/browser.d.ts +5 -0
- package/dist/utils/browser/browser.d.ts.map +1 -0
- package/dist/utils/buttons/inputButtons.d.ts +3 -0
- package/dist/utils/buttons/inputButtons.d.ts.map +1 -0
- package/dist/utils/buttons/keyboardKeys.d.ts +14 -0
- package/dist/utils/buttons/keyboardKeys.d.ts.map +1 -0
- package/dist/utils/decorators/property.d.ts +3 -0
- package/dist/utils/decorators/property.d.ts.map +1 -0
- package/dist/utils/decorators/renderControl.d.ts +6 -0
- package/dist/utils/decorators/renderControl.d.ts.map +1 -0
- package/dist/utils/decorators/typeConverters.d.ts +5 -0
- package/dist/utils/decorators/typeConverters.d.ts.map +1 -0
- package/dist/utils/demo/demo.d.ts +15 -0
- package/dist/utils/demo/demo.d.ts.map +1 -0
- package/dist/utils/element/elementUtils.d.ts +7 -0
- package/dist/utils/element/elementUtils.d.ts.map +1 -0
- package/dist/utils/element/imageUtils.d.ts +2 -0
- package/dist/utils/element/imageUtils.d.ts.map +1 -0
- package/dist/utils/element/statefulEvents.d.ts +9 -0
- package/dist/utils/element/statefulEvents.d.ts.map +1 -0
- package/dist/utils/element/styleUtils.d.ts +8 -0
- package/dist/utils/element/styleUtils.d.ts.map +1 -0
- package/dist/utils/errorMessages/errorMessages.d.ts +9 -0
- package/dist/utils/errorMessages/errorMessages.d.ts.map +1 -0
- package/dist/utils/events/fireEvents.d.ts +7 -0
- package/dist/utils/events/fireEvents.d.ts.map +1 -0
- package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts +11 -0
- package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts.map +1 -0
- package/dist/utils/svg/svgIconUtils.d.ts +4 -0
- package/dist/utils/svg/svgIconUtils.d.ts.map +1 -0
- package/dist/utils/webComponent/googleFont.d.ts +5 -0
- package/dist/utils/webComponent/googleFont.d.ts.map +1 -0
- package/dist/utils/webComponent/internalHTML.d.ts +14 -0
- package/dist/utils/webComponent/internalHTML.d.ts.map +1 -0
- package/dist/utils/webComponent/webComponentStyleUtils.d.ts +6 -0
- package/dist/utils/webComponent/webComponentStyleUtils.d.ts.map +1 -0
- package/dist/views/chat/chatView.d.ts +7 -0
- package/dist/views/chat/chatView.d.ts.map +1 -0
- package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts +9 -0
- package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/buttonCSS.d.ts +9 -0
- package/dist/views/chat/input/buttons/buttonCSS.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/camera/cameraButton.d.ts +16 -0
- package/dist/views/chat/input/buttons/camera/cameraButton.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts +10 -0
- package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/inputButton.d.ts +25 -0
- package/dist/views/chat/input/buttons/inputButton.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts +24 -0
- package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts +18 -0
- package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/microphone/speechToText.d.ts +15 -0
- package/dist/views/chat/input/buttons/microphone/speechToText.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts +27 -0
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts +13 -0
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/submit/submitButton.d.ts +35 -0
- package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts +5 -0
- package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts.map +1 -0
- package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts +23 -0
- package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts.map +1 -0
- package/dist/views/chat/input/dropup/dropup.d.ts +22 -0
- package/dist/views/chat/input/dropup/dropup.d.ts.map +1 -0
- package/dist/views/chat/input/dropup/dropupItem.d.ts +11 -0
- package/dist/views/chat/input/dropup/dropupItem.d.ts.map +1 -0
- package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts +5 -0
- package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts.map +1 -0
- package/dist/views/chat/input/dropup/dropupMenu.d.ts +16 -0
- package/dist/views/chat/input/dropup/dropupMenu.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts +12 -0
- package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +21 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts +7 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +31 -0
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts +23 -0
- package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts +28 -0
- package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/modal/modal.d.ts +27 -0
- package/dist/views/chat/input/fileAttachments/modal/modal.d.ts.map +1 -0
- package/dist/views/chat/input/fileAttachments/newFileName.d.ts +4 -0
- package/dist/views/chat/input/fileAttachments/newFileName.d.ts.map +1 -0
- package/dist/views/chat/input/input.d.ts +12 -0
- package/dist/views/chat/input/input.d.ts.map +1 -0
- package/dist/views/chat/input/textInput/focusUtils.d.ts +5 -0
- package/dist/views/chat/input/textInput/focusUtils.d.ts.map +1 -0
- package/dist/views/chat/input/textInput/inputLimit.d.ts +8 -0
- package/dist/views/chat/input/textInput/inputLimit.d.ts.map +1 -0
- package/dist/views/chat/input/textInput/pasteUtils.d.ts +4 -0
- package/dist/views/chat/input/textInput/pasteUtils.d.ts.map +1 -0
- package/dist/views/chat/input/textInput/textInput.d.ts +22 -0
- package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -0
- package/dist/views/chat/introPanel/introPanel.d.ts +11 -0
- package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -0
- package/dist/views/chat/messages/avatar.d.ts +9 -0
- package/dist/views/chat/messages/avatar.d.ts.map +1 -0
- package/dist/views/chat/messages/fileMessageUtils.d.ts +12 -0
- package/dist/views/chat/messages/fileMessageUtils.d.ts.map +1 -0
- package/dist/views/chat/messages/fileMessages.d.ts +11 -0
- package/dist/views/chat/messages/fileMessages.d.ts.map +1 -0
- package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts +6 -0
- package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts.map +1 -0
- package/dist/views/chat/messages/messageStyleUtils.d.ts +11 -0
- package/dist/views/chat/messages/messageStyleUtils.d.ts.map +1 -0
- package/dist/views/chat/messages/messages.d.ts +62 -0
- package/dist/views/chat/messages/messages.d.ts.map +1 -0
- package/dist/views/chat/messages/name.d.ts +9 -0
- package/dist/views/chat/messages/name.d.ts.map +1 -0
- package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts +11 -0
- package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts.map +1 -0
- package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts +14 -0
- package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts.map +1 -0
- package/dist/views/error/errorView.d.ts +4 -0
- package/dist/views/error/errorView.d.ts.map +1 -0
- package/dist/views/insertKey/insertKeyView.d.ts +18 -0
- package/dist/views/insertKey/insertKeyView.d.ts.map +1 -0
- package/dist/views/insertKey/visibilityIcon.d.ts +7 -0
- package/dist/views/insertKey/visibilityIcon.d.ts.map +1 -0
- package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts +7 -0
- package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts.map +1 -0
- package/package.json +70 -0
package/README.md
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
<br />
|
2
|
+
|
3
|
+

|
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
|
+

|
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
|
+

|
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
|
+

|
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
|