deep-chat-dev 9.0.162 → 9.0.164

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 (158) hide show
  1. package/custom-elements.json +9119 -9092
  2. package/dist/deepChat.bundle.js +1 -1
  3. package/dist/deepChat.d.ts +24 -23
  4. package/dist/deepChat.js +1514 -1472
  5. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +6 -5
  6. package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts +1 -0
  7. package/dist/services/azure/azureLanguageIO.d.ts +5 -4
  8. package/dist/services/azure/azureSpeechIO.d.ts +5 -4
  9. package/dist/services/azure/azureSpeechToTextIO.d.ts +6 -5
  10. package/dist/services/azure/azureSummarizationIO.d.ts +7 -6
  11. package/dist/services/azure/azureTextToSpeechIO.d.ts +7 -6
  12. package/dist/services/azure/azureTranslationIO.d.ts +6 -5
  13. package/dist/services/azure/utils/azureUtils.d.ts +2 -1
  14. package/dist/services/cohere/cohereChatIO.d.ts +6 -5
  15. package/dist/services/cohere/cohereIO.d.ts +3 -2
  16. package/dist/services/cohere/cohereSummarizationIO.d.ts +7 -6
  17. package/dist/services/cohere/cohereTextGenerationIO.d.ts +7 -6
  18. package/dist/services/cohere/utils/cohereUtils.d.ts +1 -0
  19. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts +4 -3
  20. package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts +4 -3
  21. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +6 -5
  22. package/dist/services/huggingFace/huggingFaceFileIO.d.ts +7 -6
  23. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +4 -3
  24. package/dist/services/huggingFace/huggingFaceIO.d.ts +7 -6
  25. package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts +4 -3
  26. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts +6 -5
  27. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts +4 -3
  28. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts +4 -3
  29. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts +4 -3
  30. package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts +1 -0
  31. package/dist/services/mistral/mistralO.d.ts +6 -5
  32. package/dist/services/mistral/utils/mistralUtils.d.ts +1 -0
  33. package/dist/services/openAI/openAIAssistantIO.d.ts +7 -6
  34. package/dist/services/openAI/openAIAssistantIO.d.ts.map +1 -1
  35. package/dist/services/openAI/openAIChatIO.d.ts +8 -7
  36. package/dist/services/openAI/openAIImagesIO.d.ts +6 -5
  37. package/dist/services/openAI/openAISpeechToTextIO.d.ts +6 -5
  38. package/dist/services/openAI/openAITextToSpeechIO.d.ts +6 -5
  39. package/dist/services/openAI/utils/openAIAssistantUtils.d.ts +6 -5
  40. package/dist/services/openAI/utils/openAIAssistantUtils.d.ts.map +1 -1
  41. package/dist/services/openAI/utils/openAIUtils.d.ts +2 -1
  42. package/dist/services/serviceIO.d.ts +12 -11
  43. package/dist/services/serviceIOFactory.d.ts +2 -1
  44. package/dist/services/stabilityAI/stabilityAIIO.d.ts +6 -5
  45. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +6 -5
  46. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +6 -5
  47. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +6 -5
  48. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +6 -5
  49. package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts +1 -0
  50. package/dist/services/utils/baseServiceIO.d.ts +10 -9
  51. package/dist/services/utils/directServiceIO.d.ts +6 -5
  52. package/dist/services/utils/messageLimitUtils.d.ts +1 -0
  53. package/dist/services/utils/setFileTypes.d.ts +2 -1
  54. package/dist/types/avatars.d.ts +1 -0
  55. package/dist/types/azureResult.d.ts +1 -0
  56. package/dist/types/button.d.ts +1 -0
  57. package/dist/types/buttonInternal.d.ts +2 -1
  58. package/dist/types/buttonTypes.d.ts +1 -0
  59. package/dist/types/cohere.d.ts +1 -0
  60. package/dist/types/cohereResult.d.ts +1 -0
  61. package/dist/types/connect.d.ts +3 -2
  62. package/dist/types/demo.d.ts +3 -2
  63. package/dist/types/directConnection.d.ts +8 -7
  64. package/dist/types/dropupStyles.d.ts +2 -1
  65. package/dist/types/fileAttachments.d.ts +1 -0
  66. package/dist/types/fileServiceConfigs.d.ts +6 -5
  67. package/dist/types/genericInputButton.d.ts +1 -0
  68. package/dist/types/handler.d.ts +1 -0
  69. package/dist/types/headers.d.ts +1 -0
  70. package/dist/types/html.d.ts +1 -0
  71. package/dist/types/huggingFaceResult.d.ts +1 -0
  72. package/dist/types/interceptors.d.ts +2 -1
  73. package/dist/types/keyVerificationDetails.d.ts +1 -0
  74. package/dist/types/messages.d.ts +3 -2
  75. package/dist/types/messagesInternal.d.ts +3 -2
  76. package/dist/types/microphone.d.ts +2 -1
  77. package/dist/types/names.d.ts +1 -0
  78. package/dist/types/openAI.d.ts +1 -0
  79. package/dist/types/openAIInternal.d.ts +2 -1
  80. package/dist/types/openAIResult.d.ts +2 -0
  81. package/dist/types/openAIResult.d.ts.map +1 -1
  82. package/dist/types/response.d.ts +1 -0
  83. package/dist/types/responseInternal.d.ts +1 -0
  84. package/dist/types/submitButton.d.ts +1 -0
  85. package/dist/types/textInput.d.ts +1 -0
  86. package/dist/types/validationHandler.d.ts +1 -0
  87. package/dist/types/webModel/webLLM/webLLMChatModule.d.ts +1 -0
  88. package/dist/types/webModel/webLLM/webLLMClient.d.ts +1 -0
  89. package/dist/utils/HTTP/HTTPRequest.d.ts +2 -1
  90. package/dist/utils/HTTP/customHandler.d.ts +3 -2
  91. package/dist/utils/HTTP/requestUtils.d.ts +7 -6
  92. package/dist/utils/HTTP/stream.d.ts +5 -4
  93. package/dist/utils/HTTP/websocket.d.ts +4 -3
  94. package/dist/utils/buttons/inputButtons.d.ts +1 -0
  95. package/dist/utils/decorators/property.d.ts +1 -0
  96. package/dist/utils/decorators/renderControl.d.ts +1 -0
  97. package/dist/utils/decorators/typeConverters.d.ts +1 -0
  98. package/dist/utils/demo/demo.d.ts +2 -1
  99. package/dist/utils/element/statefulEvents.d.ts +1 -0
  100. package/dist/utils/element/styleUtils.d.ts +1 -0
  101. package/dist/utils/events/fireEvents.d.ts +2 -1
  102. package/dist/utils/files/fileTypeButtonIcons.d.ts +1 -0
  103. package/dist/utils/legacy/legacy.d.ts +4 -3
  104. package/dist/utils/webComponent/internalHTML.d.ts +2 -1
  105. package/dist/utils/webComponent/webComponentStyleUtils.d.ts +1 -0
  106. package/dist/views/chat/chatView.d.ts +2 -1
  107. package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts +1 -0
  108. package/dist/views/chat/input/buttons/buttonCSS.d.ts +2 -1
  109. package/dist/views/chat/input/buttons/camera/cameraButton.d.ts +5 -4
  110. package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts +1 -0
  111. package/dist/views/chat/input/buttons/inputButton.d.ts +2 -2
  112. package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts +4 -3
  113. package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts +3 -2
  114. package/dist/views/chat/input/buttons/microphone/speechToText/silenceSubmit.d.ts +2 -1
  115. package/dist/views/chat/input/buttons/microphone/speechToText/speechToText.d.ts +6 -5
  116. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts +6 -5
  117. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts +2 -1
  118. package/dist/views/chat/input/buttons/submit/submitButton.d.ts +10 -9
  119. package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -1
  120. package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts +2 -1
  121. package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts +5 -4
  122. package/dist/views/chat/input/dropup/dropup.d.ts +6 -5
  123. package/dist/views/chat/input/dropup/dropupItem.d.ts +3 -2
  124. package/dist/views/chat/input/dropup/dropupMenu.d.ts +2 -1
  125. package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts +2 -1
  126. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +3 -2
  127. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts +4 -3
  128. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +3 -2
  129. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts +7 -6
  130. package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts +4 -3
  131. package/dist/views/chat/input/fileAttachments/modal/modal.d.ts +2 -1
  132. package/dist/views/chat/input/input.d.ts +6 -5
  133. package/dist/views/chat/input/textInput/textInput.d.ts +3 -2
  134. package/dist/views/chat/input/textInput/textInputEvents.d.ts +2 -1
  135. package/dist/views/chat/input/validation/validationHandler.d.ts +5 -4
  136. package/dist/views/chat/introPanel/introPanel.d.ts +1 -0
  137. package/dist/views/chat/messages/avatar.d.ts +1 -0
  138. package/dist/views/chat/messages/fileMessageUtils.d.ts +4 -3
  139. package/dist/views/chat/messages/fileMessages.d.ts +2 -1
  140. package/dist/views/chat/messages/html/htmlDeepChatElements.d.ts +3 -2
  141. package/dist/views/chat/messages/html/htmlMessages.d.ts +3 -2
  142. package/dist/views/chat/messages/html/htmlUtils.d.ts +2 -1
  143. package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts +1 -0
  144. package/dist/views/chat/messages/messageStyleUtils.d.ts +3 -2
  145. package/dist/views/chat/messages/messageUtils.d.ts +5 -4
  146. package/dist/views/chat/messages/messages.d.ts +7 -6
  147. package/dist/views/chat/messages/messagesBase.d.ts +10 -9
  148. package/dist/views/chat/messages/name.d.ts +1 -0
  149. package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts +2 -2
  150. package/dist/views/chat/messages/setupMessages.d.ts +2 -1
  151. package/dist/views/chat/messages/stream/messageStream.d.ts +9 -1
  152. package/dist/views/chat/messages/stream/messageStream.d.ts.map +1 -1
  153. package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts +1 -0
  154. package/dist/views/insertKey/insertKeyView.d.ts +1 -0
  155. package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts +1 -0
  156. package/dist/webModel/webModel.d.ts +5 -4
  157. package/dist/webModel/webModelIntroMessage.d.ts +1 -0
  158. package/package.json +1 -1
@@ -1,9 +1,10 @@
1
- import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
2
- import { MessageContentI } from '../../types/messagesInternal';
3
- import { Messages } from '../../views/chat/messages/messages';
4
- import { StabilityAIIO } from './stabilityAIIO';
5
- import { Response } from '../../types/response';
6
1
  import { DeepChat } from '../../deepChat';
2
+ import { Response } from '../../types/response';
3
+ import { StabilityAIIO } from './stabilityAIIO';
4
+ import { Messages } from '../../views/chat/messages/messages';
5
+ import { MessageContentI } from '../../types/messagesInternal';
6
+ import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
7
+
7
8
  export declare class StabilityAIImageToImageMaskingIO extends StabilityAIIO {
8
9
  url: string;
9
10
  private readonly _imageWeight;
@@ -1,9 +1,10 @@
1
- import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
2
- import { MessageContentI } from '../../types/messagesInternal';
3
- import { Messages } from '../../views/chat/messages/messages';
4
- import { StabilityAIIO } from './stabilityAIIO';
5
- import { Response } from '../../types/response';
6
1
  import { DeepChat } from '../../deepChat';
2
+ import { Response } from '../../types/response';
3
+ import { StabilityAIIO } from './stabilityAIIO';
4
+ import { Messages } from '../../views/chat/messages/messages';
5
+ import { MessageContentI } from '../../types/messagesInternal';
6
+ import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
7
+
7
8
  export declare class StabilityAIImageToImageUpscaleIO extends StabilityAIIO {
8
9
  url: string;
9
10
  textInputPlaceholderText: string;
@@ -1,9 +1,10 @@
1
- import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
2
- import { MessageContentI } from '../../types/messagesInternal';
3
- import { Messages } from '../../views/chat/messages/messages';
4
- import { StabilityAIIO } from './stabilityAIIO';
5
- import { Response } from '../../types/response';
6
1
  import { DeepChat } from '../../deepChat';
2
+ import { Response } from '../../types/response';
3
+ import { StabilityAIIO } from './stabilityAIIO';
4
+ import { Messages } from '../../views/chat/messages/messages';
5
+ import { MessageContentI } from '../../types/messagesInternal';
6
+ import { StabilityAITextToImageResult } from '../../types/stabilityAIResult';
7
+
7
8
  export declare class StabilityAITextToImageIO extends StabilityAIIO {
8
9
  url: string;
9
10
  private readonly _imageWeight;
@@ -1,4 +1,5 @@
1
1
  import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
2
+
2
3
  export declare class StabilityAIUtils {
3
4
  static buildHeaders(key: string): {
4
5
  Authorization: string;
@@ -1,13 +1,14 @@
1
- import { CameraFilesServiceConfig, MicrophoneFilesServiceConfig } from '../../types/fileServiceConfigs';
2
- import { MessageContentI } from '../../types/messagesInternal';
3
- import { Messages } from '../../views/chat/messages/messages';
4
- import { ValidateInput } from '../../types/validateInput';
5
- import { Stream as StreamI } from '../../types/stream';
6
- import { Demo as DemoT } from '../../types/demo';
7
- import { Response } from '../../types/response';
8
- import { Connect } from '../../types/connect';
9
- import { DeepChat } from '../../deepChat';
10
1
  import { KeyVerificationHandlers, CompletionsHandlers, ServiceFileTypes, RequestContents, StreamHandlers, ServiceIO } from '../serviceIO';
2
+ import { DeepChat } from '../../deepChat';
3
+ import { Connect } from '../../types/connect';
4
+ import { Response } from '../../types/response';
5
+ import { Demo as DemoT } from '../../types/demo';
6
+ import { Stream as StreamI } from '../../types/stream';
7
+ import { ValidateInput } from '../../types/validateInput';
8
+ import { Messages } from '../../views/chat/messages/messages';
9
+ import { MessageContentI } from '../../types/messagesInternal';
10
+ import { CameraFilesServiceConfig, MicrophoneFilesServiceConfig } from '../../types/fileServiceConfigs';
11
+
11
12
  export declare class BaseServiceIO implements ServiceIO {
12
13
  readonly rawBody: any;
13
14
  deepChat: DeepChat;
@@ -1,9 +1,10 @@
1
- import { KeyVerificationDetails } from '../../types/keyVerificationDetails';
2
- import { KeyVerificationHandlers, ServiceFileTypes } from '../serviceIO';
3
- import { BuildHeadersFunc } from '../../types/headers';
4
- import { BaseServiceIO } from './baseServiceIO';
5
- import { APIKey } from '../../types/APIKey';
6
1
  import { DeepChat } from '../../deepChat';
2
+ import { APIKey } from '../../types/APIKey';
3
+ import { BaseServiceIO } from './baseServiceIO';
4
+ import { BuildHeadersFunc } from '../../types/headers';
5
+ import { KeyVerificationHandlers, ServiceFileTypes } from '../serviceIO';
6
+ import { KeyVerificationDetails } from '../../types/keyVerificationDetails';
7
+
7
8
  export declare class DirectServiceIO extends BaseServiceIO {
8
9
  key?: string;
9
10
  insertKeyPlaceholderText: string;
@@ -1,4 +1,5 @@
1
1
  import { MessageContentI } from '../../types/messagesInternal';
2
+
2
3
  export declare class MessageLimitUtils {
3
4
  static getCharacterLimitMessages(messages: MessageContentI[], limit: number): MessageContentI[];
4
5
  private static getMaxMessages;
@@ -1,5 +1,6 @@
1
- import { ServiceFileTypes, ServiceIO } from '../serviceIO';
2
1
  import { DeepChat } from '../../deepChat';
2
+ import { ServiceFileTypes, ServiceIO } from '../serviceIO';
3
+
3
4
  export declare class SetFileTypes {
4
5
  private static parseConfig;
5
6
  private static processMixedFiles;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle } from './styles';
2
+
2
3
  export interface AvatarStyles {
3
4
  container?: CustomStyle;
4
5
  avatar?: CustomStyle;
@@ -1,4 +1,5 @@
1
1
  import { InterfacesUnion } from './utilityTypes';
2
+
2
3
  export type AzureTextToSpeechResult = Blob;
3
4
  export type AzureSpeechToTextResult = InterfacesUnion<{
4
5
  DisplayText: string;
@@ -1,4 +1,5 @@
1
1
  import { StatefulStyles } from './styles';
2
+
2
3
  interface ButtonInnerStyles {
3
4
  styles?: StatefulStyles;
4
5
  content?: string;
@@ -1,5 +1,6 @@
1
- import { OverrideTypes } from './utilityTypes';
2
1
  import { ButtonStyles } from './button';
2
+ import { OverrideTypes } from './utilityTypes';
3
+
3
4
  export type ButtonInnerElement = HTMLElement | SVGGraphicsElement;
4
5
  export type ButtonInnerElements<T> = {
5
6
  [P in keyof T]?: ButtonInnerElement;
@@ -1,3 +1,4 @@
1
1
  import { FILE_TYPES } from './fileTypes';
2
+
2
3
  export type BUTTON_TYPES = FILE_TYPES | 'camera' | 'microphone' | 'submit';
3
4
  //# sourceMappingURL=buttonTypes.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { GenericObject } from './object';
2
+
2
3
  export interface CohereSummarizationConfig {
3
4
  model?: string;
4
5
  length?: 'auto' | 'short' | 'medium' | 'long';
@@ -1,4 +1,5 @@
1
1
  import { InterfacesUnion } from './utilityTypes';
2
+
2
3
  type ErrorMessage = {
3
4
  message?: string;
4
5
  };
@@ -1,6 +1,7 @@
1
- import { GenericObject } from './object';
2
- import { Handler } from './handler';
3
1
  import { Stream } from './stream';
2
+ import { Handler } from './handler';
3
+ import { GenericObject } from './object';
4
+
4
5
  export interface Connect {
5
6
  url?: string;
6
7
  method?: string;
@@ -1,6 +1,7 @@
1
- import { ErrorMessageOverrides } from './error';
2
- import { MessageContent } from './messages';
3
1
  import { Response } from './response';
2
+ import { MessageContent } from './messages';
3
+ import { ErrorMessageOverrides } from './error';
4
+
4
5
  export type DemoErrors = {
5
6
  [key in keyof ErrorMessageOverrides]?: boolean;
6
7
  };
@@ -1,11 +1,12 @@
1
- import { HuggingFace } from './huggingFace';
2
- import { StabilityAI } from './stabilityAI';
3
- import { AssemblyAI } from './assemblyAI';
4
- import { Mistral } from './mistral';
5
- import { APIKey } from './APIKey';
6
- import { Cohere } from './cohere';
7
- import { OpenAI } from './openAI';
8
1
  import { Azure } from './azure';
2
+ import { OpenAI } from './openAI';
3
+ import { Cohere } from './cohere';
4
+ import { APIKey } from './APIKey';
5
+ import { Mistral } from './mistral';
6
+ import { AssemblyAI } from './assemblyAI';
7
+ import { StabilityAI } from './stabilityAI';
8
+ import { HuggingFace } from './huggingFace';
9
+
9
10
  export interface DirectConnection {
10
11
  openAI?: OpenAI & APIKey;
11
12
  huggingFace?: HuggingFace & APIKey;
@@ -1,5 +1,6 @@
1
- import { CustomStyle, StatefulStyles } from './styles';
2
1
  import { Button } from './button';
2
+ import { CustomStyle, StatefulStyles } from './styles';
3
+
3
4
  export interface DropupMenuStyles {
4
5
  container?: CustomStyle;
5
6
  item?: StatefulStyles;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle } from './styles';
2
+
2
3
  export interface InfoModal {
3
4
  textMarkDown: string;
4
5
  openModalOnce?: boolean;
@@ -1,9 +1,10 @@
1
- import { AudioRecordingFiles, MicrophoneStyles } from './microphone';
2
- import { FileAttachments } from './fileAttachments';
3
- import { CameraFiles } from './camera';
4
- import { CustomStyle } from './styles';
5
- import { Connect } from './connect';
6
1
  import { Button } from './button';
2
+ import { Connect } from './connect';
3
+ import { CustomStyle } from './styles';
4
+ import { CameraFiles } from './camera';
5
+ import { FileAttachments } from './fileAttachments';
6
+ import { AudioRecordingFiles, MicrophoneStyles } from './microphone';
7
+
7
8
  export type FilesServiceConfig = {
8
9
  connect?: Connect;
9
10
  files?: FileAttachments;
@@ -1,4 +1,5 @@
1
1
  import { ButtonStyles } from './button';
2
+
2
3
  export interface GenericInputButtonStyles {
3
4
  styles?: ButtonStyles;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { Response } from './response';
2
+
2
3
  export interface Signals {
3
4
  onResponse: (response: Response) => void;
4
5
  onOpen: () => void;
@@ -1,3 +1,4 @@
1
1
  import { GenericObject } from './object';
2
+
2
3
  export type BuildHeadersFunc = (key: string) => GenericObject<string>;
3
4
  //# sourceMappingURL=headers.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { StatefulStyles } from './styles';
2
+
2
3
  export type EventToFunction = {
3
4
  [K in keyof GlobalEventHandlersEventMap]?: (event: GlobalEventHandlersEventMap[K]) => void;
4
5
  } & {
@@ -1,4 +1,5 @@
1
1
  import { InterfacesUnion } from './utilityTypes';
2
+
2
3
  export interface HuggingFaceError {
3
4
  error: string | string[];
4
5
  estimated_time?: number;
@@ -1,5 +1,6 @@
1
- import { GenericObject } from './object';
2
1
  import { Response } from './response';
2
+ import { GenericObject } from './object';
3
+
3
4
  export interface RequestDetails {
4
5
  body: any;
5
6
  headers?: GenericObject<string>;
@@ -1,4 +1,5 @@
1
1
  import { GenericObject } from './object';
2
+
2
3
  export interface KeyVerificationDetails {
3
4
  url: string;
4
5
  method: string;
@@ -1,6 +1,7 @@
1
- import { InterfacesUnion } from './utilityTypes';
2
- import { MessageFile } from './messageFile';
3
1
  import { CustomStyle } from './styles';
2
+ import { MessageFile } from './messageFile';
3
+ import { InterfacesUnion } from './utilityTypes';
4
+
4
5
  export interface MessageElementsStyles {
5
6
  outerContainer?: CustomStyle;
6
7
  innerContainer?: CustomStyle;
@@ -1,6 +1,7 @@
1
- import { MessageFileType } from './messageFile';
2
- import { PropsRequired } from './utilityTypes';
3
1
  import { MessageContent } from './messages';
2
+ import { PropsRequired } from './utilityTypes';
3
+ import { MessageFileType } from './messageFile';
4
+
4
5
  export type MessageContentI = PropsRequired<MessageContent, 'role'>;
5
6
  export type UserContentI = {
6
7
  text?: string;
@@ -1,5 +1,6 @@
1
- import { AzureOptions, Commands, TextColor, Translations, WebSpeechOptions } from 'speech-to-element/dist/types/options';
2
1
  import { ButtonStyles, ButtonPosition } from './button';
2
+ import { AzureOptions, Commands, TextColor, Translations, WebSpeechOptions } from 'speech-to-element/dist/types/options';
3
+
3
4
  export interface MicrophoneStyles {
4
5
  default?: ButtonStyles;
5
6
  active?: ButtonStyles;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle } from './styles';
2
+
2
3
  export interface Name {
3
4
  text?: string;
4
5
  style?: CustomStyle;
@@ -1,4 +1,5 @@
1
1
  import { InterfacesUnion } from './utilityTypes';
2
+
2
3
  export type OpenAITextToSpeech = {
3
4
  model?: string;
4
5
  voice?: string;
@@ -1,5 +1,6 @@
1
- import { OpenAIMessage } from './openAIResult';
2
1
  import { OpenAIChat } from './openAI';
2
+ import { OpenAIMessage } from './openAIResult';
3
+
3
4
  export interface SystemMessageInternal {
4
5
  role: 'system';
5
6
  content: string;
@@ -1,4 +1,5 @@
1
1
  import { InterfacesUnion } from './utilityTypes';
2
+
2
3
  export type OpenAIAssistantInitReqResult = OpenAIRunResult & {
3
4
  id: string;
4
5
  error?: {
@@ -12,6 +13,7 @@ export type OpenAIAssistantInitReqResult = OpenAIRunResult & {
12
13
  };
13
14
  };
14
15
  file_ids?: string[];
16
+ content?: OpenAIAssistantContent[];
15
17
  };
16
18
  export interface OpenAINewAssistantResult {
17
19
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"openAIResult.d.ts","sourceRoot":"","sources":["../../src/types/openAIResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAM/C,MAAM,MAAM,4BAA4B,GAAG,eAAe,GAAG;IAC3D,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC;IAExC,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;QACnC,YAAY,CAAC,EAAE;YACb,UAAU,CAAC,EAAE,SAAS,CAAC;SACxB,CAAC;KACH,CAAC;IAEF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC;IAC/B,IAAI,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,SAAS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MAAM,MAAM,wBAAwB,GAAG,IAAI,GAAG;IAAC,KAAK,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAA;CAAC,CAAC;AAKxF,MAAM,MAAM,YAAY,GAAG,eAAe,CACxC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAG;IAAC,OAAO,EAAE,aAAa,CAAA;CAAC,GAAG;IAAC,KAAK,EAAE,aAAa,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAC,CAC3F,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,EAAE;QAAC,YAAY,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9B,KAAK,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC;CACzC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,GAAG;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC,EAAE,CAAC;IAC5D,KAAK,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC;CACzC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC;CACzC"}
@@ -1,4 +1,5 @@
1
1
  import { MessageFiles } from './messageFile';
2
+
2
3
  export interface Response {
3
4
  text?: string;
4
5
  files?: MessageFiles;
@@ -1,4 +1,5 @@
1
1
  import { Response } from './response';
2
+
2
3
  export type ResponseI = Response & {
3
4
  sendUpdate?: boolean;
4
5
  ignoreText?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { ButtonStyles } from './button';
2
+
2
3
  export interface SubmitButtonStyles {
3
4
  submit?: ButtonStyles;
4
5
  loading?: ButtonStyles;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle } from './styles';
2
+
2
3
  export interface TextInputStyles {
3
4
  text?: CustomStyle;
4
5
  container?: CustomStyle;
@@ -1,3 +1,4 @@
1
1
  import { UserContentI } from './messagesInternal';
2
+
2
3
  export type ValidationHandler = (programmatic?: UserContentI) => Promise<boolean | null>;
3
4
  //# sourceMappingURL=validationHandler.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { AppConfig, ChatInterface, ChatOptions, GenerateProgressCallback, InitProgressCallback } from './webLLMShared';
2
+
2
3
  export declare class ChatModule implements ChatInterface {
3
4
  private readonly logger;
4
5
  private readonly pipeline?;
@@ -1,4 +1,5 @@
1
1
  import { GenerateProgressCallback, InitProgressCallback, InitProgressReport, ChatInterface, ChatOptions, AppConfig } from './webLLMShared';
2
+
2
3
  interface ReloadParams {
3
4
  localIdOrUrl: string;
4
5
  chatOpts?: ChatOptions;
@@ -1,5 +1,6 @@
1
- import { Messages } from '../../views/chat/messages/messages';
2
1
  import { ServiceIO } from '../../services/serviceIO';
2
+ import { Messages } from '../../views/chat/messages/messages';
3
+
3
4
  export type HandleVerificationResult = (result: object, key: string, onSuccess: (key: string) => void, onFail: (message: string) => void) => void;
4
5
  export declare class HTTPRequest {
5
6
  static request(io: ServiceIO, body: object, messages: Messages, stringifyBody?: boolean): Promise<void>;
@@ -1,6 +1,7 @@
1
- import { Messages } from '../../views/chat/messages/messages';
2
- import { RequestDetails } from '../../types/interceptors';
3
1
  import { ServiceIO } from '../../services/serviceIO';
2
+ import { RequestDetails } from '../../types/interceptors';
3
+ import { Messages } from '../../views/chat/messages/messages';
4
+
4
5
  export interface IWebsocketHandler {
5
6
  isOpen: boolean;
6
7
  newUserMessage: {
@@ -1,10 +1,11 @@
1
- import { Messages } from '../../views/chat/messages/messages';
2
- import { Response as ResponseI } from '../../types/response';
3
- import { RequestDetails } from '../../types/interceptors';
4
- import { ServiceIO } from '../../services/serviceIO';
5
- import { GenericObject } from '../../types/object';
6
- import { Connect } from '../../types/connect';
7
1
  import { DeepChat } from '../../deepChat';
2
+ import { Connect } from '../../types/connect';
3
+ import { GenericObject } from '../../types/object';
4
+ import { ServiceIO } from '../../services/serviceIO';
5
+ import { RequestDetails } from '../../types/interceptors';
6
+ import { Response as ResponseI } from '../../types/response';
7
+ import { Messages } from '../../views/chat/messages/messages';
8
+
8
9
  export type FetchFunc = (body: any) => Promise<Response>;
9
10
  export type InterceptorResult = RequestDetails & {
10
11
  error?: string;
@@ -1,8 +1,9 @@
1
- import { MessageStream } from '../../views/chat/messages/stream/messageStream';
2
- import { ServiceIO, StreamHandlers } from '../../services/serviceIO';
3
- import { Messages } from '../../views/chat/messages/messages';
4
- import { Response as ResponseI } from '../../types/response';
5
1
  import { Stream as StreamI } from '../../types/stream';
2
+ import { Response as ResponseI } from '../../types/response';
3
+ import { Messages } from '../../views/chat/messages/messages';
4
+ import { ServiceIO, StreamHandlers } from '../../services/serviceIO';
5
+ import { MessageStream } from '../../views/chat/messages/stream/messageStream';
6
+
6
7
  type UpsertFunc = (response?: ResponseI) => MessageStream | void;
7
8
  export declare class Stream {
8
9
  static request(io: ServiceIO, body: object, messages: Messages, stringifyBody?: boolean, canBeEmpty?: boolean): Promise<void | MessageStream>;
@@ -1,7 +1,8 @@
1
- import { MessageStream } from '../../views/chat/messages/stream/messageStream';
2
- import { Messages } from '../../views/chat/messages/messages';
3
- import { ServiceIO } from '../../services/serviceIO';
4
1
  import { Response } from '../../types/response';
2
+ import { ServiceIO } from '../../services/serviceIO';
3
+ import { Messages } from '../../views/chat/messages/messages';
4
+ import { MessageStream } from '../../views/chat/messages/stream/messageStream';
5
+
5
6
  export type RoleToStream = {
6
7
  [role: string]: MessageStream;
7
8
  };
@@ -1,3 +1,4 @@
1
1
  import { BUTTON_TYPES } from '../../types/buttonTypes';
2
+
2
3
  export declare const BUTTON_ORDER: readonly BUTTON_TYPES[];
3
4
  //# sourceMappingURL=inputButtons.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import { AvailableTypes } from '../../types/typeConverters';
2
+
2
3
  export declare function Property(type: AvailableTypes): (target: Object, propertyKey: string) => void;
3
4
  //# sourceMappingURL=property.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { InternalHTML } from '../webComponent/internalHTML';
2
+
2
3
  export declare class RenderControl {
3
4
  private static waitForPropertiesToBeUpdatedBeforeRender;
4
5
  static attemptRender(deepChat: InternalHTML): void;
@@ -1,4 +1,5 @@
1
1
  import { AttributeTypeConverters } from '../../types/typeConverters';
2
+
2
3
  export declare class TypeConverters {
3
4
  static readonly attibutes: AttributeTypeConverters;
4
5
  }
@@ -1,5 +1,6 @@
1
- import { ServiceIO, StreamHandlers } from '../../services/serviceIO';
2
1
  import { Messages } from '../../views/chat/messages/messages';
2
+ import { ServiceIO, StreamHandlers } from '../../services/serviceIO';
3
+
3
4
  export declare class Demo {
4
5
  static readonly URL = "deep-chat-demo";
5
6
  private static generateResponse;
@@ -1,4 +1,5 @@
1
1
  import { StatefulStyles } from '../../types/styles';
2
+
2
3
  export declare class StatefulEvents {
3
4
  private static mouseUp;
4
5
  private static mouseDown;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle, StatefulStyles } from '../../types/styles';
2
+
2
3
  export declare class StyleUtils {
3
4
  static unsetStyle(element: HTMLElement, style: CustomStyle): void;
4
5
  static unsetActivityCSSMouseStates(element: HTMLElement, statefulStyle: StatefulStyles): void;
@@ -1,5 +1,6 @@
1
- import { MessageContentI } from '../../types/messagesInternal';
2
1
  import { DeepChat } from '../../deepChat';
2
+ import { MessageContentI } from '../../types/messagesInternal';
3
+
3
4
  export declare class FireEvents {
4
5
  static onMessage(deepChat: DeepChat, message: MessageContentI, isHistory: boolean): void;
5
6
  static onClearMessages(deepChat: DeepChat): void;
@@ -1,4 +1,5 @@
1
1
  import { FILE_TYPES } from '../../types/fileTypes';
2
+
2
3
  type ServiceFileTypes = {
3
4
  [key in FILE_TYPES]: {
4
5
  id: string;
@@ -1,6 +1,7 @@
1
- import { MessageContent } from '../../types/messages';
2
- import { ValidateInput } from '../../types/validateInput';
3
1
  import { DeepChat } from '../../deepChat';
2
+ import { ValidateInput } from '../../types/validateInput';
3
+ import { MessageContent } from '../../types/messages';
4
+
4
5
  export declare class Legacy {
5
6
  static checkForContainerStyles(deepChat: DeepChat, containerRef: HTMLElement): void;
6
7
  static handleResponseProperty(result: any | Response): any;
@@ -12,7 +13,7 @@ export declare class Legacy {
12
13
  };
13
14
  static flagHTMLUpdateClass(bubbleElement: HTMLElement): void;
14
15
  static processConnect(deepChat: DeepChat): void;
15
- static checkForStream(deepChat: DeepChat): true | import("../../types/stream").StreamSimulation | undefined;
16
+ static checkForStream(deepChat: DeepChat): true | import('../../types/stream').StreamSimulation | undefined;
16
17
  static fireOnNewMessage(deepChat: DeepChat, updateBody: {
17
18
  message: MessageContent;
18
19
  isHistory: boolean;
@@ -1,5 +1,6 @@
1
- import { AttributeTypeConverter } from '../../types/typeConverters';
2
1
  import { GenericObject } from '../../types/object';
2
+ import { AttributeTypeConverter } from '../../types/typeConverters';
3
+
3
4
  export declare class InternalHTML extends HTMLElement {
4
5
  _waitingToRender_: boolean;
5
6
  _propUpdated_: boolean;
@@ -1,4 +1,5 @@
1
1
  import { CustomStyle } from '../../types/styles';
2
+
2
3
  export declare class WebComponentStyleUtils {
3
4
  private static readonly DEFAULT_COMPONENT_STYLE;
4
5
  static apply(style: string, shadowRoot: ShadowRoot | null): void;
@@ -1,5 +1,6 @@
1
- import { ServiceIO } from '../../services/serviceIO';
2
1
  import { DeepChat } from '../../deepChat';
2
+ import { ServiceIO } from '../../services/serviceIO';
3
+
3
4
  export declare class ChatView {
4
5
  private static createElements;
5
6
  static render(deepChat: DeepChat, containerRef: HTMLElement, serviceIO: ServiceIO, panel?: HTMLElement): void;
@@ -1,4 +1,5 @@
1
1
  import { ButtonPosition } from '../../../../types/button';
2
+
2
3
  export type ButtonContainersT = readonly [HTMLDivElement, HTMLDivElement, HTMLDivElement, HTMLDivElement];
3
4
  export declare class ButtonContainers {
4
5
  static create(): ButtonContainersT;
@@ -1,5 +1,6 @@
1
- import { StatefulStyles } from '../../../../types/styles';
2
1
  import { ButtonStyles } from '../../../../types/button';
2
+ import { StatefulStyles } from '../../../../types/styles';
3
+
3
4
  export declare class ButtonCSS {
4
5
  static unsetAllCSS(button: HTMLElement, styles: ButtonStyles): void;
5
6
  static unsetActionCSS(button: HTMLElement, styles: ButtonStyles): void;