deep-chat-dev 9.0.195 → 9.0.197
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/custom-elements.json +11008 -10956
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.js +1713 -1663
- package/dist/services/azure/azureOpenAIAssistantIO.d.ts +2 -2
- package/dist/services/azure/azureOpenAIAssistantIO.d.ts.map +1 -1
- package/dist/services/azure/azureOpenAIChatIO.d.ts +2 -0
- package/dist/services/azure/azureOpenAIChatIO.d.ts.map +1 -1
- package/dist/services/azure/azureSpeechToTextIO.d.ts +2 -0
- package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -1
- package/dist/services/azure/azureSummarizationIO.d.ts +3 -0
- package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -1
- package/dist/services/azure/azureTextToSpeechIO.d.ts +3 -0
- package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -1
- package/dist/services/azure/utils/azureOpenAIUtils.d.ts +2 -0
- package/dist/services/azure/utils/azureOpenAIUtils.d.ts.map +1 -1
- package/dist/types/azure.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
import { OpenAIAssistantIOI } from '../openAI/assistant/openAIAssistantIOI';
|
2
|
-
import { Response as ResponseI } from '../../types/response';
|
3
2
|
import { DeepChat } from '../../deepChat';
|
4
3
|
export declare class AzureOpenAIAssistantIO extends OpenAIAssistantIOI {
|
5
4
|
private static readonly THREAD_RESOURCE;
|
6
5
|
private static readonly NEW_ASSISTANT_RESOURCE;
|
7
|
-
|
6
|
+
permittedErrorPrefixes: string[];
|
7
|
+
isTextInputDisabled: boolean;
|
8
8
|
constructor(deepChat: DeepChat);
|
9
9
|
}
|
10
10
|
//# sourceMappingURL=azureOpenAIAssistantIO.d.ts.map
|
@@ -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;
|
1
|
+
{"version":3,"file":"azureOpenAIAssistantIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureOpenAIAssistantIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,wCAAwC,CAAC;AAI1E,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,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,CAAgD;IACzF,mBAAmB,UAAS;gBAEhB,QAAQ,EAAE,QAAQ;CA8B/B"}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { OpenAIChatIO } from '../openAI/openAIChatIO';
|
2
2
|
import { DeepChat } from '../../deepChat';
|
3
3
|
export declare class AzureOpenAIChatIO extends OpenAIChatIO {
|
4
|
+
permittedErrorPrefixes: string[];
|
5
|
+
isTextInputDisabled: boolean;
|
4
6
|
constructor(deepChat: DeepChat);
|
5
7
|
private static buildURL;
|
6
8
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"azureOpenAIChatIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureOpenAIChatIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,YAAY;
|
1
|
+
{"version":3,"file":"azureOpenAIChatIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureOpenAIChatIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,YAAY;IACxC,sBAAsB,EAAE,MAAM,EAAE,CAAgD;IACzF,mBAAmB,UAAS;gBAEhB,QAAQ,EAAE,QAAQ;IAmB9B,OAAO,CAAC,MAAM,CAAC,QAAQ;CAIxB"}
|
@@ -6,6 +6,8 @@ import { Response } from '../../types/response';
|
|
6
6
|
import { DeepChat } from '../../deepChat';
|
7
7
|
export declare class AzureSpeechToTextIO extends AzureSpeechIO {
|
8
8
|
private static readonly HELP_LINK;
|
9
|
+
private static readonly REGION_ERROR_MESSAGE;
|
10
|
+
permittedErrorPrefixes: string[];
|
9
11
|
introPanelMarkUp: string;
|
10
12
|
url: string;
|
11
13
|
isTextInputDisabled: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"azureSpeechToTextIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureSpeechToTextIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAG5D,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,SAAS,CAEiI;IAClK,gBAAgB,SAKR;
|
1
|
+
{"version":3,"file":"azureSpeechToTextIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureSpeechToTextIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAG5D,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,SAAS,CAEiI;IAClK,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAEkF;IAC9H,sBAAsB,EAAE,MAAM,EAAE,CAA8C;IAC9E,gBAAgB,SAKR;IACR,GAAG,SAAM;IACT,mBAAmB,UAAQ;IAC3B,wBAAwB,SAA0B;gBAEtC,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"}
|
@@ -7,8 +7,11 @@ import { PollResult } from '../serviceIO';
|
|
7
7
|
import { DeepChat } from '../../deepChat';
|
8
8
|
type RawBody = Required<Pick<AzureSummarizationConfig, 'language'>>;
|
9
9
|
export declare class AzureSummarizationIO extends AzureLanguageIO {
|
10
|
+
private static readonly ENDPOINT_ERROR_MESSAGE;
|
11
|
+
permittedErrorPrefixes: string[];
|
10
12
|
url: string;
|
11
13
|
textInputPlaceholderText: string;
|
14
|
+
isTextInputDisabled: boolean;
|
12
15
|
private messages?;
|
13
16
|
constructor(deepChat: DeepChat);
|
14
17
|
preprocessBody(body: RawBody, messages: MessageContentI[]): {
|
@@ -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;AAC3F,OAAO,EAAQ,wBAAwB,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAE5D,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,GAAG,SAAM;IACT,wBAAwB,SAA8B;IACtD,OAAO,CAAC,QAAQ,CAAC,CAAW;gBAEhB,QAAQ,EAAE,QAAQ;
|
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;AAC3F,OAAO,EAAQ,wBAAwB,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAE5D,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,CAE2E;IAChH,sBAAsB,EAAE,MAAM,EAAE,CAAiD;IAC1F,GAAG,SAAM;IACT,wBAAwB,SAA8B;IACtD,mBAAmB,UAAS;IAC5B,OAAO,CAAC,QAAQ,CAAC,CAAW;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;IAO/D,iBAAiB,CAAC,MAAM,EAAE,QAAQ,GAAG,wBAAwB,GAAG,OAAO,CAAC;QAAC,oBAAoB,EAAE,IAAI,CAAA;KAAC,CAAC;IAU9G,qBAAqB,CAAC,MAAM,EAAE,wBAAwB,GAAG,UAAU;CAW1E"}
|
@@ -7,7 +7,10 @@ import { Response } from '../../types/response';
|
|
7
7
|
import { DeepChat } from '../../deepChat';
|
8
8
|
export declare class AzureTextToSpeechIO extends AzureSpeechIO {
|
9
9
|
private static readonly HELP_LINK;
|
10
|
+
private static readonly REGION_ERROR_MESSAGE;
|
11
|
+
permittedErrorPrefixes: string[];
|
10
12
|
introPanelMarkUp: string;
|
13
|
+
isTextInputDisabled: boolean;
|
11
14
|
url: string;
|
12
15
|
constructor(deepChat: DeepChat);
|
13
16
|
preprocessBody(body: AzureTextToSpeechConfig, messages: MessageContentI[]): string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"azureTextToSpeechIO.d.ts","sourceRoot":"","sources":["../../../../src/services/azure/azureTextToSpeechIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8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iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC;CASrF"}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { KeyVerificationDetails } from '../../../types/keyVerificationDetails';
|
2
2
|
import { AzureOpenAI } from '../../../types/azure';
|
3
3
|
export declare class AzureOpenAIUtils {
|
4
|
+
static readonly URL_DETAILS_ERROR_MESSAGE = "Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)";
|
4
5
|
static buildHeaders(apiKey: string): {
|
5
6
|
'api-key': string;
|
6
7
|
'Content-Type': string;
|
7
8
|
};
|
8
9
|
static buildKeyVerificationDetails(urlDetails: AzureOpenAI['urlDetails']): KeyVerificationDetails;
|
10
|
+
static validateURLDetails(urlDetails: AzureOpenAI['urlDetails']): string;
|
9
11
|
}
|
10
12
|
//# sourceMappingURL=azureOpenAIUtils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"azureOpenAIUtils.d.ts","sourceRoot":"","sources":["../../../../../src/services/azure/utils/azureOpenAIUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEjD,qBAAa,gBAAgB;
|
1
|
+
{"version":3,"file":"azureOpenAIUtils.d.ts","sourceRoot":"","sources":["../../../../../src/services/azure/utils/azureOpenAIUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEjD,qBAAa,gBAAgB;IAC3B,gBAAuB,yBAAyB,+GAC8D;WAEhG,YAAY,CAAC,MAAM,EAAE,MAAM;;;;WAO3B,2BAA2B,CAAC,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,sBAAsB;WAQ1F,kBAAkB,CAAC,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC;CAIvE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"azure.d.ts","sourceRoot":"","sources":["../../../src/types/azure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAGrD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;
|
1
|
+
{"version":3,"file":"azure.d.ts","sourceRoot":"","sources":["../../../src/types/azure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAGrD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA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