deep-chat-dev 9.0.310 → 9.0.312
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 +1 -23
- package/custom-elements.json +13539 -7636
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.d.ts +0 -1
- package/dist/deepChat.d.ts.map +1 -1
- package/dist/deepChat.js +18015 -307
- package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +0 -1
- package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts.map +1 -1
- package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts +8 -11
- package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts.map +1 -1
- package/dist/services/azure/azureLanguageIO.d.ts.map +1 -1
- package/dist/services/azure/azureOpenAIAssistantIO.d.ts.map +1 -1
- package/dist/services/azure/azureOpenAIChatIO.d.ts.map +1 -1
- package/dist/services/azure/azureSpeechIO.d.ts +1 -0
- package/dist/services/azure/azureSpeechIO.d.ts.map +1 -1
- package/dist/services/azure/azureSpeechToTextIO.d.ts +0 -2
- package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -1
- package/dist/services/azure/azureSummarizationIO.d.ts +0 -1
- package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -1
- package/dist/services/azure/azureTextToSpeechIO.d.ts +0 -2
- package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -1
- package/dist/services/azure/azureTranslationIO.d.ts.map +1 -1
- package/dist/services/azure/utils/azureOpenAIUtils.d.ts +7 -9
- package/dist/services/azure/utils/azureOpenAIUtils.d.ts.map +1 -1
- package/dist/services/azure/utils/azureUtils.d.ts +18 -23
- package/dist/services/azure/utils/azureUtils.d.ts.map +1 -1
- package/dist/services/bigModel/bigModelChatIO.d.ts +0 -5
- package/dist/services/bigModel/bigModelChatIO.d.ts.map +1 -1
- package/dist/services/bigModel/bigModelImagesIO.d.ts.map +1 -1
- package/dist/services/bigModel/bigModelTextToSpeechIO.d.ts.map +1 -1
- package/dist/services/bigModel/utils/bigModelUtils.d.ts +5 -8
- package/dist/services/bigModel/utils/bigModelUtils.d.ts.map +1 -1
- package/dist/services/claude/claudeIO.d.ts +0 -5
- package/dist/services/claude/claudeIO.d.ts.map +1 -1
- package/dist/services/claude/utils/claudeUtils.d.ts +7 -10
- package/dist/services/claude/utils/claudeUtils.d.ts.map +1 -1
- package/dist/services/cohere/cohereIO.d.ts.map +1 -1
- package/dist/services/cohere/utils/cohereUtils.d.ts +6 -9
- package/dist/services/cohere/utils/cohereUtils.d.ts.map +1 -1
- package/dist/services/deepSeek/deepSeekIO.d.ts +0 -2
- package/dist/services/deepSeek/deepSeekIO.d.ts.map +1 -1
- package/dist/services/deepSeek/utils/deepSeekUtils.d.ts +5 -8
- package/dist/services/deepSeek/utils/deepSeekUtils.d.ts.map +1 -1
- package/dist/services/gemini/geminiIO.d.ts +0 -4
- package/dist/services/gemini/geminiIO.d.ts.map +1 -1
- package/dist/services/gemini/utils/geminiUtils.d.ts +4 -7
- package/dist/services/gemini/utils/geminiUtils.d.ts.map +1 -1
- package/dist/services/groq/groqChatIO.d.ts +0 -5
- package/dist/services/groq/groqChatIO.d.ts.map +1 -1
- package/dist/services/groq/groqTextToSpeechIO.d.ts +0 -1
- package/dist/services/groq/groqTextToSpeechIO.d.ts.map +1 -1
- package/dist/services/groq/utils/groqUtils.d.ts +5 -8
- package/dist/services/groq/utils/groqUtils.d.ts.map +1 -1
- package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +1 -1
- package/dist/services/huggingFace/huggingFaceConversationIO.d.ts.map +1 -1
- package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +0 -1
- package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts.map +1 -1
- package/dist/services/huggingFace/huggingFaceIO.d.ts +0 -1
- package/dist/services/huggingFace/huggingFaceIO.d.ts.map +1 -1
- package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts.map +1 -1
- package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts +5 -8
- package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts.map +1 -1
- package/dist/services/kimi/kimiIO.d.ts +0 -5
- package/dist/services/kimi/kimiIO.d.ts.map +1 -1
- package/dist/services/kimi/utils/kimiUtils.d.ts +5 -8
- package/dist/services/kimi/utils/kimiUtils.d.ts.map +1 -1
- package/dist/services/miniMax/miniMaxIO.d.ts +0 -2
- package/dist/services/miniMax/miniMaxIO.d.ts.map +1 -1
- package/dist/services/miniMax/utils/miniMaxUtils.d.ts +5 -8
- package/dist/services/miniMax/utils/miniMaxUtils.d.ts.map +1 -1
- package/dist/services/mistral/mistralIO.d.ts +0 -5
- package/dist/services/mistral/mistralIO.d.ts.map +1 -1
- package/dist/services/mistral/utils/mistralUtils.d.ts +6 -9
- package/dist/services/mistral/utils/mistralUtils.d.ts.map +1 -1
- package/dist/services/ollama/ollamaIO.d.ts +0 -6
- package/dist/services/ollama/ollamaIO.d.ts.map +1 -1
- package/dist/services/ollama/utils/ollamaUtils.d.ts +2 -4
- package/dist/services/ollama/utils/ollamaUtils.d.ts.map +1 -1
- package/dist/services/openAI/assistant/openAIAssistantIO.d.ts.map +1 -1
- package/dist/services/openAI/assistant/openAIAssistantIOI.d.ts +1 -2
- package/dist/services/openAI/assistant/openAIAssistantIOI.d.ts.map +1 -1
- package/dist/services/openAI/assistant/utils/openAIAssistantUtils.d.ts.map +1 -1
- package/dist/services/openAI/openAIChatIO.d.ts +1 -5
- package/dist/services/openAI/openAIChatIO.d.ts.map +1 -1
- package/dist/services/openAI/openAIImagesIO.d.ts +0 -1
- package/dist/services/openAI/openAIImagesIO.d.ts.map +1 -1
- package/dist/services/openAI/openAISpeechToTextIO.d.ts +0 -1
- package/dist/services/openAI/openAISpeechToTextIO.d.ts.map +1 -1
- package/dist/services/openAI/openAITextToSpeechIO.d.ts +0 -1
- package/dist/services/openAI/openAITextToSpeechIO.d.ts.map +1 -1
- package/dist/services/openAI/realtime/openAIRealtimeButton.d.ts.map +1 -1
- package/dist/services/openAI/realtime/openAIRealtimeIO.d.ts +1 -1
- package/dist/services/openAI/realtime/openAIRealtimeIO.d.ts.map +1 -1
- package/dist/services/openAI/utils/openAIUtils.d.ts +9 -11
- package/dist/services/openAI/utils/openAIUtils.d.ts.map +1 -1
- package/dist/services/openRouter/openRouterIO.d.ts +0 -5
- package/dist/services/openRouter/openRouterIO.d.ts.map +1 -1
- package/dist/services/openRouter/utils/openRouterUtils.d.ts +5 -8
- package/dist/services/openRouter/utils/openRouterUtils.d.ts.map +1 -1
- package/dist/services/perplexity/perplexityIO.d.ts +0 -2
- package/dist/services/perplexity/perplexityIO.d.ts.map +1 -1
- package/dist/services/perplexity/utils/perplexityUtils.d.ts +5 -8
- package/dist/services/perplexity/utils/perplexityUtils.d.ts.map +1 -1
- package/dist/services/qwen/qwenIO.d.ts +0 -5
- package/dist/services/qwen/qwenIO.d.ts.map +1 -1
- package/dist/services/qwen/utils/qwenUtils.d.ts +5 -8
- package/dist/services/qwen/utils/qwenUtils.d.ts.map +1 -1
- package/dist/services/serviceIO.d.ts +1 -1
- package/dist/services/serviceIO.d.ts.map +1 -1
- package/dist/services/serviceIOFactory.d.ts.map +1 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +0 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts.map +1 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +0 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts.map +1 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +0 -1
- package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts.map +1 -1
- package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +0 -1
- package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts.map +1 -1
- package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts +5 -8
- package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts.map +1 -1
- package/dist/services/together/togetherChatIO.d.ts +0 -2
- package/dist/services/together/togetherChatIO.d.ts.map +1 -1
- package/dist/services/together/togetherImagesIO.d.ts +0 -1
- package/dist/services/together/togetherImagesIO.d.ts.map +1 -1
- package/dist/services/together/togetherTextToSpeechIO.d.ts +0 -1
- package/dist/services/together/togetherTextToSpeechIO.d.ts.map +1 -1
- package/dist/services/together/utils/togetherUtils.d.ts +5 -8
- package/dist/services/together/utils/togetherUtils.d.ts.map +1 -1
- package/dist/services/utils/baseServiceIO.d.ts.map +1 -1
- package/dist/services/utils/directServiceIO.d.ts +17 -1
- package/dist/services/utils/directServiceIO.d.ts.map +1 -1
- package/dist/services/utils/directServiceUtils.d.ts +3 -0
- package/dist/services/utils/directServiceUtils.d.ts.map +1 -0
- package/dist/services/utils/messageLimitUtils.d.ts.map +1 -1
- package/dist/services/utils/serviceConstants.d.ts +0 -1
- package/dist/services/utils/serviceConstants.d.ts.map +1 -1
- package/dist/services/utils/setFileTypes.d.ts.map +1 -1
- package/dist/services/utils/speechConstants.d.ts +3 -0
- package/dist/services/utils/speechConstants.d.ts.map +1 -0
- package/dist/services/x/utils/xUtils.d.ts +5 -8
- package/dist/services/x/utils/xUtils.d.ts.map +1 -1
- package/dist/services/x/xChatIO.d.ts +0 -2
- package/dist/services/x/xChatIO.d.ts.map +1 -1
- package/dist/services/x/xImagesIO.d.ts +0 -1
- package/dist/services/x/xImagesIO.d.ts.map +1 -1
- package/dist/types/button.d.ts +1 -1
- package/dist/types/button.d.ts.map +1 -1
- package/dist/types/ollama.d.ts +1 -1
- package/dist/types/ollama.d.ts.map +1 -1
- package/dist/types/responseInternal.d.ts +0 -1
- package/dist/types/responseInternal.d.ts.map +1 -1
- package/dist/types/submitButton.d.ts +1 -1
- package/dist/types/submitButton.d.ts.map +1 -1
- package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -1
- package/dist/utils/HTTP/customHandler.d.ts.map +1 -1
- package/dist/utils/HTTP/requestUtils.d.ts.map +1 -1
- package/dist/utils/HTTP/stream.d.ts.map +1 -1
- package/dist/utils/HTTP/websocket.d.ts.map +1 -1
- package/dist/utils/consts/htmlConstants.d.ts +4 -0
- package/dist/utils/consts/htmlConstants.d.ts.map +1 -0
- package/dist/utils/consts/inputConstants.d.ts +16 -0
- package/dist/utils/consts/inputConstants.d.ts.map +1 -0
- package/dist/utils/consts/messageConstants.d.ts +26 -1
- package/dist/utils/consts/messageConstants.d.ts.map +1 -1
- package/dist/utils/element/elementUtils.d.ts.map +1 -1
- package/dist/utils/element/statefulEvents.d.ts.map +1 -1
- package/dist/utils/element/styleUtils.d.ts.map +1 -1
- package/dist/utils/errorMessages/errorMessages.d.ts +15 -16
- package/dist/utils/errorMessages/errorMessages.d.ts.map +1 -1
- package/dist/utils/events/fireEvents.d.ts.map +1 -1
- package/dist/utils/files/fileTypeButtonIcons.d.ts.map +1 -1
- package/dist/utils/legacy/legacy.d.ts.map +1 -1
- package/dist/utils/loading/loadingStyle.d.ts.map +1 -1
- package/dist/utils/webComponent/googleFont.d.ts.map +1 -1
- package/dist/utils/webComponent/webComponentStyleUtils.d.ts.map +1 -1
- package/dist/views/chat/chatView.d.ts.map +1 -1
- package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/buttonCSS.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/buttonInnerElements.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/camera/cameraButton.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/custom/customButton.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/inputButton.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/microphone/speechToText/speechToText.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts +0 -4
- package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/submit/submitButton.d.ts +0 -3
- package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/tooltip/tooltipUtils.d.ts +1 -1
- package/dist/views/chat/input/buttons/tooltip/tooltipUtils.d.ts.map +1 -1
- package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts.map +1 -1
- package/dist/views/chat/input/dropup/dropup.d.ts.map +1 -1
- package/dist/views/chat/input/dropup/dropupItem.d.ts +3 -3
- package/dist/views/chat/input/dropup/dropupItem.d.ts.map +1 -1
- package/dist/views/chat/input/dropup/dropupMenu.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts.map +1 -1
- package/dist/views/chat/input/fileAttachments/modal/modal.d.ts +2 -2
- package/dist/views/chat/input/fileAttachments/modal/modal.d.ts.map +1 -1
- package/dist/views/chat/input/input.d.ts.map +1 -1
- package/dist/views/chat/input/textInput/focusUtils.d.ts.map +1 -1
- package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -1
- package/dist/views/chat/input/textInput/textInputEvents.d.ts.map +1 -1
- package/dist/views/chat/input/validation/validationHandler.d.ts.map +1 -1
- package/dist/views/chat/introPanel/introPanel.d.ts +2 -4
- package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -1
- package/dist/views/chat/messages/avatar.d.ts.map +1 -1
- package/dist/views/chat/messages/fileMessages.d.ts.map +1 -1
- package/dist/views/chat/messages/history/history.d.ts.map +1 -1
- package/dist/views/chat/messages/history/loadingHistory.d.ts.map +1 -1
- package/dist/views/chat/messages/html/htmlDeepChatElements.d.ts.map +1 -1
- package/dist/views/chat/messages/html/htmlMessages.d.ts.map +1 -1
- package/dist/views/chat/messages/html/htmlUtils.d.ts.map +1 -1
- package/dist/views/chat/messages/messages.d.ts.map +1 -1
- package/dist/views/chat/messages/messagesBase.d.ts.map +1 -1
- package/dist/views/chat/messages/name.d.ts.map +1 -1
- package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts.map +1 -1
- package/dist/views/chat/messages/role.d.ts.map +1 -1
- package/dist/views/chat/messages/setupMessages.d.ts.map +1 -1
- package/dist/views/chat/messages/stream/messageStream.d.ts.map +1 -1
- package/dist/views/chat/messages/utils/fileMessageUtils.d.ts +0 -2
- package/dist/views/chat/messages/utils/fileMessageUtils.d.ts.map +1 -1
- package/dist/views/chat/messages/utils/focusModeUtils.d.ts.map +1 -1
- package/dist/views/chat/messages/utils/messageStyleUtils.d.ts.map +1 -1
- package/dist/views/chat/messages/utils/messageUtils.d.ts +0 -8
- package/dist/views/chat/messages/utils/messageUtils.d.ts.map +1 -1
- package/dist/views/chat/messages/utils/updateMessage.d.ts.map +1 -1
- package/dist/views/error/errorView.d.ts.map +1 -1
- package/dist/views/insertKey/insertKeyView.d.ts.map +1 -1
- package/dist/views/insertKey/visibilityIcon.d.ts +1 -1
- package/dist/views/insertKey/visibilityIcon.d.ts.map +1 -1
- package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts.map +1 -1
- package/dist/webModel/webModel.d.ts.map +1 -1
- package/dist/webModel/webModelIntroMessage.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/services/utils/speechToSpeech.d.ts +0 -5
- package/dist/services/utils/speechToSpeech.d.ts.map +0 -1
|
@@ -7,7 +7,6 @@ import { DeepChat } from '../../deepChat';
|
|
|
7
7
|
export declare class AssemblyAIAudioIO extends DirectServiceIO {
|
|
8
8
|
insertKeyPlaceholderText: string;
|
|
9
9
|
keyHelpUrl: string;
|
|
10
|
-
introPanelMarkUp: string;
|
|
11
10
|
url: string;
|
|
12
11
|
isTextInputDisabled: boolean;
|
|
13
12
|
textInputPlaceholderText: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assemblyAIAudioIO.d.ts","sourceRoot":"","sources":["../../../src/services/assemblyAI/assemblyAIAudioIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assemblyAIAudioIO.d.ts","sourceRoot":"","sources":["../../../src/services/assemblyAI/assemblyAIAudioIO.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAOxC,qBAAa,iBAAkB,SAAQ,eAAe;IAC3C,wBAAwB,SAAyC;IACjE,UAAU,SAA4C;IAC/D,GAAG,SAA0C;IAC7C,mBAAmB,UAAQ;IAC3B,wBAAwB,SAAwB;IAChD,sBAAsB,WAA0C;gBAEpD,QAAQ,EAAE,QAAQ;IAM9B,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAIlB,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE;IAMvE,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAM9E"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private static handleVerificationResult;
|
|
11
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
12
|
-
}
|
|
2
|
+
export declare const ASSEMBLY_AI_POLL: (api_token: string, audio_url: string) => Promise<{
|
|
3
|
+
text: string;
|
|
4
|
+
}>;
|
|
5
|
+
export declare const ASSEMBLY_AI_BUILD_HEADERS: (key: string) => {
|
|
6
|
+
Authorization: string;
|
|
7
|
+
"Content-Type": string;
|
|
8
|
+
};
|
|
9
|
+
export declare const ASSEMBLY_AI_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
13
10
|
//# sourceMappingURL=assemblyAIUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assemblyAIUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/assemblyAI/utils/assemblyAIUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assemblyAIUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/assemblyAI/utils/assemblyAIUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAa7E,eAAO,MAAM,gBAAgB,GAAU,WAAW,MAAM,EAAE,WAAW,MAAM;UAwCjD,MAAM;EAC/B,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,KAAK,MAAM;;;CAKpD,CAAC;AAiBF,eAAO,MAAM,0CAA0C,QAAO,sBAE7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureLanguageIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureLanguageIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureLanguageIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureLanguageIO.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,eAAgB,SAAQ,eAAe;IACzC,wBAAwB,SAAqC;IAC7D,UAAU,SAAmC;IACtD,sBAAsB,WAAc;gBAGxB,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EACjG,iBAAiB,CAAC,EAAE,gBAAgB;CAIzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureOpenAIAssistantIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureOpenAIAssistantIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,wCAAwC,CAAC;AAM1E,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"azureOpenAIAssistantIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureOpenAIAssistantIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,wCAAwC,CAAC;AAM1E,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAQxC,qBAAa,sBAAuB,SAAQ,kBAAkB;IAC5D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAa;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAgB;IACrD,sBAAsB,EAAE,MAAM,EAAE,CAAqC;IACrE,wBAAwB,SAA2C;IACnE,UAAU,SACoF;IACvG,mBAAmB,UAAS;gBAEhB,QAAQ,EAAE,QAAQ;CAqC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureOpenAIChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureOpenAIChatIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureOpenAIChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureOpenAIChatIO.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAQxC,qBAAa,iBAAkB,SAAQ,YAAY;IACxC,sBAAsB,EAAE,MAAM,EAAE,CAAqC;IAC9E,mBAAmB,UAAS;gBAEhB,QAAQ,EAAE,QAAQ;IAuB9B,OAAO,CAAC,MAAM,CAAC,QAAQ;CAIxB"}
|
|
@@ -4,6 +4,7 @@ import { ServiceFileTypes } from '../serviceIO';
|
|
|
4
4
|
import { APIKey } from '../../types/APIKey';
|
|
5
5
|
import { DeepChat } from '../../deepChat';
|
|
6
6
|
export declare class AzureSpeechIO extends DirectServiceIO {
|
|
7
|
+
protected static readonly REGION_ERROR_PREFIX = "Please define a region config property. [More Information](https://deepchat.dev/docs/directConnection/Azure#";
|
|
7
8
|
insertKeyPlaceholderText: string;
|
|
8
9
|
keyHelpUrl: string;
|
|
9
10
|
constructor(deepChat: DeepChat, buildHeadersFunc: BuildHeadersFunc, region: string, apiKey?: APIKey, existingFileTypes?: ServiceFileTypes);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSpeechIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSpeechIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,aAAc,SAAQ,eAAe;IAEhD,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,kHAC0D;IAC9F,wBAAwB,SAAmC;IAC3D,UAAU,SAAmC;gBAG1C,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAC/F,iBAAiB,CAAC,EAAE,gBAAgB;CAIzC"}
|
|
@@ -5,10 +5,8 @@ import { AzureSpeechIO } from './azureSpeechIO';
|
|
|
5
5
|
import { Response } from '../../types/response';
|
|
6
6
|
import { DeepChat } from '../../deepChat';
|
|
7
7
|
export declare class AzureSpeechToTextIO extends AzureSpeechIO {
|
|
8
|
-
private static readonly HELP_LINK;
|
|
9
8
|
private static readonly REGION_ERROR_MESSAGE;
|
|
10
9
|
permittedErrorPrefixes: string[];
|
|
11
|
-
introPanelMarkUp: string;
|
|
12
10
|
url: string;
|
|
13
11
|
isTextInputDisabled: boolean;
|
|
14
12
|
textInputPlaceholderText: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureSpeechToTextIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSpeechToTextIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureSpeechToTextIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSpeechToTextIO.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAE5D,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAuD;IACnG,sBAAsB,EAAE,MAAM,EAAE,CAA8C;IAC9E,GAAG,SAAM;IACT,mBAAmB,UAAQ;IAC3B,wBAAwB,SAAwB;gBAEpC,QAAQ,EAAE,QAAQ;IAoB9B,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAIlB,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE;IAWvE,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAIrF"}
|
|
@@ -13,7 +13,6 @@ export declare class AzureSummarizationIO extends AzureLanguageIO {
|
|
|
13
13
|
url: string;
|
|
14
14
|
textInputPlaceholderText: string;
|
|
15
15
|
isTextInputDisabled: boolean;
|
|
16
|
-
private messages?;
|
|
17
16
|
constructor(deepChat: DeepChat);
|
|
18
17
|
preprocessBody(body: RawBody, messages: MessageContentI[]): {
|
|
19
18
|
analysisInput: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureSummarizationIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSummarizationIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"azureSummarizationIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureSummarizationIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;AAG3F,OAAO,EAAQ,wBAAwB,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAGlD,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,KAAK,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC,CAAC;AAEpE,qBAAa,oBAAqB,SAAQ,eAAe;IACvD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAEiE;IACtG,sBAAsB,EAAE,MAAM,EAAE,CAAiD;IAC1F,GAAG,SAAM;IACT,wBAAwB,SAA8B;IACtD,mBAAmB,UAAS;gBAEhB,QAAQ,EAAE,QAAQ;IAiB9B,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE;;;;;;;;;;;;IAqB1C,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAK/D,iBAAiB,CAAC,MAAM,EAAE,QAAQ,GAAG,wBAAwB,GAAG,OAAO,CAAC,SAAS,CAAC;IAW3F,qBAAqB,CAAC,MAAM,EAAE,wBAAwB,GAAG,UAAU;CAW1E"}
|
|
@@ -6,10 +6,8 @@ import { AzureSpeechIO } from './azureSpeechIO';
|
|
|
6
6
|
import { Response } from '../../types/response';
|
|
7
7
|
import { DeepChat } from '../../deepChat';
|
|
8
8
|
export declare class AzureTextToSpeechIO extends AzureSpeechIO {
|
|
9
|
-
private static readonly HELP_LINK;
|
|
10
9
|
private static readonly REGION_ERROR_MESSAGE;
|
|
11
10
|
permittedErrorPrefixes: string[];
|
|
12
|
-
introPanelMarkUp: string;
|
|
13
11
|
isTextInputDisabled: boolean;
|
|
14
12
|
url: string;
|
|
15
13
|
constructor(deepChat: DeepChat);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureTextToSpeechIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureTextToSpeechIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAuD;IACnG,sBAAsB,EAAE,MAAM,EAAE,CAA8C;IAC9E,mBAAmB,UAAS;IAC5B,GAAG,SAAM;gBAGG,QAAQ,EAAE,QAAQ;IAqB9B,cAAc,CAAC,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,eAAe,EAAE;IAU1D,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC;CASrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureTranslationIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureTranslationIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureTranslationIO.d.ts","sourceRoot":"","sources":["../../../src/services/azure/azureTranslationIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,kBAAmB,SAAQ,eAAe;IAC5C,wBAAwB,SAAsC;IAC9D,UAAU,SAEqH;IACxI,GAAG,SAAM;gBAGG,QAAQ,EAAE,QAAQ;IAU9B,cAAc,CAAC,QAAQ,EAAE,eAAe,EAAE;;;IAM3B,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAMpF"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
2
|
import { AzureOpenAI } from '../../../types/azure';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
static validateURLDetails(urlDetails: AzureOpenAI['urlDetails']): string;
|
|
11
|
-
}
|
|
3
|
+
export declare const AZURE_OPEN_AI_URL_DETAILS_ERROR = "Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)";
|
|
4
|
+
export declare const AZURE_OPEN_AI_BUILD_HEADERS: (apiKey: string) => {
|
|
5
|
+
'api-key': string;
|
|
6
|
+
"Content-Type": string;
|
|
7
|
+
};
|
|
8
|
+
export declare const AZURE_OPEN_AI_BUILD_KEY_VERIFICATION_DETAILS: (urlDetails: AzureOpenAI["urlDetails"]) => KeyVerificationDetails;
|
|
9
|
+
export declare const AZURE_OPEN_AI_VALIDATE_URL_DETAILS: (urlDetails: AzureOpenAI["urlDetails"]) => string;
|
|
12
10
|
//# sourceMappingURL=azureOpenAIUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureOpenAIUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/utils/azureOpenAIUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azureOpenAIUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/utils/azureOpenAIUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAGjD,eAAO,MAAM,+BAA+B,8GACyD,CAAC;AAEtG,eAAO,MAAM,2BAA2B,GAAI,QAAQ,MAAM;;;CAKzD,CAAC;AAEF,eAAO,MAAM,4CAA4C,GACvD,YAAY,WAAW,CAAC,YAAY,CAAC,KACpC,sBAMF,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,YAAY,WAAW,CAAC,YAAY,CAAC,WAGvF,CAAC"}
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
2
|
import { GenericObject } from '../../../types/object';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
static buildLanguageKeyVerificationDetails(endpoint: string): KeyVerificationDetails;
|
|
22
|
-
private static handleTranslationVerificationResult;
|
|
23
|
-
static buildTranslationKeyVerificationDetails(region?: string): KeyVerificationDetails;
|
|
24
|
-
static buildTranslationHeaders(region: string | undefined, key: string): GenericObject<string>;
|
|
25
|
-
}
|
|
3
|
+
export declare const AZURE_SUBSCRIPTION_KEY_HELP_URL = "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal";
|
|
4
|
+
export declare const AZURE_BUILD_TEXT_TO_SPEECH_HEADERS: (outputFormat: string, key: string) => {
|
|
5
|
+
"Ocp-Apim-Subscription-Key": string;
|
|
6
|
+
"Content-Type": string;
|
|
7
|
+
'X-Microsoft-OutputFormat': string;
|
|
8
|
+
};
|
|
9
|
+
export declare const AZURE_BUILD_SPEECH_TO_TEXT_HEADERS: (key: string) => {
|
|
10
|
+
"Ocp-Apim-Subscription-Key": string;
|
|
11
|
+
Accept: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const AZURE_BUILD_SPEECH_KEY_VERIFICATION_DETAILS: (region: string) => KeyVerificationDetails;
|
|
14
|
+
export declare const AZURE_BUILD_SUMMARIZATION_HEADER: (key: string) => {
|
|
15
|
+
"Ocp-Apim-Subscription-Key": string;
|
|
16
|
+
"Content-Type": string;
|
|
17
|
+
};
|
|
18
|
+
export declare const AZURE_BUILD_LANGUAGE_KEY_VERIFICATION_DETAILS: (endpoint: string) => KeyVerificationDetails;
|
|
19
|
+
export declare const AZURE_BUILD_TRANSLATION_KEY_VERIFICATION_DETAILS: (region?: string) => KeyVerificationDetails;
|
|
20
|
+
export declare const AZURE_BUILD_TRANSLATION_HEADERS: (region: string | undefined, key: string) => GenericObject<string>;
|
|
26
21
|
//# sourceMappingURL=azureUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/utils/azureUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"azureUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/utils/azureUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAG7E,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAIpD,eAAO,MAAM,+BAA+B,wIAE2F,CAAC;AAExI,eAAO,MAAM,kCAAkC,GAAI,cAAc,MAAM,EAAE,KAAK,MAAM;;;;CAMnF,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,KAAK,MAAM;;;CAK7D,CAAC;AAgBF,eAAO,MAAM,2CAA2C,GAAI,QAAQ,MAAM,KAAG,sBAS5E,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,KAAK,MAAM;;;CAK3D,CAAC;AAiBF,eAAO,MAAM,6CAA6C,GAAI,UAAU,MAAM,KAAG,sBAShF,CAAC;AAmBF,eAAO,MAAM,gDAAgD,GAAI,SAAS,MAAM,KAAG,sBASlF,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,QAAQ,MAAM,GAAG,SAAS,EAAE,KAAK,MAAM,0BAOtF,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { Messages } from '../../views/chat/messages/messages';
|
|
|
3
3
|
import { MessageContentI } from '../../types/messagesInternal';
|
|
4
4
|
import { Response as ResponseI } from '../../types/response';
|
|
5
5
|
import { DirectServiceIO } from '../utils/directServiceIO';
|
|
6
|
-
import { ChatFunctionHandler } from '../../types/openAI';
|
|
7
6
|
import { BigModelChat } from '../../types/bigModel';
|
|
8
7
|
import { DeepChat } from '../../deepChat';
|
|
9
8
|
export declare class BigModelChatIO extends DirectServiceIO {
|
|
@@ -11,11 +10,7 @@ export declare class BigModelChatIO extends DirectServiceIO {
|
|
|
11
10
|
keyHelpUrl: string;
|
|
12
11
|
url: string;
|
|
13
12
|
permittedErrorPrefixes: string[];
|
|
14
|
-
_functionHandler?: ChatFunctionHandler;
|
|
15
|
-
private _messages?;
|
|
16
|
-
private readonly _systemMessage;
|
|
17
13
|
constructor(deepChat: DeepChat);
|
|
18
|
-
private cleanConfig;
|
|
19
14
|
private static getFileContent;
|
|
20
15
|
private preprocessBody;
|
|
21
16
|
callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigModelChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelChatIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bigModelChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelChatIO.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,cAAc,EAA4C,MAAM,4BAA4B,CAAC;AAGrG,OAAO,EAAkB,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAE7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AASxC,qBAAa,cAAe,SAAQ,eAAe;IACxC,wBAAwB,SAAuC;IAC/D,UAAU,SAAiD;IACpE,GAAG,SAA2D;IAC9D,sBAAsB,WAAkD;gBAE5D,QAAQ,EAAE,QAAQ;IAY9B,OAAO,CAAC,MAAM,CAAC,cAAc;IAS7B,OAAO,CAAC,cAAc;IAaP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAK/D,iBAAiB,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC;YAiBvF,mBAAmB;CAqBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigModelImagesIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelImagesIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bigModelImagesIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelImagesIO.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAIzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,gBAAiB,SAAQ,eAAe;IAC1C,wBAAwB,SAAuC;IAC/D,UAAU,SAAiD;IACpE,GAAG,SAA6D;IAChE,sBAAsB,WAAkD;gBAE5D,QAAQ,EAAE,QAAQ;IAY9B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,cAAc;IAOP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC;CASnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigModelTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelTextToSpeechIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bigModelTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/bigModel/bigModelTextToSpeechIO.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,sBAAuB,SAAQ,eAAe;IAChD,wBAAwB,SAAuC;IAC/D,UAAU,SAAiD;IACpE,GAAG,SAAuD;IAC1D,sBAAsB,WAAkD;gBAE5D,QAAQ,EAAE,QAAQ;IAa9B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,cAAc;IAOP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC;CAK1E"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
static handleVerificationResult(result: object, key: string, onSuccess: (key: string) => void, onFail: (message: string) => void): void;
|
|
8
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
9
|
-
}
|
|
2
|
+
export declare const BIG_MODEL_BUILD_HEADERS: (key?: string) => {
|
|
3
|
+
"Content-Type": string;
|
|
4
|
+
Authorization: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const BIG_MODEL_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
10
7
|
//# sourceMappingURL=bigModelUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigModelUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/bigModel/utils/bigModelUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bigModelUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/bigModel/utils/bigModelUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAiB7E,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM;;;CAKnD,CAAC;AAoBF,eAAO,MAAM,wCAAwC,QAAO,sBAM3D,CAAC"}
|
|
@@ -4,19 +4,14 @@ import { MessageContentI } from '../../types/messagesInternal';
|
|
|
4
4
|
import { Messages } from '../../views/chat/messages/messages';
|
|
5
5
|
import { Response as ResponseI } from '../../types/response';
|
|
6
6
|
import { DirectServiceIO } from '../utils/directServiceIO';
|
|
7
|
-
import { ChatFunctionHandler } from '../../types/openAI';
|
|
8
7
|
import { DeepChat } from '../../deepChat';
|
|
9
8
|
export declare class ClaudeIO extends DirectServiceIO {
|
|
10
9
|
insertKeyPlaceholderText: string;
|
|
11
10
|
keyHelpUrl: string;
|
|
12
11
|
url: string;
|
|
13
12
|
permittedErrorPrefixes: string[];
|
|
14
|
-
_functionHandler?: ChatFunctionHandler;
|
|
15
|
-
private _messages?;
|
|
16
13
|
private _streamToolCalls;
|
|
17
|
-
private readonly _systemMessage;
|
|
18
14
|
constructor(deepChat: DeepChat);
|
|
19
|
-
private cleanConfig;
|
|
20
15
|
private static getFileContent;
|
|
21
16
|
private preprocessBody;
|
|
22
17
|
callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudeIO.d.ts","sourceRoot":"","sources":["../../../src/services/claude/claudeIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"claudeIO.d.ts","sourceRoot":"","sources":["../../../src/services/claude/claudeIO.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+B,iBAAiB,EAAC,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAC,YAAY,EAAmC,MAAM,0BAA0B,CAAC;AAGxF,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAIzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAQxC,qBAAa,QAAS,SAAQ,eAAe;IAClC,wBAAwB,SAAqC;IAC7D,UAAU,SAAiD;IACpE,GAAG,SAA2C;IAC9C,sBAAsB,WAA+D;IACrF,OAAO,CAAC,gBAAgB,CAAoE;gBAEhF,QAAQ,EAAE,QAAQ;IAW9B,OAAO,CAAC,MAAM,CAAC,cAAc;IAW7B,OAAO,CAAC,cAAc;IAgBP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAK/D,iBAAiB,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC;YAuC1F,WAAW;CAqC1B"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
static handleVerificationResult(result: object, key: string, onSuccess: (key: string) => void, onFail: (message: string) => void): void;
|
|
10
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
11
|
-
}
|
|
2
|
+
export declare const CLAUDE_BUILD_HEADERS: (key: string) => {
|
|
3
|
+
'x-api-key': string;
|
|
4
|
+
"Content-Type": string;
|
|
5
|
+
'anthropic-version': string;
|
|
6
|
+
'anthropic-dangerous-direct-browser-access': string;
|
|
7
|
+
};
|
|
8
|
+
export declare const CLAUDE_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
12
9
|
//# sourceMappingURL=claudeUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudeUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/claude/utils/claudeUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"claudeUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/claude/utils/claudeUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAU7E,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM;;;;;CAO/C,CAAC;AAoBF,eAAO,MAAM,qCAAqC,QAAO,sBAExD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohereIO.d.ts","sourceRoot":"","sources":["../../../src/services/cohere/cohereIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohereIO.d.ts","sourceRoot":"","sources":["../../../src/services/cohere/cohereIO.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAwB,MAAM,0BAA0B,CAAC;AAEjF,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAGzD,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,QAAS,SAAQ,eAAe;IAClC,wBAAwB,SAAqC;IAC7D,UAAU,SAA0C;IAC7D,sBAAsB,WAAe;IACrC,GAAG,SAAoC;gBAE3B,QAAQ,EAAE,QAAQ;IAc9B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,cAAc;IAUP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC;IAkB7E,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAmBjC,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAM1C"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private static handleVerificationResult;
|
|
9
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
10
|
-
}
|
|
2
|
+
export declare const COHERE_BUILD_HEADERS: (key: string) => {
|
|
3
|
+
Authorization: string;
|
|
4
|
+
"Content-Type": string;
|
|
5
|
+
accept: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const COHERE_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
11
8
|
//# sourceMappingURL=cohereUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohereUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/cohere/utils/cohereUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohereUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/cohere/utils/cohereUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAI7E,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM;;;;CAM/C,CAAC;AAgBF,eAAO,MAAM,qCAAqC,QAAO,sBAExD,CAAC"}
|
|
@@ -9,9 +9,7 @@ export declare class DeepSeekIO extends DirectServiceIO {
|
|
|
9
9
|
keyHelpUrl: string;
|
|
10
10
|
url: string;
|
|
11
11
|
permittedErrorPrefixes: string[];
|
|
12
|
-
private readonly _systemMessage;
|
|
13
12
|
constructor(deepChat: DeepChat);
|
|
14
|
-
private cleanConfig;
|
|
15
13
|
private preprocessBody;
|
|
16
14
|
callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
|
|
17
15
|
extractResultData(result: DeepSeekResult): Promise<ResponseI>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepSeekIO.d.ts","sourceRoot":"","sources":["../../../src/services/deepSeek/deepSeekIO.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"deepSeekIO.d.ts","sourceRoot":"","sources":["../../../src/services/deepSeek/deepSeekIO.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAGzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,UAAW,SAAQ,eAAe;IACpC,wBAAwB,SAAuC;IAC/D,UAAU,SAA4C;IAC/D,GAAG,SAAkD;IACrD,sBAAsB,WAA+D;gBAEzE,QAAQ,EAAE,QAAQ;IAW9B,OAAO,CAAC,cAAc;IAaP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;CAmB7E"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
static handleVerificationResult(result: object, key: string, onSuccess: (key: string) => void, onFail: (message: string) => void): void;
|
|
8
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
9
|
-
}
|
|
2
|
+
export declare const DEEPSEEK_BUILD_HEADERS: (key: string) => {
|
|
3
|
+
Authorization: string;
|
|
4
|
+
"Content-Type": string;
|
|
5
|
+
};
|
|
6
|
+
export declare const DEEPSEEK_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
10
7
|
//# sourceMappingURL=deepSeekUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepSeekUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/deepSeek/utils/deepSeekUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deepSeekUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/deepSeek/utils/deepSeekUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAmB7E,eAAO,MAAM,sBAAsB,GAAI,KAAK,MAAM;;;CAKjD,CAAC;AAoBF,eAAO,MAAM,uCAAuC,QAAO,sBAE1D,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { GeminiGenerateContentResult } from '../../types/geminiResult';
|
|
|
2
2
|
import { MessageContentI } from '../../types/messagesInternal';
|
|
3
3
|
import { Messages } from '../../views/chat/messages/messages';
|
|
4
4
|
import { DirectServiceIO } from '../utils/directServiceIO';
|
|
5
|
-
import { ChatFunctionHandler } from '../../types/openAI';
|
|
6
5
|
import { Response } from '../../types/response';
|
|
7
6
|
import { Gemini } from '../../types/gemini';
|
|
8
7
|
import { DeepChat } from '../../deepChat';
|
|
@@ -12,9 +11,6 @@ export declare class GeminiIO extends DirectServiceIO {
|
|
|
12
11
|
urlPrefix: string;
|
|
13
12
|
url: string;
|
|
14
13
|
permittedErrorPrefixes: string[];
|
|
15
|
-
private readonly _systemPrompt?;
|
|
16
|
-
_functionHandler?: ChatFunctionHandler;
|
|
17
|
-
private _messages?;
|
|
18
14
|
constructor(deepChat: DeepChat);
|
|
19
15
|
private cleanConfig;
|
|
20
16
|
private static getContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geminiIO.d.ts","sourceRoot":"","sources":["../../../src/services/gemini/geminiIO.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"geminiIO.d.ts","sourceRoot":"","sources":["../../../src/services/gemini/geminiIO.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAE5D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAIzD,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAUxC,qBAAa,QAAS,SAAQ,eAAe;IAClC,wBAAwB,SAAqC;IAC7D,UAAU,SAA4C;IAC/D,SAAS,SAA8F;IACvG,GAAG,SAAM;IACT,sBAAsB,WAAuB;gBAEjC,QAAQ,EAAE,QAAQ;IAc9B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,MAAM,CAAC,UAAU;IA2BzB,OAAO,CAAC,cAAc;IAQP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAkB/D,iBAAiB,CAAC,MAAM,EAAE,2BAA2B,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;YAqB7F,WAAW;CA0C1B"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
private static handleVerificationResult;
|
|
7
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
8
|
-
}
|
|
2
|
+
export declare const GEMINI_BUILD_HEADERS: () => {
|
|
3
|
+
"Content-Type": string;
|
|
4
|
+
};
|
|
5
|
+
export declare const GEMINI_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
9
6
|
//# sourceMappingURL=geminiUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geminiUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/gemini/utils/geminiUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"geminiUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/gemini/utils/geminiUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAI7E,eAAO,MAAM,oBAAoB;;CAIhC,CAAC;AAkBF,eAAO,MAAM,qCAAqC,QAAO,sBAGxD,CAAC"}
|
|
@@ -4,19 +4,14 @@ import { MessageContentI } from '../../types/messagesInternal';
|
|
|
4
4
|
import { Messages } from '../../views/chat/messages/messages';
|
|
5
5
|
import { Response as ResponseI } from '../../types/response';
|
|
6
6
|
import { DirectServiceIO } from '../utils/directServiceIO';
|
|
7
|
-
import { ChatFunctionHandler } from '../../types/openAI';
|
|
8
7
|
import { DeepChat } from '../../deepChat';
|
|
9
8
|
export declare class GroqChatIO extends DirectServiceIO {
|
|
10
9
|
insertKeyPlaceholderText: string;
|
|
11
10
|
keyHelpUrl: string;
|
|
12
11
|
url: string;
|
|
13
12
|
permittedErrorPrefixes: string[];
|
|
14
|
-
_functionHandler?: ChatFunctionHandler;
|
|
15
13
|
_streamToolCalls?: GroqToolCall[];
|
|
16
|
-
private readonly _systemMessage;
|
|
17
|
-
private _messages?;
|
|
18
14
|
constructor(deepChat: DeepChat);
|
|
19
|
-
private cleanConfig;
|
|
20
15
|
private preprocessBody;
|
|
21
16
|
callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
|
|
22
17
|
extractResultData(result: GroqResult, prevBody?: GroqRequestBody): Promise<ResponseI>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groqChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/groq/groqChatIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"groqChatIO.d.ts","sourceRoot":"","sources":["../../../src/services/groq/groqChatIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,YAAY,EAAa,MAAM,wBAAwB,CAAC;AAE5E,OAAO,EAAc,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEtE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,UAAW,SAAQ,eAAe;IACpC,wBAAwB,SAAmC;IAC3D,UAAU,SAAmC;IACtD,GAAG,SAAqD;IACxD,sBAAsB,WAAsC;IAC5D,gBAAgB,CAAC,EAAE,YAAY,EAAE,CAAC;gBAEtB,QAAQ,EAAE,QAAQ;IAY9B,OAAO,CAAC,cAAc;IAaP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAK/D,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,SAAS,CAAC;YAkBtF,mBAAmB;CAGlC"}
|
|
@@ -9,7 +9,6 @@ export declare class GroqTextToSpeechIO extends DirectServiceIO {
|
|
|
9
9
|
url: string;
|
|
10
10
|
permittedErrorPrefixes: string[];
|
|
11
11
|
constructor(deepChat: DeepChat);
|
|
12
|
-
private cleanConfig;
|
|
13
12
|
private preprocessBody;
|
|
14
13
|
callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
|
|
15
14
|
extractResultData(result: ArrayBuffer): Promise<ResponseI>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groqTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/groq/groqTextToSpeechIO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"groqTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../src/services/groq/groqTextToSpeechIO.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,QAAQ,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAGzD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGxC,qBAAa,kBAAmB,SAAQ,eAAe;IAC5C,wBAAwB,SAAmC;IAC3D,UAAU,SAAmC;IACtD,GAAG,SAAiD;IACpD,sBAAsB,WAAsC;gBAEhD,QAAQ,EAAE,QAAQ;IAW9B,OAAO,CAAC,cAAc;IAOP,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;IAI/D,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC;CAM1E"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
static handleVerificationResult(result: object, key: string, onSuccess: (key: string) => void, onFail: (message: string) => void): void;
|
|
8
|
-
static buildKeyVerificationDetails(): KeyVerificationDetails;
|
|
9
|
-
}
|
|
2
|
+
export declare const GROQ_BUILD_HEADERS: (key?: string) => {
|
|
3
|
+
"Content-Type": string;
|
|
4
|
+
Authorization: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const GROQ_BUILD_KEY_VERIFICATION_DETAILS: () => KeyVerificationDetails;
|
|
10
7
|
//# sourceMappingURL=groqUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groqUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/groq/utils/groqUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"groqUtils.d.ts","sourceRoot":"","sources":["../../../../src/services/groq/utils/groqUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAiB7E,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM;;;CAK9C,CAAC;AAoBF,eAAO,MAAM,mCAAmC,QAAO,sBAEtD,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { Response } from '../../types/response';
|
|
|
6
6
|
import { DeepChat } from '../../deepChat';
|
|
7
7
|
export declare class HuggingFaceConversationIO extends HuggingFaceIO {
|
|
8
8
|
constructor(deepChat: DeepChat);
|
|
9
|
-
private
|
|
9
|
+
private processMessagesI;
|
|
10
10
|
preprocessBody(body: HuggingFaceQuestionAnswerConfig, messages: MessageContentI[]): {
|
|
11
11
|
inputs: string;
|
|
12
12
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"huggingFaceConversationIO.d.ts","sourceRoot":"","sources":["../../../src/services/huggingFace/huggingFaceConversationIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"huggingFaceConversationIO.d.ts","sourceRoot":"","sources":["../../../src/services/huggingFace/huggingFaceConversationIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAC,+BAA+B,EAAC,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAIxC,qBAAa,yBAA0B,SAAQ,aAAa;gBAC9C,QAAQ,EAAE,QAAQ;IAS9B,OAAO,CAAC,gBAAgB;IAef,cAAc,CAAC,IAAI,EAAE,+BAA+B,EAAE,QAAQ,EAAE,eAAe,EAAE;gBAe/D,MAAM;;IAGlB,iBAAiB,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC;CAI3F"}
|
|
@@ -3,7 +3,6 @@ import { HuggingFaceIO } from './huggingFaceIO';
|
|
|
3
3
|
import { Response } from '../../types/response';
|
|
4
4
|
import { DeepChat } from '../../deepChat';
|
|
5
5
|
export declare class HuggingFaceFillMaskIO extends HuggingFaceIO {
|
|
6
|
-
introPanelMarkUp: string;
|
|
7
6
|
permittedErrorPrefixes: string[];
|
|
8
7
|
constructor(deepChat: DeepChat);
|
|
9
8
|
extractResultData(result: HuggingFaceFillMaskResult): Promise<Response>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"huggingFaceFillMaskIO.d.ts","sourceRoot":"","sources":["../../../src/services/huggingFace/huggingFaceFillMaskIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,yBAAyB,EAAC,MAAM,+BAA+B,CAAC;AAIxE,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,aAAa;IAC7C,
|
|
1
|
+
{"version":3,"file":"huggingFaceFillMaskIO.d.ts","sourceRoot":"","sources":["../../../src/services/huggingFace/huggingFaceFillMaskIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,yBAAyB,EAAC,MAAM,+BAA+B,CAAC;AAIxE,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,aAAa;IAC7C,sBAAsB,WAA2C;gBAE9D,QAAQ,EAAE,QAAQ;IAMf,iBAAiB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAIvF"}
|