deep-chat-dev 1.1.22 → 1.1.23
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 +1008 -1008
- package/dist/deepChat.js +2 -8
- package/package.json +2 -1
package/custom-elements.json
CHANGED
@@ -431,6 +431,54 @@
|
|
431
431
|
}
|
432
432
|
]
|
433
433
|
},
|
434
|
+
{
|
435
|
+
"kind": "javascript-module",
|
436
|
+
"path": "src/services/serviceIO.ts",
|
437
|
+
"declarations": [],
|
438
|
+
"exports": []
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"kind": "javascript-module",
|
442
|
+
"path": "src/services/serviceIOFactory.ts",
|
443
|
+
"declarations": [
|
444
|
+
{
|
445
|
+
"kind": "class",
|
446
|
+
"description": "",
|
447
|
+
"name": "ServiceIOFactory",
|
448
|
+
"members": [
|
449
|
+
{
|
450
|
+
"kind": "method",
|
451
|
+
"name": "create",
|
452
|
+
"privacy": "public",
|
453
|
+
"static": true,
|
454
|
+
"return": {
|
455
|
+
"type": {
|
456
|
+
"text": "ServiceIO"
|
457
|
+
}
|
458
|
+
},
|
459
|
+
"parameters": [
|
460
|
+
{
|
461
|
+
"name": "deepChat",
|
462
|
+
"type": {
|
463
|
+
"text": "DeepChat"
|
464
|
+
}
|
465
|
+
}
|
466
|
+
]
|
467
|
+
}
|
468
|
+
]
|
469
|
+
}
|
470
|
+
],
|
471
|
+
"exports": [
|
472
|
+
{
|
473
|
+
"kind": "js",
|
474
|
+
"name": "ServiceIOFactory",
|
475
|
+
"declaration": {
|
476
|
+
"name": "ServiceIOFactory",
|
477
|
+
"module": "src/services/serviceIOFactory.ts"
|
478
|
+
}
|
479
|
+
}
|
480
|
+
]
|
481
|
+
},
|
434
482
|
{
|
435
483
|
"kind": "javascript-module",
|
436
484
|
"path": "src/icons/audioIcon.ts",
|
@@ -788,54 +836,6 @@
|
|
788
836
|
}
|
789
837
|
]
|
790
838
|
},
|
791
|
-
{
|
792
|
-
"kind": "javascript-module",
|
793
|
-
"path": "src/services/serviceIO.ts",
|
794
|
-
"declarations": [],
|
795
|
-
"exports": []
|
796
|
-
},
|
797
|
-
{
|
798
|
-
"kind": "javascript-module",
|
799
|
-
"path": "src/services/serviceIOFactory.ts",
|
800
|
-
"declarations": [
|
801
|
-
{
|
802
|
-
"kind": "class",
|
803
|
-
"description": "",
|
804
|
-
"name": "ServiceIOFactory",
|
805
|
-
"members": [
|
806
|
-
{
|
807
|
-
"kind": "method",
|
808
|
-
"name": "create",
|
809
|
-
"privacy": "public",
|
810
|
-
"static": true,
|
811
|
-
"return": {
|
812
|
-
"type": {
|
813
|
-
"text": "ServiceIO"
|
814
|
-
}
|
815
|
-
},
|
816
|
-
"parameters": [
|
817
|
-
{
|
818
|
-
"name": "deepChat",
|
819
|
-
"type": {
|
820
|
-
"text": "DeepChat"
|
821
|
-
}
|
822
|
-
}
|
823
|
-
]
|
824
|
-
}
|
825
|
-
]
|
826
|
-
}
|
827
|
-
],
|
828
|
-
"exports": [
|
829
|
-
{
|
830
|
-
"kind": "js",
|
831
|
-
"name": "ServiceIOFactory",
|
832
|
-
"declaration": {
|
833
|
-
"name": "ServiceIOFactory",
|
834
|
-
"module": "src/services/serviceIOFactory.ts"
|
835
|
-
}
|
836
|
-
}
|
837
|
-
]
|
838
|
-
},
|
839
839
|
{
|
840
840
|
"kind": "javascript-module",
|
841
841
|
"path": "src/types/APIKey.ts",
|
@@ -1704,104 +1704,20 @@
|
|
1704
1704
|
},
|
1705
1705
|
{
|
1706
1706
|
"kind": "javascript-module",
|
1707
|
-
"path": "src/services/
|
1707
|
+
"path": "src/services/azure/azureLanguageIO.ts",
|
1708
1708
|
"declarations": [
|
1709
1709
|
{
|
1710
1710
|
"kind": "class",
|
1711
1711
|
"description": "",
|
1712
|
-
"name": "
|
1712
|
+
"name": "AzureLanguageIO",
|
1713
1713
|
"members": [
|
1714
|
-
{
|
1715
|
-
"kind": "field",
|
1716
|
-
"name": "username",
|
1717
|
-
"type": {
|
1718
|
-
"text": "string"
|
1719
|
-
},
|
1720
|
-
"privacy": "private",
|
1721
|
-
"default": "'USER'"
|
1722
|
-
},
|
1723
|
-
{
|
1724
|
-
"kind": "method",
|
1725
|
-
"name": "cleanConfig",
|
1726
|
-
"privacy": "private",
|
1727
|
-
"parameters": [
|
1728
|
-
{
|
1729
|
-
"name": "config",
|
1730
|
-
"type": {
|
1731
|
-
"text": "CohereChatConfig"
|
1732
|
-
}
|
1733
|
-
}
|
1734
|
-
]
|
1735
|
-
},
|
1736
|
-
{
|
1737
|
-
"kind": "method",
|
1738
|
-
"name": "preprocessBody",
|
1739
|
-
"privacy": "private",
|
1740
|
-
"parameters": [
|
1741
|
-
{
|
1742
|
-
"name": "body",
|
1743
|
-
"type": {
|
1744
|
-
"text": "CohereChatConfig"
|
1745
|
-
}
|
1746
|
-
},
|
1747
|
-
{
|
1748
|
-
"name": "pMessages",
|
1749
|
-
"type": {
|
1750
|
-
"text": "MessageContent[]"
|
1751
|
-
}
|
1752
|
-
}
|
1753
|
-
]
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"kind": "method",
|
1757
|
-
"name": "callServiceAPI",
|
1758
|
-
"parameters": [
|
1759
|
-
{
|
1760
|
-
"name": "messages",
|
1761
|
-
"type": {
|
1762
|
-
"text": "Messages"
|
1763
|
-
}
|
1764
|
-
},
|
1765
|
-
{
|
1766
|
-
"name": "pMessages",
|
1767
|
-
"type": {
|
1768
|
-
"text": "MessageContent[]"
|
1769
|
-
}
|
1770
|
-
}
|
1771
|
-
],
|
1772
|
-
"inheritedFrom": {
|
1773
|
-
"name": "BaseServiceIO",
|
1774
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1775
|
-
}
|
1776
|
-
},
|
1777
|
-
{
|
1778
|
-
"kind": "method",
|
1779
|
-
"name": "extractResultData",
|
1780
|
-
"return": {
|
1781
|
-
"type": {
|
1782
|
-
"text": "Promise<Result>"
|
1783
|
-
}
|
1784
|
-
},
|
1785
|
-
"parameters": [
|
1786
|
-
{
|
1787
|
-
"name": "result",
|
1788
|
-
"type": {
|
1789
|
-
"text": "CohereChatResult"
|
1790
|
-
}
|
1791
|
-
}
|
1792
|
-
],
|
1793
|
-
"inheritedFrom": {
|
1794
|
-
"name": "BaseServiceIO",
|
1795
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1796
|
-
}
|
1797
|
-
},
|
1798
1714
|
{
|
1799
1715
|
"kind": "field",
|
1800
1716
|
"name": "insertKeyPlaceholderText",
|
1801
1717
|
"type": {
|
1802
1718
|
"text": "string"
|
1803
1719
|
},
|
1804
|
-
"default": "'
|
1720
|
+
"default": "'Azure Language Subscription Key'",
|
1805
1721
|
"inheritedFrom": {
|
1806
1722
|
"name": "DirectServiceIO",
|
1807
1723
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -1813,47 +1729,19 @@
|
|
1813
1729
|
"type": {
|
1814
1730
|
"text": "string"
|
1815
1731
|
},
|
1816
|
-
"default": "'https://
|
1732
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
1817
1733
|
"inheritedFrom": {
|
1818
1734
|
"name": "DirectServiceIO",
|
1819
1735
|
"module": "src/services/utils/directServiceIO.ts"
|
1820
1736
|
}
|
1821
1737
|
},
|
1822
|
-
{
|
1823
|
-
"kind": "field",
|
1824
|
-
"name": "textInputPlaceholderText",
|
1825
|
-
"type": {
|
1826
|
-
"text": "string"
|
1827
|
-
},
|
1828
|
-
"default": "inputPlaceholder",
|
1829
|
-
"inheritedFrom": {
|
1830
|
-
"name": "CohereIO",
|
1831
|
-
"module": "src/services/cohere/cohereIO.ts"
|
1832
|
-
}
|
1833
|
-
},
|
1834
1738
|
{
|
1835
1739
|
"kind": "field",
|
1836
1740
|
"name": "permittedErrorPrefixes",
|
1837
1741
|
"type": {
|
1838
1742
|
"text": "array"
|
1839
1743
|
},
|
1840
|
-
"default": "['
|
1841
|
-
"inheritedFrom": {
|
1842
|
-
"name": "CohereIO",
|
1843
|
-
"module": "src/services/cohere/cohereIO.ts"
|
1844
|
-
}
|
1845
|
-
},
|
1846
|
-
{
|
1847
|
-
"kind": "field",
|
1848
|
-
"name": "url",
|
1849
|
-
"type": {
|
1850
|
-
"text": "string"
|
1851
|
-
},
|
1852
|
-
"default": "url",
|
1853
|
-
"inheritedFrom": {
|
1854
|
-
"name": "CohereIO",
|
1855
|
-
"module": "src/services/cohere/cohereIO.ts"
|
1856
|
-
}
|
1744
|
+
"default": "['Access']"
|
1857
1745
|
},
|
1858
1746
|
{
|
1859
1747
|
"kind": "field",
|
@@ -2217,6 +2105,35 @@
|
|
2217
2105
|
"module": "src/services/utils/baseServiceIO.ts"
|
2218
2106
|
}
|
2219
2107
|
},
|
2108
|
+
{
|
2109
|
+
"kind": "method",
|
2110
|
+
"name": "callServiceAPI",
|
2111
|
+
"parameters": [
|
2112
|
+
{
|
2113
|
+
"name": "messages",
|
2114
|
+
"type": {
|
2115
|
+
"text": "Messages"
|
2116
|
+
}
|
2117
|
+
},
|
2118
|
+
{
|
2119
|
+
"name": "pMessages",
|
2120
|
+
"type": {
|
2121
|
+
"text": "MessageContent[]"
|
2122
|
+
}
|
2123
|
+
},
|
2124
|
+
{
|
2125
|
+
"name": "_",
|
2126
|
+
"optional": true,
|
2127
|
+
"type": {
|
2128
|
+
"text": "File[]"
|
2129
|
+
}
|
2130
|
+
}
|
2131
|
+
],
|
2132
|
+
"inheritedFrom": {
|
2133
|
+
"name": "BaseServiceIO",
|
2134
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2135
|
+
}
|
2136
|
+
},
|
2220
2137
|
{
|
2221
2138
|
"kind": "method",
|
2222
2139
|
"name": "callApiWithFiles",
|
@@ -2272,33 +2189,54 @@
|
|
2272
2189
|
"name": "BaseServiceIO",
|
2273
2190
|
"module": "src/services/utils/baseServiceIO.ts"
|
2274
2191
|
}
|
2275
|
-
}
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2192
|
+
},
|
2193
|
+
{
|
2194
|
+
"kind": "method",
|
2195
|
+
"name": "extractResultData",
|
2196
|
+
"return": {
|
2197
|
+
"type": {
|
2198
|
+
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
2199
|
+
}
|
2200
|
+
},
|
2201
|
+
"parameters": [
|
2202
|
+
{
|
2203
|
+
"name": "result",
|
2204
|
+
"type": {
|
2205
|
+
"text": "any | CustomServiceResponse"
|
2206
|
+
}
|
2207
|
+
}
|
2208
|
+
],
|
2209
|
+
"inheritedFrom": {
|
2210
|
+
"name": "BaseServiceIO",
|
2211
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2212
|
+
}
|
2213
|
+
}
|
2214
|
+
],
|
2215
|
+
"superclass": {
|
2216
|
+
"name": "DirectServiceIO",
|
2217
|
+
"module": "/src/services/utils/directServiceIO"
|
2218
|
+
}
|
2219
|
+
}
|
2220
|
+
],
|
2221
|
+
"exports": [
|
2284
2222
|
{
|
2285
2223
|
"kind": "js",
|
2286
|
-
"name": "
|
2224
|
+
"name": "AzureLanguageIO",
|
2287
2225
|
"declaration": {
|
2288
|
-
"name": "
|
2289
|
-
"module": "src/services/
|
2226
|
+
"name": "AzureLanguageIO",
|
2227
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
2290
2228
|
}
|
2291
2229
|
}
|
2292
2230
|
]
|
2293
2231
|
},
|
2294
2232
|
{
|
2295
2233
|
"kind": "javascript-module",
|
2296
|
-
"path": "src/services/
|
2234
|
+
"path": "src/services/azure/azureSpeechIO.ts",
|
2297
2235
|
"declarations": [
|
2298
2236
|
{
|
2299
2237
|
"kind": "class",
|
2300
2238
|
"description": "",
|
2301
|
-
"name": "
|
2239
|
+
"name": "AzureSpeechIO",
|
2302
2240
|
"members": [
|
2303
2241
|
{
|
2304
2242
|
"kind": "field",
|
@@ -2306,7 +2244,7 @@
|
|
2306
2244
|
"type": {
|
2307
2245
|
"text": "string"
|
2308
2246
|
},
|
2309
|
-
"default": "'
|
2247
|
+
"default": "'Azure Speech Subscription Key'",
|
2310
2248
|
"inheritedFrom": {
|
2311
2249
|
"name": "DirectServiceIO",
|
2312
2250
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -2318,36 +2256,12 @@
|
|
2318
2256
|
"type": {
|
2319
2257
|
"text": "string"
|
2320
2258
|
},
|
2321
|
-
"default": "'https://
|
2259
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
2322
2260
|
"inheritedFrom": {
|
2323
2261
|
"name": "DirectServiceIO",
|
2324
2262
|
"module": "src/services/utils/directServiceIO.ts"
|
2325
2263
|
}
|
2326
2264
|
},
|
2327
|
-
{
|
2328
|
-
"kind": "field",
|
2329
|
-
"name": "textInputPlaceholderText",
|
2330
|
-
"type": {
|
2331
|
-
"text": "string"
|
2332
|
-
},
|
2333
|
-
"default": "inputPlaceholder"
|
2334
|
-
},
|
2335
|
-
{
|
2336
|
-
"kind": "field",
|
2337
|
-
"name": "permittedErrorPrefixes",
|
2338
|
-
"type": {
|
2339
|
-
"text": "array"
|
2340
|
-
},
|
2341
|
-
"default": "['invalid']"
|
2342
|
-
},
|
2343
|
-
{
|
2344
|
-
"kind": "field",
|
2345
|
-
"name": "url",
|
2346
|
-
"type": {
|
2347
|
-
"text": "string"
|
2348
|
-
},
|
2349
|
-
"default": "url"
|
2350
|
-
},
|
2351
2265
|
{
|
2352
2266
|
"kind": "field",
|
2353
2267
|
"name": "key",
|
@@ -2826,37 +2740,80 @@
|
|
2826
2740
|
"exports": [
|
2827
2741
|
{
|
2828
2742
|
"kind": "js",
|
2829
|
-
"name": "
|
2743
|
+
"name": "AzureSpeechIO",
|
2830
2744
|
"declaration": {
|
2831
|
-
"name": "
|
2832
|
-
"module": "src/services/
|
2745
|
+
"name": "AzureSpeechIO",
|
2746
|
+
"module": "src/services/azure/azureSpeechIO.ts"
|
2833
2747
|
}
|
2834
2748
|
}
|
2835
2749
|
]
|
2836
2750
|
},
|
2837
2751
|
{
|
2838
2752
|
"kind": "javascript-module",
|
2839
|
-
"path": "src/services/
|
2753
|
+
"path": "src/services/azure/azureSpeechToTextIO.ts",
|
2840
2754
|
"declarations": [
|
2841
2755
|
{
|
2842
2756
|
"kind": "class",
|
2843
2757
|
"description": "",
|
2844
|
-
"name": "
|
2758
|
+
"name": "AzureSpeechToTextIO",
|
2845
2759
|
"members": [
|
2760
|
+
{
|
2761
|
+
"kind": "field",
|
2762
|
+
"name": "HELP_LINK",
|
2763
|
+
"type": {
|
2764
|
+
"text": "string"
|
2765
|
+
},
|
2766
|
+
"privacy": "private",
|
2767
|
+
"static": true,
|
2768
|
+
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
2769
|
+
},
|
2770
|
+
{
|
2771
|
+
"kind": "field",
|
2772
|
+
"name": "introPanelMarkUp",
|
2773
|
+
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
|
2774
|
+
},
|
2775
|
+
{
|
2776
|
+
"kind": "field",
|
2777
|
+
"name": "url",
|
2778
|
+
"type": {
|
2779
|
+
"text": "string"
|
2780
|
+
},
|
2781
|
+
"default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
|
2782
|
+
},
|
2783
|
+
{
|
2784
|
+
"kind": "field",
|
2785
|
+
"name": "isTextInputDisabled",
|
2786
|
+
"type": {
|
2787
|
+
"text": "boolean"
|
2788
|
+
},
|
2789
|
+
"default": "true"
|
2790
|
+
},
|
2791
|
+
{
|
2792
|
+
"kind": "field",
|
2793
|
+
"name": "textInputPlaceholderText",
|
2794
|
+
"type": {
|
2795
|
+
"text": "string"
|
2796
|
+
},
|
2797
|
+
"default": "'Upload an audio file'"
|
2798
|
+
},
|
2846
2799
|
{
|
2847
2800
|
"kind": "method",
|
2848
|
-
"name": "
|
2801
|
+
"name": "canFileSendMessage",
|
2802
|
+
"privacy": "private",
|
2803
|
+
"static": true,
|
2849
2804
|
"parameters": [
|
2850
2805
|
{
|
2851
|
-
"name": "
|
2806
|
+
"name": "_",
|
2807
|
+
"optional": true,
|
2852
2808
|
"type": {
|
2853
|
-
"text": "
|
2809
|
+
"text": "string"
|
2854
2810
|
}
|
2855
2811
|
},
|
2856
2812
|
{
|
2857
|
-
"name": "
|
2813
|
+
"name": "files",
|
2814
|
+
"optional": true,
|
2858
2815
|
"type": {
|
2859
|
-
"text": "
|
2816
|
+
"text": "File[]"
|
2860
2817
|
}
|
2861
2818
|
}
|
2862
2819
|
]
|
@@ -2872,10 +2829,17 @@
|
|
2872
2829
|
}
|
2873
2830
|
},
|
2874
2831
|
{
|
2875
|
-
"name": "
|
2832
|
+
"name": "_",
|
2876
2833
|
"type": {
|
2877
2834
|
"text": "MessageContent[]"
|
2878
2835
|
}
|
2836
|
+
},
|
2837
|
+
{
|
2838
|
+
"name": "files",
|
2839
|
+
"optional": true,
|
2840
|
+
"type": {
|
2841
|
+
"text": "File[]"
|
2842
|
+
}
|
2879
2843
|
}
|
2880
2844
|
],
|
2881
2845
|
"inheritedFrom": {
|
@@ -2895,7 +2859,7 @@
|
|
2895
2859
|
{
|
2896
2860
|
"name": "result",
|
2897
2861
|
"type": {
|
2898
|
-
"text": "
|
2862
|
+
"text": "AzureSpeechToTextResult"
|
2899
2863
|
}
|
2900
2864
|
}
|
2901
2865
|
],
|
@@ -2906,62 +2870,67 @@
|
|
2906
2870
|
},
|
2907
2871
|
{
|
2908
2872
|
"kind": "field",
|
2909
|
-
"name": "
|
2873
|
+
"name": "canSendMessage",
|
2874
|
+
"privacy": "private",
|
2875
|
+
"static": true,
|
2876
|
+
"parameters": [
|
2877
|
+
{
|
2878
|
+
"name": "text",
|
2879
|
+
"optional": true,
|
2880
|
+
"type": {
|
2881
|
+
"text": "string"
|
2882
|
+
}
|
2883
|
+
},
|
2884
|
+
{
|
2885
|
+
"name": "files",
|
2886
|
+
"optional": true,
|
2887
|
+
"type": {
|
2888
|
+
"text": "File[]"
|
2889
|
+
}
|
2890
|
+
}
|
2891
|
+
],
|
2910
2892
|
"type": {
|
2911
|
-
"text": "
|
2893
|
+
"text": "ValidateMessageBeforeSending"
|
2912
2894
|
},
|
2913
|
-
"default": "'Cohere API Key'",
|
2914
2895
|
"inheritedFrom": {
|
2915
|
-
"name": "
|
2916
|
-
"module": "src/services/utils/
|
2896
|
+
"name": "BaseServiceIO",
|
2897
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2917
2898
|
}
|
2918
2899
|
},
|
2919
2900
|
{
|
2920
2901
|
"kind": "field",
|
2921
|
-
"name": "
|
2902
|
+
"name": "recordAudio",
|
2922
2903
|
"type": {
|
2923
|
-
"text": "
|
2904
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
2924
2905
|
},
|
2925
|
-
"default": "'https://dashboard.cohere.ai/api-keys'",
|
2926
2906
|
"inheritedFrom": {
|
2927
|
-
"name": "
|
2928
|
-
"module": "src/services/utils/
|
2929
|
-
}
|
2930
|
-
},
|
2931
|
-
{
|
2932
|
-
"kind": "field",
|
2933
|
-
"name": "textInputPlaceholderText",
|
2934
|
-
"type": {
|
2935
|
-
"text": "string"
|
2907
|
+
"name": "BaseServiceIO",
|
2908
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2936
2909
|
},
|
2937
|
-
"default": "
|
2938
|
-
"inheritedFrom": {
|
2939
|
-
"name": "CohereIO",
|
2940
|
-
"module": "src/services/cohere/cohereIO.ts"
|
2941
|
-
}
|
2910
|
+
"default": "undefined"
|
2942
2911
|
},
|
2943
2912
|
{
|
2944
2913
|
"kind": "field",
|
2945
|
-
"name": "
|
2914
|
+
"name": "insertKeyPlaceholderText",
|
2946
2915
|
"type": {
|
2947
|
-
"text": "
|
2916
|
+
"text": "string"
|
2948
2917
|
},
|
2949
|
-
"default": "
|
2918
|
+
"default": "'Azure Speech Subscription Key'",
|
2950
2919
|
"inheritedFrom": {
|
2951
|
-
"name": "
|
2952
|
-
"module": "src/services/
|
2920
|
+
"name": "DirectServiceIO",
|
2921
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2953
2922
|
}
|
2954
2923
|
},
|
2955
2924
|
{
|
2956
2925
|
"kind": "field",
|
2957
|
-
"name": "
|
2926
|
+
"name": "getKeyLink",
|
2958
2927
|
"type": {
|
2959
2928
|
"text": "string"
|
2960
2929
|
},
|
2961
|
-
"default": "
|
2930
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
2962
2931
|
"inheritedFrom": {
|
2963
|
-
"name": "
|
2964
|
-
"module": "src/services/
|
2932
|
+
"name": "DirectServiceIO",
|
2933
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2965
2934
|
}
|
2966
2935
|
},
|
2967
2936
|
{
|
@@ -3135,35 +3104,6 @@
|
|
3135
3104
|
"module": "src/services/utils/baseServiceIO.ts"
|
3136
3105
|
}
|
3137
3106
|
},
|
3138
|
-
{
|
3139
|
-
"kind": "field",
|
3140
|
-
"name": "canSendMessage",
|
3141
|
-
"privacy": "private",
|
3142
|
-
"static": true,
|
3143
|
-
"parameters": [
|
3144
|
-
{
|
3145
|
-
"name": "text",
|
3146
|
-
"optional": true,
|
3147
|
-
"type": {
|
3148
|
-
"text": "string"
|
3149
|
-
}
|
3150
|
-
},
|
3151
|
-
{
|
3152
|
-
"name": "files",
|
3153
|
-
"optional": true,
|
3154
|
-
"type": {
|
3155
|
-
"text": "File[]"
|
3156
|
-
}
|
3157
|
-
}
|
3158
|
-
],
|
3159
|
-
"type": {
|
3160
|
-
"text": "ValidateMessageBeforeSending"
|
3161
|
-
},
|
3162
|
-
"inheritedFrom": {
|
3163
|
-
"name": "BaseServiceIO",
|
3164
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3165
|
-
}
|
3166
|
-
},
|
3167
3107
|
{
|
3168
3108
|
"kind": "field",
|
3169
3109
|
"name": "fileTypes",
|
@@ -3187,17 +3127,6 @@
|
|
3187
3127
|
"module": "src/services/utils/baseServiceIO.ts"
|
3188
3128
|
}
|
3189
3129
|
},
|
3190
|
-
{
|
3191
|
-
"kind": "field",
|
3192
|
-
"name": "recordAudio",
|
3193
|
-
"type": {
|
3194
|
-
"text": "MicrophoneFilesServiceConfig | undefined"
|
3195
|
-
},
|
3196
|
-
"inheritedFrom": {
|
3197
|
-
"name": "BaseServiceIO",
|
3198
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3199
|
-
}
|
3200
|
-
},
|
3201
3130
|
{
|
3202
3131
|
"kind": "field",
|
3203
3132
|
"name": "totalMessagesMaxCharLength",
|
@@ -3384,31 +3313,55 @@
|
|
3384
3313
|
}
|
3385
3314
|
],
|
3386
3315
|
"superclass": {
|
3387
|
-
"name": "
|
3388
|
-
"module": "/src/services/
|
3316
|
+
"name": "AzureSpeechIO",
|
3317
|
+
"module": "/src/services/azure/azureSpeechIO"
|
3389
3318
|
}
|
3390
3319
|
}
|
3391
3320
|
],
|
3392
3321
|
"exports": [
|
3393
3322
|
{
|
3394
3323
|
"kind": "js",
|
3395
|
-
"name": "
|
3324
|
+
"name": "AzureSpeechToTextIO",
|
3396
3325
|
"declaration": {
|
3397
|
-
"name": "
|
3398
|
-
"module": "src/services/
|
3326
|
+
"name": "AzureSpeechToTextIO",
|
3327
|
+
"module": "src/services/azure/azureSpeechToTextIO.ts"
|
3399
3328
|
}
|
3400
3329
|
}
|
3401
3330
|
]
|
3402
3331
|
},
|
3403
3332
|
{
|
3404
3333
|
"kind": "javascript-module",
|
3405
|
-
"path": "src/services/
|
3334
|
+
"path": "src/services/azure/azureSummarizationIO.ts",
|
3406
3335
|
"declarations": [
|
3407
3336
|
{
|
3408
3337
|
"kind": "class",
|
3409
3338
|
"description": "",
|
3410
|
-
"name": "
|
3339
|
+
"name": "AzureSummarizationIO",
|
3411
3340
|
"members": [
|
3341
|
+
{
|
3342
|
+
"kind": "field",
|
3343
|
+
"name": "url",
|
3344
|
+
"type": {
|
3345
|
+
"text": "string"
|
3346
|
+
},
|
3347
|
+
"default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
|
3348
|
+
},
|
3349
|
+
{
|
3350
|
+
"kind": "field",
|
3351
|
+
"name": "textInputPlaceholderText",
|
3352
|
+
"type": {
|
3353
|
+
"text": "string"
|
3354
|
+
},
|
3355
|
+
"default": "'Insert text to summarize'"
|
3356
|
+
},
|
3357
|
+
{
|
3358
|
+
"kind": "field",
|
3359
|
+
"name": "messages",
|
3360
|
+
"type": {
|
3361
|
+
"text": "Messages | undefined"
|
3362
|
+
},
|
3363
|
+
"privacy": "private"
|
3364
|
+
},
|
3412
3365
|
{
|
3413
3366
|
"kind": "method",
|
3414
3367
|
"name": "preprocessBody",
|
@@ -3416,7 +3369,7 @@
|
|
3416
3369
|
{
|
3417
3370
|
"name": "body",
|
3418
3371
|
"type": {
|
3419
|
-
"text": "
|
3372
|
+
"text": "RawBody"
|
3420
3373
|
}
|
3421
3374
|
},
|
3422
3375
|
{
|
@@ -3454,14 +3407,14 @@
|
|
3454
3407
|
"name": "extractResultData",
|
3455
3408
|
"return": {
|
3456
3409
|
"type": {
|
3457
|
-
"text": "Promise<
|
3410
|
+
"text": "Promise<{pollingInAnotherRequest: true}>"
|
3458
3411
|
}
|
3459
3412
|
},
|
3460
3413
|
"parameters": [
|
3461
3414
|
{
|
3462
3415
|
"name": "result",
|
3463
3416
|
"type": {
|
3464
|
-
"text": "
|
3417
|
+
"text": "Response & AzureAuthenticationError"
|
3465
3418
|
}
|
3466
3419
|
}
|
3467
3420
|
],
|
@@ -3470,25 +3423,38 @@
|
|
3470
3423
|
"module": "src/services/utils/baseServiceIO.ts"
|
3471
3424
|
}
|
3472
3425
|
},
|
3426
|
+
{
|
3427
|
+
"kind": "method",
|
3428
|
+
"name": "extractPollResultData",
|
3429
|
+
"return": {
|
3430
|
+
"type": {
|
3431
|
+
"text": "PollResult"
|
3432
|
+
}
|
3433
|
+
},
|
3434
|
+
"parameters": [
|
3435
|
+
{
|
3436
|
+
"name": "result",
|
3437
|
+
"type": {
|
3438
|
+
"text": "AzureSummarizationResult"
|
3439
|
+
}
|
3440
|
+
}
|
3441
|
+
]
|
3442
|
+
},
|
3473
3443
|
{
|
3474
3444
|
"kind": "field",
|
3475
|
-
"name": "
|
3445
|
+
"name": "language",
|
3476
3446
|
"type": {
|
3477
3447
|
"text": "string"
|
3478
3448
|
},
|
3479
|
-
"default": "'
|
3480
|
-
"inheritedFrom": {
|
3481
|
-
"name": "DirectServiceIO",
|
3482
|
-
"module": "src/services/utils/directServiceIO.ts"
|
3483
|
-
}
|
3449
|
+
"default": "'en'"
|
3484
3450
|
},
|
3485
3451
|
{
|
3486
3452
|
"kind": "field",
|
3487
|
-
"name": "
|
3453
|
+
"name": "insertKeyPlaceholderText",
|
3488
3454
|
"type": {
|
3489
3455
|
"text": "string"
|
3490
3456
|
},
|
3491
|
-
"default": "'
|
3457
|
+
"default": "'Azure Language Subscription Key'",
|
3492
3458
|
"inheritedFrom": {
|
3493
3459
|
"name": "DirectServiceIO",
|
3494
3460
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -3496,14 +3462,14 @@
|
|
3496
3462
|
},
|
3497
3463
|
{
|
3498
3464
|
"kind": "field",
|
3499
|
-
"name": "
|
3465
|
+
"name": "getKeyLink",
|
3500
3466
|
"type": {
|
3501
3467
|
"text": "string"
|
3502
3468
|
},
|
3503
|
-
"default": "
|
3469
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
3504
3470
|
"inheritedFrom": {
|
3505
|
-
"name": "
|
3506
|
-
"module": "src/services/
|
3471
|
+
"name": "DirectServiceIO",
|
3472
|
+
"module": "src/services/utils/directServiceIO.ts"
|
3507
3473
|
}
|
3508
3474
|
},
|
3509
3475
|
{
|
@@ -3512,22 +3478,10 @@
|
|
3512
3478
|
"type": {
|
3513
3479
|
"text": "array"
|
3514
3480
|
},
|
3515
|
-
"default": "['
|
3516
|
-
"inheritedFrom": {
|
3517
|
-
"name": "CohereIO",
|
3518
|
-
"module": "src/services/cohere/cohereIO.ts"
|
3519
|
-
}
|
3520
|
-
},
|
3521
|
-
{
|
3522
|
-
"kind": "field",
|
3523
|
-
"name": "url",
|
3524
|
-
"type": {
|
3525
|
-
"text": "string"
|
3526
|
-
},
|
3527
|
-
"default": "url",
|
3481
|
+
"default": "['Access']",
|
3528
3482
|
"inheritedFrom": {
|
3529
|
-
"name": "
|
3530
|
-
"module": "src/services/
|
3483
|
+
"name": "AzureLanguageIO",
|
3484
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
3531
3485
|
}
|
3532
3486
|
},
|
3533
3487
|
{
|
@@ -3950,50 +3904,146 @@
|
|
3950
3904
|
}
|
3951
3905
|
],
|
3952
3906
|
"superclass": {
|
3953
|
-
"name": "
|
3954
|
-
"module": "/src/services/
|
3907
|
+
"name": "AzureLanguageIO",
|
3908
|
+
"module": "/src/services/azure/azureLanguageIO"
|
3955
3909
|
}
|
3956
3910
|
}
|
3957
3911
|
],
|
3958
3912
|
"exports": [
|
3959
3913
|
{
|
3960
3914
|
"kind": "js",
|
3961
|
-
"name": "
|
3915
|
+
"name": "AzureSummarizationIO",
|
3962
3916
|
"declaration": {
|
3963
|
-
"name": "
|
3964
|
-
"module": "src/services/
|
3917
|
+
"name": "AzureSummarizationIO",
|
3918
|
+
"module": "src/services/azure/azureSummarizationIO.ts"
|
3965
3919
|
}
|
3966
3920
|
}
|
3967
3921
|
]
|
3968
3922
|
},
|
3969
3923
|
{
|
3970
3924
|
"kind": "javascript-module",
|
3971
|
-
"path": "src/services/azure/
|
3925
|
+
"path": "src/services/azure/azureTextToSpeechIO.ts",
|
3972
3926
|
"declarations": [
|
3973
3927
|
{
|
3974
3928
|
"kind": "class",
|
3975
3929
|
"description": "",
|
3976
|
-
"name": "
|
3930
|
+
"name": "AzureTextToSpeechIO",
|
3977
3931
|
"members": [
|
3978
3932
|
{
|
3979
3933
|
"kind": "field",
|
3980
|
-
"name": "
|
3934
|
+
"name": "HELP_LINK",
|
3981
3935
|
"type": {
|
3982
3936
|
"text": "string"
|
3983
3937
|
},
|
3984
|
-
"
|
3938
|
+
"privacy": "private",
|
3939
|
+
"static": true,
|
3940
|
+
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
3941
|
+
},
|
3942
|
+
{
|
3943
|
+
"kind": "field",
|
3944
|
+
"name": "introPanelMarkUp",
|
3945
|
+
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
|
3946
|
+
},
|
3947
|
+
{
|
3948
|
+
"kind": "field",
|
3949
|
+
"name": "url",
|
3950
|
+
"type": {
|
3951
|
+
"text": "string"
|
3952
|
+
},
|
3953
|
+
"default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
|
3954
|
+
},
|
3955
|
+
{
|
3956
|
+
"kind": "method",
|
3957
|
+
"name": "preprocessBody",
|
3958
|
+
"parameters": [
|
3959
|
+
{
|
3960
|
+
"name": "body",
|
3961
|
+
"type": {
|
3962
|
+
"text": "AzureTextToSpeechConfig"
|
3963
|
+
}
|
3964
|
+
},
|
3965
|
+
{
|
3966
|
+
"name": "messages",
|
3967
|
+
"type": {
|
3968
|
+
"text": "MessageContent[]"
|
3969
|
+
}
|
3970
|
+
}
|
3971
|
+
]
|
3972
|
+
},
|
3973
|
+
{
|
3974
|
+
"kind": "method",
|
3975
|
+
"name": "callServiceAPI",
|
3976
|
+
"parameters": [
|
3977
|
+
{
|
3978
|
+
"name": "messages",
|
3979
|
+
"type": {
|
3980
|
+
"text": "Messages"
|
3981
|
+
}
|
3982
|
+
},
|
3983
|
+
{
|
3984
|
+
"name": "pMessages",
|
3985
|
+
"type": {
|
3986
|
+
"text": "MessageContent[]"
|
3987
|
+
}
|
3988
|
+
}
|
3989
|
+
],
|
3985
3990
|
"inheritedFrom": {
|
3986
|
-
"name": "
|
3987
|
-
"module": "src/services/utils/
|
3991
|
+
"name": "BaseServiceIO",
|
3992
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
3993
|
+
}
|
3994
|
+
},
|
3995
|
+
{
|
3996
|
+
"kind": "method",
|
3997
|
+
"name": "extractResultData",
|
3998
|
+
"return": {
|
3999
|
+
"type": {
|
4000
|
+
"text": "Promise<Result>"
|
4001
|
+
}
|
4002
|
+
},
|
4003
|
+
"parameters": [
|
4004
|
+
{
|
4005
|
+
"name": "result",
|
4006
|
+
"type": {
|
4007
|
+
"text": "AzureTextToSpeechResult"
|
4008
|
+
}
|
4009
|
+
}
|
4010
|
+
],
|
4011
|
+
"inheritedFrom": {
|
4012
|
+
"name": "BaseServiceIO",
|
4013
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
3988
4014
|
}
|
3989
4015
|
},
|
3990
4016
|
{
|
3991
4017
|
"kind": "field",
|
3992
|
-
"name": "
|
4018
|
+
"name": "lang",
|
3993
4019
|
"type": {
|
3994
4020
|
"text": "string"
|
3995
4021
|
},
|
3996
|
-
"default": "'
|
4022
|
+
"default": "'en-US'"
|
4023
|
+
},
|
4024
|
+
{
|
4025
|
+
"kind": "field",
|
4026
|
+
"name": "name",
|
4027
|
+
"type": {
|
4028
|
+
"text": "string"
|
4029
|
+
},
|
4030
|
+
"default": "'en-US-JennyNeural'"
|
4031
|
+
},
|
4032
|
+
{
|
4033
|
+
"kind": "field",
|
4034
|
+
"name": "gender",
|
4035
|
+
"type": {
|
4036
|
+
"text": "string"
|
4037
|
+
},
|
4038
|
+
"default": "'Female'"
|
4039
|
+
},
|
4040
|
+
{
|
4041
|
+
"kind": "field",
|
4042
|
+
"name": "insertKeyPlaceholderText",
|
4043
|
+
"type": {
|
4044
|
+
"text": "string"
|
4045
|
+
},
|
4046
|
+
"default": "'Azure Speech Subscription Key'",
|
3997
4047
|
"inheritedFrom": {
|
3998
4048
|
"name": "DirectServiceIO",
|
3999
4049
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4001,11 +4051,15 @@
|
|
4001
4051
|
},
|
4002
4052
|
{
|
4003
4053
|
"kind": "field",
|
4004
|
-
"name": "
|
4054
|
+
"name": "getKeyLink",
|
4005
4055
|
"type": {
|
4006
|
-
"text": "
|
4056
|
+
"text": "string"
|
4007
4057
|
},
|
4008
|
-
"default": "
|
4058
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
4059
|
+
"inheritedFrom": {
|
4060
|
+
"name": "DirectServiceIO",
|
4061
|
+
"module": "src/services/utils/directServiceIO.ts"
|
4062
|
+
}
|
4009
4063
|
},
|
4010
4064
|
{
|
4011
4065
|
"kind": "field",
|
@@ -4369,35 +4423,6 @@
|
|
4369
4423
|
"module": "src/services/utils/baseServiceIO.ts"
|
4370
4424
|
}
|
4371
4425
|
},
|
4372
|
-
{
|
4373
|
-
"kind": "method",
|
4374
|
-
"name": "callServiceAPI",
|
4375
|
-
"parameters": [
|
4376
|
-
{
|
4377
|
-
"name": "messages",
|
4378
|
-
"type": {
|
4379
|
-
"text": "Messages"
|
4380
|
-
}
|
4381
|
-
},
|
4382
|
-
{
|
4383
|
-
"name": "pMessages",
|
4384
|
-
"type": {
|
4385
|
-
"text": "MessageContent[]"
|
4386
|
-
}
|
4387
|
-
},
|
4388
|
-
{
|
4389
|
-
"name": "_",
|
4390
|
-
"optional": true,
|
4391
|
-
"type": {
|
4392
|
-
"text": "File[]"
|
4393
|
-
}
|
4394
|
-
}
|
4395
|
-
],
|
4396
|
-
"inheritedFrom": {
|
4397
|
-
"name": "BaseServiceIO",
|
4398
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4399
|
-
}
|
4400
|
-
},
|
4401
4426
|
{
|
4402
4427
|
"kind": "method",
|
4403
4428
|
"name": "callApiWithFiles",
|
@@ -4453,54 +4478,33 @@
|
|
4453
4478
|
"name": "BaseServiceIO",
|
4454
4479
|
"module": "src/services/utils/baseServiceIO.ts"
|
4455
4480
|
}
|
4456
|
-
},
|
4457
|
-
{
|
4458
|
-
"kind": "method",
|
4459
|
-
"name": "extractResultData",
|
4460
|
-
"return": {
|
4461
|
-
"type": {
|
4462
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
4463
|
-
}
|
4464
|
-
},
|
4465
|
-
"parameters": [
|
4466
|
-
{
|
4467
|
-
"name": "result",
|
4468
|
-
"type": {
|
4469
|
-
"text": "any | CustomServiceResponse"
|
4470
|
-
}
|
4471
|
-
}
|
4472
|
-
],
|
4473
|
-
"inheritedFrom": {
|
4474
|
-
"name": "BaseServiceIO",
|
4475
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4476
|
-
}
|
4477
4481
|
}
|
4478
4482
|
],
|
4479
4483
|
"superclass": {
|
4480
|
-
"name": "
|
4481
|
-
"module": "/src/services/
|
4484
|
+
"name": "AzureSpeechIO",
|
4485
|
+
"module": "/src/services/azure/azureSpeechIO"
|
4482
4486
|
}
|
4483
4487
|
}
|
4484
4488
|
],
|
4485
4489
|
"exports": [
|
4486
4490
|
{
|
4487
4491
|
"kind": "js",
|
4488
|
-
"name": "
|
4492
|
+
"name": "AzureTextToSpeechIO",
|
4489
4493
|
"declaration": {
|
4490
|
-
"name": "
|
4491
|
-
"module": "src/services/azure/
|
4494
|
+
"name": "AzureTextToSpeechIO",
|
4495
|
+
"module": "src/services/azure/azureTextToSpeechIO.ts"
|
4492
4496
|
}
|
4493
4497
|
}
|
4494
4498
|
]
|
4495
4499
|
},
|
4496
4500
|
{
|
4497
4501
|
"kind": "javascript-module",
|
4498
|
-
"path": "src/services/azure/
|
4502
|
+
"path": "src/services/azure/azureTranslationIO.ts",
|
4499
4503
|
"declarations": [
|
4500
4504
|
{
|
4501
4505
|
"kind": "class",
|
4502
4506
|
"description": "",
|
4503
|
-
"name": "
|
4507
|
+
"name": "AzureTranslationIO",
|
4504
4508
|
"members": [
|
4505
4509
|
{
|
4506
4510
|
"kind": "field",
|
@@ -4508,7 +4512,7 @@
|
|
4508
4512
|
"type": {
|
4509
4513
|
"text": "string"
|
4510
4514
|
},
|
4511
|
-
"default": "'Azure
|
4515
|
+
"default": "'Azure Translate Subscription Key'",
|
4512
4516
|
"inheritedFrom": {
|
4513
4517
|
"name": "DirectServiceIO",
|
4514
4518
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4526,6 +4530,69 @@
|
|
4526
4530
|
"module": "src/services/utils/directServiceIO.ts"
|
4527
4531
|
}
|
4528
4532
|
},
|
4533
|
+
{
|
4534
|
+
"kind": "field",
|
4535
|
+
"name": "url",
|
4536
|
+
"type": {
|
4537
|
+
"text": "string"
|
4538
|
+
},
|
4539
|
+
"default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
|
4540
|
+
},
|
4541
|
+
{
|
4542
|
+
"kind": "method",
|
4543
|
+
"name": "preprocessBody",
|
4544
|
+
"parameters": [
|
4545
|
+
{
|
4546
|
+
"name": "messages",
|
4547
|
+
"type": {
|
4548
|
+
"text": "MessageContent[]"
|
4549
|
+
}
|
4550
|
+
}
|
4551
|
+
]
|
4552
|
+
},
|
4553
|
+
{
|
4554
|
+
"kind": "method",
|
4555
|
+
"name": "callServiceAPI",
|
4556
|
+
"parameters": [
|
4557
|
+
{
|
4558
|
+
"name": "messages",
|
4559
|
+
"type": {
|
4560
|
+
"text": "Messages"
|
4561
|
+
}
|
4562
|
+
},
|
4563
|
+
{
|
4564
|
+
"name": "pMessages",
|
4565
|
+
"type": {
|
4566
|
+
"text": "MessageContent[]"
|
4567
|
+
}
|
4568
|
+
}
|
4569
|
+
],
|
4570
|
+
"inheritedFrom": {
|
4571
|
+
"name": "BaseServiceIO",
|
4572
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4573
|
+
}
|
4574
|
+
},
|
4575
|
+
{
|
4576
|
+
"kind": "method",
|
4577
|
+
"name": "extractResultData",
|
4578
|
+
"return": {
|
4579
|
+
"type": {
|
4580
|
+
"text": "Promise<Result>"
|
4581
|
+
}
|
4582
|
+
},
|
4583
|
+
"parameters": [
|
4584
|
+
{
|
4585
|
+
"name": "result",
|
4586
|
+
"type": {
|
4587
|
+
"text": "AzureTranslationResult"
|
4588
|
+
}
|
4589
|
+
}
|
4590
|
+
],
|
4591
|
+
"inheritedFrom": {
|
4592
|
+
"name": "BaseServiceIO",
|
4593
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4594
|
+
}
|
4595
|
+
},
|
4529
4596
|
{
|
4530
4597
|
"kind": "field",
|
4531
4598
|
"name": "key",
|
@@ -4888,35 +4955,6 @@
|
|
4888
4955
|
"module": "src/services/utils/baseServiceIO.ts"
|
4889
4956
|
}
|
4890
4957
|
},
|
4891
|
-
{
|
4892
|
-
"kind": "method",
|
4893
|
-
"name": "callServiceAPI",
|
4894
|
-
"parameters": [
|
4895
|
-
{
|
4896
|
-
"name": "messages",
|
4897
|
-
"type": {
|
4898
|
-
"text": "Messages"
|
4899
|
-
}
|
4900
|
-
},
|
4901
|
-
{
|
4902
|
-
"name": "pMessages",
|
4903
|
-
"type": {
|
4904
|
-
"text": "MessageContent[]"
|
4905
|
-
}
|
4906
|
-
},
|
4907
|
-
{
|
4908
|
-
"name": "_",
|
4909
|
-
"optional": true,
|
4910
|
-
"type": {
|
4911
|
-
"text": "File[]"
|
4912
|
-
}
|
4913
|
-
}
|
4914
|
-
],
|
4915
|
-
"inheritedFrom": {
|
4916
|
-
"name": "BaseServiceIO",
|
4917
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4918
|
-
}
|
4919
|
-
},
|
4920
4958
|
{
|
4921
4959
|
"kind": "method",
|
4922
4960
|
"name": "callApiWithFiles",
|
@@ -4972,27 +5010,6 @@
|
|
4972
5010
|
"name": "BaseServiceIO",
|
4973
5011
|
"module": "src/services/utils/baseServiceIO.ts"
|
4974
5012
|
}
|
4975
|
-
},
|
4976
|
-
{
|
4977
|
-
"kind": "method",
|
4978
|
-
"name": "extractResultData",
|
4979
|
-
"return": {
|
4980
|
-
"type": {
|
4981
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
4982
|
-
}
|
4983
|
-
},
|
4984
|
-
"parameters": [
|
4985
|
-
{
|
4986
|
-
"name": "result",
|
4987
|
-
"type": {
|
4988
|
-
"text": "any | CustomServiceResponse"
|
4989
|
-
}
|
4990
|
-
}
|
4991
|
-
],
|
4992
|
-
"inheritedFrom": {
|
4993
|
-
"name": "BaseServiceIO",
|
4994
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4995
|
-
}
|
4996
5013
|
}
|
4997
5014
|
],
|
4998
5015
|
"superclass": {
|
@@ -5004,80 +5021,60 @@
|
|
5004
5021
|
"exports": [
|
5005
5022
|
{
|
5006
5023
|
"kind": "js",
|
5007
|
-
"name": "
|
5024
|
+
"name": "AzureTranslationIO",
|
5008
5025
|
"declaration": {
|
5009
|
-
"name": "
|
5010
|
-
"module": "src/services/azure/
|
5026
|
+
"name": "AzureTranslationIO",
|
5027
|
+
"module": "src/services/azure/azureTranslationIO.ts"
|
5011
5028
|
}
|
5012
5029
|
}
|
5013
5030
|
]
|
5014
5031
|
},
|
5015
5032
|
{
|
5016
5033
|
"kind": "javascript-module",
|
5017
|
-
"path": "src/services/
|
5034
|
+
"path": "src/services/cohere/cohereChatIO.ts",
|
5018
5035
|
"declarations": [
|
5019
5036
|
{
|
5020
5037
|
"kind": "class",
|
5021
5038
|
"description": "",
|
5022
|
-
"name": "
|
5039
|
+
"name": "CohereChatIO",
|
5023
5040
|
"members": [
|
5024
5041
|
{
|
5025
5042
|
"kind": "field",
|
5026
|
-
"name": "
|
5043
|
+
"name": "username",
|
5027
5044
|
"type": {
|
5028
5045
|
"text": "string"
|
5029
5046
|
},
|
5030
5047
|
"privacy": "private",
|
5031
|
-
"
|
5032
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
5033
|
-
},
|
5034
|
-
{
|
5035
|
-
"kind": "field",
|
5036
|
-
"name": "introPanelMarkUp",
|
5037
|
-
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
|
5038
|
-
},
|
5039
|
-
{
|
5040
|
-
"kind": "field",
|
5041
|
-
"name": "url",
|
5042
|
-
"type": {
|
5043
|
-
"text": "string"
|
5044
|
-
},
|
5045
|
-
"default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
|
5046
|
-
},
|
5047
|
-
{
|
5048
|
-
"kind": "field",
|
5049
|
-
"name": "isTextInputDisabled",
|
5050
|
-
"type": {
|
5051
|
-
"text": "boolean"
|
5052
|
-
},
|
5053
|
-
"default": "true"
|
5048
|
+
"default": "'USER'"
|
5054
5049
|
},
|
5055
5050
|
{
|
5056
|
-
"kind": "
|
5057
|
-
"name": "
|
5058
|
-
"
|
5059
|
-
|
5060
|
-
|
5061
|
-
|
5051
|
+
"kind": "method",
|
5052
|
+
"name": "cleanConfig",
|
5053
|
+
"privacy": "private",
|
5054
|
+
"parameters": [
|
5055
|
+
{
|
5056
|
+
"name": "config",
|
5057
|
+
"type": {
|
5058
|
+
"text": "CohereChatConfig"
|
5059
|
+
}
|
5060
|
+
}
|
5061
|
+
]
|
5062
5062
|
},
|
5063
5063
|
{
|
5064
5064
|
"kind": "method",
|
5065
|
-
"name": "
|
5065
|
+
"name": "preprocessBody",
|
5066
5066
|
"privacy": "private",
|
5067
|
-
"static": true,
|
5068
5067
|
"parameters": [
|
5069
5068
|
{
|
5070
|
-
"name": "
|
5071
|
-
"optional": true,
|
5069
|
+
"name": "body",
|
5072
5070
|
"type": {
|
5073
|
-
"text": "
|
5071
|
+
"text": "CohereChatConfig"
|
5074
5072
|
}
|
5075
5073
|
},
|
5076
5074
|
{
|
5077
|
-
"name": "
|
5078
|
-
"optional": true,
|
5075
|
+
"name": "pMessages",
|
5079
5076
|
"type": {
|
5080
|
-
"text": "
|
5077
|
+
"text": "MessageContent[]"
|
5081
5078
|
}
|
5082
5079
|
}
|
5083
5080
|
]
|
@@ -5093,17 +5090,10 @@
|
|
5093
5090
|
}
|
5094
5091
|
},
|
5095
5092
|
{
|
5096
|
-
"name": "
|
5093
|
+
"name": "pMessages",
|
5097
5094
|
"type": {
|
5098
5095
|
"text": "MessageContent[]"
|
5099
5096
|
}
|
5100
|
-
},
|
5101
|
-
{
|
5102
|
-
"name": "files",
|
5103
|
-
"optional": true,
|
5104
|
-
"type": {
|
5105
|
-
"text": "File[]"
|
5106
|
-
}
|
5107
5097
|
}
|
5108
5098
|
],
|
5109
5099
|
"inheritedFrom": {
|
@@ -5123,7 +5113,7 @@
|
|
5123
5113
|
{
|
5124
5114
|
"name": "result",
|
5125
5115
|
"type": {
|
5126
|
-
"text": "
|
5116
|
+
"text": "CohereChatResult"
|
5127
5117
|
}
|
5128
5118
|
}
|
5129
5119
|
],
|
@@ -5134,67 +5124,62 @@
|
|
5134
5124
|
},
|
5135
5125
|
{
|
5136
5126
|
"kind": "field",
|
5137
|
-
"name": "
|
5138
|
-
"privacy": "private",
|
5139
|
-
"static": true,
|
5140
|
-
"parameters": [
|
5141
|
-
{
|
5142
|
-
"name": "text",
|
5143
|
-
"optional": true,
|
5144
|
-
"type": {
|
5145
|
-
"text": "string"
|
5146
|
-
}
|
5147
|
-
},
|
5148
|
-
{
|
5149
|
-
"name": "files",
|
5150
|
-
"optional": true,
|
5151
|
-
"type": {
|
5152
|
-
"text": "File[]"
|
5153
|
-
}
|
5154
|
-
}
|
5155
|
-
],
|
5127
|
+
"name": "insertKeyPlaceholderText",
|
5156
5128
|
"type": {
|
5157
|
-
"text": "
|
5129
|
+
"text": "string"
|
5158
5130
|
},
|
5131
|
+
"default": "'Cohere API Key'",
|
5159
5132
|
"inheritedFrom": {
|
5160
|
-
"name": "
|
5161
|
-
"module": "src/services/utils/
|
5133
|
+
"name": "DirectServiceIO",
|
5134
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5162
5135
|
}
|
5163
5136
|
},
|
5164
5137
|
{
|
5165
5138
|
"kind": "field",
|
5166
|
-
"name": "
|
5139
|
+
"name": "getKeyLink",
|
5167
5140
|
"type": {
|
5168
|
-
"text": "
|
5141
|
+
"text": "string"
|
5169
5142
|
},
|
5143
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
5170
5144
|
"inheritedFrom": {
|
5171
|
-
"name": "
|
5172
|
-
"module": "src/services/utils/
|
5173
|
-
}
|
5174
|
-
"default": "undefined"
|
5145
|
+
"name": "DirectServiceIO",
|
5146
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5147
|
+
}
|
5175
5148
|
},
|
5176
5149
|
{
|
5177
5150
|
"kind": "field",
|
5178
|
-
"name": "
|
5151
|
+
"name": "textInputPlaceholderText",
|
5179
5152
|
"type": {
|
5180
5153
|
"text": "string"
|
5181
5154
|
},
|
5182
|
-
"default": "
|
5155
|
+
"default": "inputPlaceholder",
|
5183
5156
|
"inheritedFrom": {
|
5184
|
-
"name": "
|
5185
|
-
"module": "src/services/
|
5157
|
+
"name": "CohereIO",
|
5158
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5186
5159
|
}
|
5187
5160
|
},
|
5188
5161
|
{
|
5189
5162
|
"kind": "field",
|
5190
|
-
"name": "
|
5163
|
+
"name": "permittedErrorPrefixes",
|
5164
|
+
"type": {
|
5165
|
+
"text": "array"
|
5166
|
+
},
|
5167
|
+
"default": "['invalid']",
|
5168
|
+
"inheritedFrom": {
|
5169
|
+
"name": "CohereIO",
|
5170
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5171
|
+
}
|
5172
|
+
},
|
5173
|
+
{
|
5174
|
+
"kind": "field",
|
5175
|
+
"name": "url",
|
5191
5176
|
"type": {
|
5192
5177
|
"text": "string"
|
5193
5178
|
},
|
5194
|
-
"default": "
|
5179
|
+
"default": "url",
|
5195
5180
|
"inheritedFrom": {
|
5196
|
-
"name": "
|
5197
|
-
"module": "src/services/
|
5181
|
+
"name": "CohereIO",
|
5182
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5198
5183
|
}
|
5199
5184
|
},
|
5200
5185
|
{
|
@@ -5368,6 +5353,35 @@
|
|
5368
5353
|
"module": "src/services/utils/baseServiceIO.ts"
|
5369
5354
|
}
|
5370
5355
|
},
|
5356
|
+
{
|
5357
|
+
"kind": "field",
|
5358
|
+
"name": "canSendMessage",
|
5359
|
+
"privacy": "private",
|
5360
|
+
"static": true,
|
5361
|
+
"parameters": [
|
5362
|
+
{
|
5363
|
+
"name": "text",
|
5364
|
+
"optional": true,
|
5365
|
+
"type": {
|
5366
|
+
"text": "string"
|
5367
|
+
}
|
5368
|
+
},
|
5369
|
+
{
|
5370
|
+
"name": "files",
|
5371
|
+
"optional": true,
|
5372
|
+
"type": {
|
5373
|
+
"text": "File[]"
|
5374
|
+
}
|
5375
|
+
}
|
5376
|
+
],
|
5377
|
+
"type": {
|
5378
|
+
"text": "ValidateMessageBeforeSending"
|
5379
|
+
},
|
5380
|
+
"inheritedFrom": {
|
5381
|
+
"name": "BaseServiceIO",
|
5382
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5383
|
+
}
|
5384
|
+
},
|
5371
5385
|
{
|
5372
5386
|
"kind": "field",
|
5373
5387
|
"name": "fileTypes",
|
@@ -5391,6 +5405,17 @@
|
|
5391
5405
|
"module": "src/services/utils/baseServiceIO.ts"
|
5392
5406
|
}
|
5393
5407
|
},
|
5408
|
+
{
|
5409
|
+
"kind": "field",
|
5410
|
+
"name": "recordAudio",
|
5411
|
+
"type": {
|
5412
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
5413
|
+
},
|
5414
|
+
"inheritedFrom": {
|
5415
|
+
"name": "BaseServiceIO",
|
5416
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5417
|
+
}
|
5418
|
+
},
|
5394
5419
|
{
|
5395
5420
|
"kind": "field",
|
5396
5421
|
"name": "totalMessagesMaxCharLength",
|
@@ -5563,162 +5588,52 @@
|
|
5563
5588
|
"text": "RequestContents"
|
5564
5589
|
}
|
5565
5590
|
},
|
5566
|
-
{
|
5567
|
-
"name": "messages",
|
5568
|
-
"type": {
|
5569
|
-
"text": "Messages"
|
5570
|
-
}
|
5571
|
-
}
|
5572
|
-
],
|
5573
|
-
"inheritedFrom": {
|
5574
|
-
"name": "BaseServiceIO",
|
5575
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5576
|
-
}
|
5577
|
-
}
|
5578
|
-
],
|
5579
|
-
"superclass": {
|
5580
|
-
"name": "
|
5581
|
-
"module": "/src/services/
|
5582
|
-
}
|
5583
|
-
}
|
5584
|
-
],
|
5585
|
-
"exports": [
|
5586
|
-
{
|
5587
|
-
"kind": "js",
|
5588
|
-
"name": "
|
5589
|
-
"declaration": {
|
5590
|
-
"name": "
|
5591
|
-
"module": "src/services/
|
5592
|
-
}
|
5593
|
-
}
|
5594
|
-
]
|
5595
|
-
},
|
5596
|
-
{
|
5597
|
-
"kind": "javascript-module",
|
5598
|
-
"path": "src/services/
|
5599
|
-
"declarations": [
|
5600
|
-
{
|
5601
|
-
"kind": "class",
|
5602
|
-
"description": "",
|
5603
|
-
"name": "
|
5604
|
-
"members": [
|
5605
|
-
{
|
5606
|
-
"kind": "field",
|
5607
|
-
"name": "url",
|
5608
|
-
"type": {
|
5609
|
-
"text": "string"
|
5610
|
-
},
|
5611
|
-
"default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
|
5612
|
-
},
|
5613
|
-
{
|
5614
|
-
"kind": "field",
|
5615
|
-
"name": "textInputPlaceholderText",
|
5616
|
-
"type": {
|
5617
|
-
"text": "string"
|
5618
|
-
},
|
5619
|
-
"default": "'Insert text to summarize'"
|
5620
|
-
},
|
5621
|
-
{
|
5622
|
-
"kind": "field",
|
5623
|
-
"name": "messages",
|
5624
|
-
"type": {
|
5625
|
-
"text": "Messages | undefined"
|
5626
|
-
},
|
5627
|
-
"privacy": "private"
|
5628
|
-
},
|
5629
|
-
{
|
5630
|
-
"kind": "method",
|
5631
|
-
"name": "preprocessBody",
|
5632
|
-
"parameters": [
|
5633
|
-
{
|
5634
|
-
"name": "body",
|
5635
|
-
"type": {
|
5636
|
-
"text": "RawBody"
|
5637
|
-
}
|
5638
|
-
},
|
5639
|
-
{
|
5640
|
-
"name": "messages",
|
5641
|
-
"type": {
|
5642
|
-
"text": "MessageContent[]"
|
5643
|
-
}
|
5644
|
-
}
|
5645
|
-
]
|
5646
|
-
},
|
5647
|
-
{
|
5648
|
-
"kind": "method",
|
5649
|
-
"name": "callServiceAPI",
|
5650
|
-
"parameters": [
|
5651
|
-
{
|
5652
|
-
"name": "messages",
|
5653
|
-
"type": {
|
5654
|
-
"text": "Messages"
|
5655
|
-
}
|
5656
|
-
},
|
5657
|
-
{
|
5658
|
-
"name": "pMessages",
|
5659
|
-
"type": {
|
5660
|
-
"text": "MessageContent[]"
|
5661
|
-
}
|
5662
|
-
}
|
5663
|
-
],
|
5664
|
-
"inheritedFrom": {
|
5665
|
-
"name": "BaseServiceIO",
|
5666
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5667
|
-
}
|
5668
|
-
},
|
5669
|
-
{
|
5670
|
-
"kind": "method",
|
5671
|
-
"name": "extractResultData",
|
5672
|
-
"return": {
|
5673
|
-
"type": {
|
5674
|
-
"text": "Promise<{pollingInAnotherRequest: true}>"
|
5675
|
-
}
|
5676
|
-
},
|
5677
|
-
"parameters": [
|
5678
|
-
{
|
5679
|
-
"name": "result",
|
5680
|
-
"type": {
|
5681
|
-
"text": "Response & AzureAuthenticationError"
|
5682
|
-
}
|
5683
|
-
}
|
5684
|
-
],
|
5685
|
-
"inheritedFrom": {
|
5686
|
-
"name": "BaseServiceIO",
|
5687
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5688
|
-
}
|
5689
|
-
},
|
5690
|
-
{
|
5691
|
-
"kind": "method",
|
5692
|
-
"name": "extractPollResultData",
|
5693
|
-
"return": {
|
5694
|
-
"type": {
|
5695
|
-
"text": "PollResult"
|
5696
|
-
}
|
5697
|
-
},
|
5698
|
-
"parameters": [
|
5699
|
-
{
|
5700
|
-
"name": "result",
|
5701
|
-
"type": {
|
5702
|
-
"text": "AzureSummarizationResult"
|
5703
|
-
}
|
5704
|
-
}
|
5705
|
-
]
|
5706
|
-
},
|
5707
|
-
{
|
5708
|
-
"kind": "field",
|
5709
|
-
"name": "language",
|
5710
|
-
"type": {
|
5711
|
-
"text": "string"
|
5712
|
-
},
|
5713
|
-
"default": "'en'"
|
5714
|
-
},
|
5591
|
+
{
|
5592
|
+
"name": "messages",
|
5593
|
+
"type": {
|
5594
|
+
"text": "Messages"
|
5595
|
+
}
|
5596
|
+
}
|
5597
|
+
],
|
5598
|
+
"inheritedFrom": {
|
5599
|
+
"name": "BaseServiceIO",
|
5600
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5601
|
+
}
|
5602
|
+
}
|
5603
|
+
],
|
5604
|
+
"superclass": {
|
5605
|
+
"name": "CohereIO",
|
5606
|
+
"module": "/src/services/cohere/cohereIO"
|
5607
|
+
}
|
5608
|
+
}
|
5609
|
+
],
|
5610
|
+
"exports": [
|
5611
|
+
{
|
5612
|
+
"kind": "js",
|
5613
|
+
"name": "CohereChatIO",
|
5614
|
+
"declaration": {
|
5615
|
+
"name": "CohereChatIO",
|
5616
|
+
"module": "src/services/cohere/cohereChatIO.ts"
|
5617
|
+
}
|
5618
|
+
}
|
5619
|
+
]
|
5620
|
+
},
|
5621
|
+
{
|
5622
|
+
"kind": "javascript-module",
|
5623
|
+
"path": "src/services/cohere/cohereIO.ts",
|
5624
|
+
"declarations": [
|
5625
|
+
{
|
5626
|
+
"kind": "class",
|
5627
|
+
"description": "",
|
5628
|
+
"name": "CohereIO",
|
5629
|
+
"members": [
|
5715
5630
|
{
|
5716
5631
|
"kind": "field",
|
5717
5632
|
"name": "insertKeyPlaceholderText",
|
5718
5633
|
"type": {
|
5719
5634
|
"text": "string"
|
5720
5635
|
},
|
5721
|
-
"default": "'
|
5636
|
+
"default": "'Cohere API Key'",
|
5722
5637
|
"inheritedFrom": {
|
5723
5638
|
"name": "DirectServiceIO",
|
5724
5639
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -5730,23 +5645,35 @@
|
|
5730
5645
|
"type": {
|
5731
5646
|
"text": "string"
|
5732
5647
|
},
|
5733
|
-
"default": "'https://
|
5648
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
5734
5649
|
"inheritedFrom": {
|
5735
5650
|
"name": "DirectServiceIO",
|
5736
5651
|
"module": "src/services/utils/directServiceIO.ts"
|
5737
5652
|
}
|
5738
5653
|
},
|
5654
|
+
{
|
5655
|
+
"kind": "field",
|
5656
|
+
"name": "textInputPlaceholderText",
|
5657
|
+
"type": {
|
5658
|
+
"text": "string"
|
5659
|
+
},
|
5660
|
+
"default": "inputPlaceholder"
|
5661
|
+
},
|
5739
5662
|
{
|
5740
5663
|
"kind": "field",
|
5741
5664
|
"name": "permittedErrorPrefixes",
|
5742
5665
|
"type": {
|
5743
5666
|
"text": "array"
|
5744
5667
|
},
|
5745
|
-
"default": "['
|
5746
|
-
|
5747
|
-
|
5748
|
-
|
5749
|
-
|
5668
|
+
"default": "['invalid']"
|
5669
|
+
},
|
5670
|
+
{
|
5671
|
+
"kind": "field",
|
5672
|
+
"name": "url",
|
5673
|
+
"type": {
|
5674
|
+
"text": "string"
|
5675
|
+
},
|
5676
|
+
"default": "url"
|
5750
5677
|
},
|
5751
5678
|
{
|
5752
5679
|
"kind": "field",
|
@@ -6110,6 +6037,35 @@
|
|
6110
6037
|
"module": "src/services/utils/baseServiceIO.ts"
|
6111
6038
|
}
|
6112
6039
|
},
|
6040
|
+
{
|
6041
|
+
"kind": "method",
|
6042
|
+
"name": "callServiceAPI",
|
6043
|
+
"parameters": [
|
6044
|
+
{
|
6045
|
+
"name": "messages",
|
6046
|
+
"type": {
|
6047
|
+
"text": "Messages"
|
6048
|
+
}
|
6049
|
+
},
|
6050
|
+
{
|
6051
|
+
"name": "pMessages",
|
6052
|
+
"type": {
|
6053
|
+
"text": "MessageContent[]"
|
6054
|
+
}
|
6055
|
+
},
|
6056
|
+
{
|
6057
|
+
"name": "_",
|
6058
|
+
"optional": true,
|
6059
|
+
"type": {
|
6060
|
+
"text": "File[]"
|
6061
|
+
}
|
6062
|
+
}
|
6063
|
+
],
|
6064
|
+
"inheritedFrom": {
|
6065
|
+
"name": "BaseServiceIO",
|
6066
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6067
|
+
}
|
6068
|
+
},
|
6113
6069
|
{
|
6114
6070
|
"kind": "method",
|
6115
6071
|
"name": "callApiWithFiles",
|
@@ -6165,57 +6121,55 @@
|
|
6165
6121
|
"name": "BaseServiceIO",
|
6166
6122
|
"module": "src/services/utils/baseServiceIO.ts"
|
6167
6123
|
}
|
6124
|
+
},
|
6125
|
+
{
|
6126
|
+
"kind": "method",
|
6127
|
+
"name": "extractResultData",
|
6128
|
+
"return": {
|
6129
|
+
"type": {
|
6130
|
+
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
6131
|
+
}
|
6132
|
+
},
|
6133
|
+
"parameters": [
|
6134
|
+
{
|
6135
|
+
"name": "result",
|
6136
|
+
"type": {
|
6137
|
+
"text": "any | CustomServiceResponse"
|
6138
|
+
}
|
6139
|
+
}
|
6140
|
+
],
|
6141
|
+
"inheritedFrom": {
|
6142
|
+
"name": "BaseServiceIO",
|
6143
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6144
|
+
}
|
6168
6145
|
}
|
6169
6146
|
],
|
6170
6147
|
"superclass": {
|
6171
|
-
"name": "
|
6172
|
-
"module": "/src/services/
|
6148
|
+
"name": "DirectServiceIO",
|
6149
|
+
"module": "/src/services/utils/directServiceIO"
|
6173
6150
|
}
|
6174
6151
|
}
|
6175
6152
|
],
|
6176
6153
|
"exports": [
|
6177
6154
|
{
|
6178
6155
|
"kind": "js",
|
6179
|
-
"name": "
|
6156
|
+
"name": "CohereIO",
|
6180
6157
|
"declaration": {
|
6181
|
-
"name": "
|
6182
|
-
"module": "src/services/
|
6158
|
+
"name": "CohereIO",
|
6159
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6183
6160
|
}
|
6184
6161
|
}
|
6185
6162
|
]
|
6186
6163
|
},
|
6187
6164
|
{
|
6188
6165
|
"kind": "javascript-module",
|
6189
|
-
"path": "src/services/
|
6166
|
+
"path": "src/services/cohere/cohereSummarizationIO.ts",
|
6190
6167
|
"declarations": [
|
6191
6168
|
{
|
6192
6169
|
"kind": "class",
|
6193
6170
|
"description": "",
|
6194
|
-
"name": "
|
6171
|
+
"name": "CohereSummarizationIO",
|
6195
6172
|
"members": [
|
6196
|
-
{
|
6197
|
-
"kind": "field",
|
6198
|
-
"name": "HELP_LINK",
|
6199
|
-
"type": {
|
6200
|
-
"text": "string"
|
6201
|
-
},
|
6202
|
-
"privacy": "private",
|
6203
|
-
"static": true,
|
6204
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
6205
|
-
},
|
6206
|
-
{
|
6207
|
-
"kind": "field",
|
6208
|
-
"name": "introPanelMarkUp",
|
6209
|
-
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
|
6210
|
-
},
|
6211
|
-
{
|
6212
|
-
"kind": "field",
|
6213
|
-
"name": "url",
|
6214
|
-
"type": {
|
6215
|
-
"text": "string"
|
6216
|
-
},
|
6217
|
-
"default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
|
6218
|
-
},
|
6219
6173
|
{
|
6220
6174
|
"kind": "method",
|
6221
6175
|
"name": "preprocessBody",
|
@@ -6223,7 +6177,7 @@
|
|
6223
6177
|
{
|
6224
6178
|
"name": "body",
|
6225
6179
|
"type": {
|
6226
|
-
"text": "
|
6180
|
+
"text": "CohereSummarizationConfig"
|
6227
6181
|
}
|
6228
6182
|
},
|
6229
6183
|
{
|
@@ -6268,7 +6222,7 @@
|
|
6268
6222
|
{
|
6269
6223
|
"name": "result",
|
6270
6224
|
"type": {
|
6271
|
-
"text": "
|
6225
|
+
"text": "CohereSummarizationResult"
|
6272
6226
|
}
|
6273
6227
|
}
|
6274
6228
|
],
|
@@ -6279,50 +6233,62 @@
|
|
6279
6233
|
},
|
6280
6234
|
{
|
6281
6235
|
"kind": "field",
|
6282
|
-
"name": "
|
6236
|
+
"name": "insertKeyPlaceholderText",
|
6283
6237
|
"type": {
|
6284
6238
|
"text": "string"
|
6285
6239
|
},
|
6286
|
-
"default": "'
|
6240
|
+
"default": "'Cohere API Key'",
|
6241
|
+
"inheritedFrom": {
|
6242
|
+
"name": "DirectServiceIO",
|
6243
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6244
|
+
}
|
6287
6245
|
},
|
6288
6246
|
{
|
6289
6247
|
"kind": "field",
|
6290
|
-
"name": "
|
6248
|
+
"name": "getKeyLink",
|
6291
6249
|
"type": {
|
6292
6250
|
"text": "string"
|
6293
6251
|
},
|
6294
|
-
"default": "'
|
6252
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
6253
|
+
"inheritedFrom": {
|
6254
|
+
"name": "DirectServiceIO",
|
6255
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6256
|
+
}
|
6295
6257
|
},
|
6296
6258
|
{
|
6297
6259
|
"kind": "field",
|
6298
|
-
"name": "
|
6260
|
+
"name": "textInputPlaceholderText",
|
6299
6261
|
"type": {
|
6300
6262
|
"text": "string"
|
6301
6263
|
},
|
6302
|
-
"default": "
|
6264
|
+
"default": "inputPlaceholder",
|
6265
|
+
"inheritedFrom": {
|
6266
|
+
"name": "CohereIO",
|
6267
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6268
|
+
}
|
6303
6269
|
},
|
6304
6270
|
{
|
6305
6271
|
"kind": "field",
|
6306
|
-
"name": "
|
6272
|
+
"name": "permittedErrorPrefixes",
|
6307
6273
|
"type": {
|
6308
|
-
"text": "
|
6274
|
+
"text": "array"
|
6309
6275
|
},
|
6310
|
-
"default": "'
|
6276
|
+
"default": "['invalid']",
|
6311
6277
|
"inheritedFrom": {
|
6312
|
-
"name": "
|
6313
|
-
"module": "src/services/
|
6278
|
+
"name": "CohereIO",
|
6279
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6314
6280
|
}
|
6315
6281
|
},
|
6316
6282
|
{
|
6317
6283
|
"kind": "field",
|
6318
|
-
"name": "
|
6284
|
+
"name": "url",
|
6319
6285
|
"type": {
|
6320
6286
|
"text": "string"
|
6321
6287
|
},
|
6322
|
-
"default": "
|
6288
|
+
"default": "url",
|
6323
6289
|
"inheritedFrom": {
|
6324
|
-
"name": "
|
6325
|
-
"module": "src/services/
|
6290
|
+
"name": "CohereIO",
|
6291
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6326
6292
|
}
|
6327
6293
|
},
|
6328
6294
|
{
|
@@ -6745,67 +6711,41 @@
|
|
6745
6711
|
}
|
6746
6712
|
],
|
6747
6713
|
"superclass": {
|
6748
|
-
"name": "
|
6749
|
-
"module": "/src/services/
|
6750
|
-
}
|
6751
|
-
}
|
6752
|
-
],
|
6753
|
-
"exports": [
|
6754
|
-
{
|
6755
|
-
"kind": "js",
|
6756
|
-
"name": "
|
6757
|
-
"declaration": {
|
6758
|
-
"name": "
|
6759
|
-
"module": "src/services/
|
6760
|
-
}
|
6761
|
-
}
|
6762
|
-
]
|
6763
|
-
},
|
6764
|
-
{
|
6765
|
-
"kind": "javascript-module",
|
6766
|
-
"path": "src/services/
|
6767
|
-
"declarations": [
|
6768
|
-
{
|
6769
|
-
"kind": "class",
|
6770
|
-
"description": "",
|
6771
|
-
"name": "
|
6772
|
-
"members": [
|
6773
|
-
{
|
6774
|
-
"kind": "field",
|
6775
|
-
"name": "insertKeyPlaceholderText",
|
6776
|
-
"type": {
|
6777
|
-
"text": "string"
|
6778
|
-
},
|
6779
|
-
"default": "'Azure Translate Subscription Key'",
|
6780
|
-
"inheritedFrom": {
|
6781
|
-
"name": "DirectServiceIO",
|
6782
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6783
|
-
}
|
6784
|
-
},
|
6785
|
-
{
|
6786
|
-
"kind": "field",
|
6787
|
-
"name": "getKeyLink",
|
6788
|
-
"type": {
|
6789
|
-
"text": "string"
|
6790
|
-
},
|
6791
|
-
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
6792
|
-
"inheritedFrom": {
|
6793
|
-
"name": "DirectServiceIO",
|
6794
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6795
|
-
}
|
6796
|
-
},
|
6797
|
-
{
|
6798
|
-
"kind": "field",
|
6799
|
-
"name": "url",
|
6800
|
-
"type": {
|
6801
|
-
"text": "string"
|
6802
|
-
},
|
6803
|
-
"default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
|
6804
|
-
},
|
6714
|
+
"name": "CohereIO",
|
6715
|
+
"module": "/src/services/cohere/cohereIO"
|
6716
|
+
}
|
6717
|
+
}
|
6718
|
+
],
|
6719
|
+
"exports": [
|
6720
|
+
{
|
6721
|
+
"kind": "js",
|
6722
|
+
"name": "CohereSummarizationIO",
|
6723
|
+
"declaration": {
|
6724
|
+
"name": "CohereSummarizationIO",
|
6725
|
+
"module": "src/services/cohere/cohereSummarizationIO.ts"
|
6726
|
+
}
|
6727
|
+
}
|
6728
|
+
]
|
6729
|
+
},
|
6730
|
+
{
|
6731
|
+
"kind": "javascript-module",
|
6732
|
+
"path": "src/services/cohere/cohereTextGenerationIO.ts",
|
6733
|
+
"declarations": [
|
6734
|
+
{
|
6735
|
+
"kind": "class",
|
6736
|
+
"description": "",
|
6737
|
+
"name": "CohereTextGenerationIO",
|
6738
|
+
"members": [
|
6805
6739
|
{
|
6806
6740
|
"kind": "method",
|
6807
6741
|
"name": "preprocessBody",
|
6808
6742
|
"parameters": [
|
6743
|
+
{
|
6744
|
+
"name": "body",
|
6745
|
+
"type": {
|
6746
|
+
"text": "CohereGenerateConfig"
|
6747
|
+
}
|
6748
|
+
},
|
6809
6749
|
{
|
6810
6750
|
"name": "messages",
|
6811
6751
|
"type": {
|
@@ -6848,7 +6788,7 @@
|
|
6848
6788
|
{
|
6849
6789
|
"name": "result",
|
6850
6790
|
"type": {
|
6851
|
-
"text": "
|
6791
|
+
"text": "CohereCompletionsResult"
|
6852
6792
|
}
|
6853
6793
|
}
|
6854
6794
|
],
|
@@ -6857,6 +6797,66 @@
|
|
6857
6797
|
"module": "src/services/utils/baseServiceIO.ts"
|
6858
6798
|
}
|
6859
6799
|
},
|
6800
|
+
{
|
6801
|
+
"kind": "field",
|
6802
|
+
"name": "insertKeyPlaceholderText",
|
6803
|
+
"type": {
|
6804
|
+
"text": "string"
|
6805
|
+
},
|
6806
|
+
"default": "'Cohere API Key'",
|
6807
|
+
"inheritedFrom": {
|
6808
|
+
"name": "DirectServiceIO",
|
6809
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6810
|
+
}
|
6811
|
+
},
|
6812
|
+
{
|
6813
|
+
"kind": "field",
|
6814
|
+
"name": "getKeyLink",
|
6815
|
+
"type": {
|
6816
|
+
"text": "string"
|
6817
|
+
},
|
6818
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
6819
|
+
"inheritedFrom": {
|
6820
|
+
"name": "DirectServiceIO",
|
6821
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6822
|
+
}
|
6823
|
+
},
|
6824
|
+
{
|
6825
|
+
"kind": "field",
|
6826
|
+
"name": "textInputPlaceholderText",
|
6827
|
+
"type": {
|
6828
|
+
"text": "string"
|
6829
|
+
},
|
6830
|
+
"default": "inputPlaceholder",
|
6831
|
+
"inheritedFrom": {
|
6832
|
+
"name": "CohereIO",
|
6833
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6834
|
+
}
|
6835
|
+
},
|
6836
|
+
{
|
6837
|
+
"kind": "field",
|
6838
|
+
"name": "permittedErrorPrefixes",
|
6839
|
+
"type": {
|
6840
|
+
"text": "array"
|
6841
|
+
},
|
6842
|
+
"default": "['invalid']",
|
6843
|
+
"inheritedFrom": {
|
6844
|
+
"name": "CohereIO",
|
6845
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6846
|
+
}
|
6847
|
+
},
|
6848
|
+
{
|
6849
|
+
"kind": "field",
|
6850
|
+
"name": "url",
|
6851
|
+
"type": {
|
6852
|
+
"text": "string"
|
6853
|
+
},
|
6854
|
+
"default": "url",
|
6855
|
+
"inheritedFrom": {
|
6856
|
+
"name": "CohereIO",
|
6857
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6858
|
+
}
|
6859
|
+
},
|
6860
6860
|
{
|
6861
6861
|
"kind": "field",
|
6862
6862
|
"name": "key",
|
@@ -7277,18 +7277,18 @@
|
|
7277
7277
|
}
|
7278
7278
|
],
|
7279
7279
|
"superclass": {
|
7280
|
-
"name": "
|
7281
|
-
"module": "/src/services/
|
7280
|
+
"name": "CohereIO",
|
7281
|
+
"module": "/src/services/cohere/cohereIO"
|
7282
7282
|
}
|
7283
7283
|
}
|
7284
7284
|
],
|
7285
7285
|
"exports": [
|
7286
7286
|
{
|
7287
7287
|
"kind": "js",
|
7288
|
-
"name": "
|
7288
|
+
"name": "CohereTextGenerationIO",
|
7289
7289
|
"declaration": {
|
7290
|
-
"name": "
|
7291
|
-
"module": "src/services/
|
7290
|
+
"name": "CohereTextGenerationIO",
|
7291
|
+
"module": "src/services/cohere/cohereTextGenerationIO.ts"
|
7292
7292
|
}
|
7293
7293
|
}
|
7294
7294
|
]
|
@@ -23109,19 +23109,25 @@
|
|
23109
23109
|
},
|
23110
23110
|
{
|
23111
23111
|
"kind": "javascript-module",
|
23112
|
-
"path": "src/services/
|
23112
|
+
"path": "src/services/azure/utils/azureUtils.ts",
|
23113
23113
|
"declarations": [
|
23114
23114
|
{
|
23115
23115
|
"kind": "class",
|
23116
23116
|
"description": "",
|
23117
|
-
"name": "
|
23117
|
+
"name": "AzureUtils",
|
23118
23118
|
"members": [
|
23119
23119
|
{
|
23120
23120
|
"kind": "method",
|
23121
|
-
"name": "
|
23121
|
+
"name": "buildTextToSpeechHeaders",
|
23122
23122
|
"privacy": "public",
|
23123
23123
|
"static": true,
|
23124
23124
|
"parameters": [
|
23125
|
+
{
|
23126
|
+
"name": "outputFormat",
|
23127
|
+
"type": {
|
23128
|
+
"text": "string"
|
23129
|
+
}
|
23130
|
+
},
|
23125
23131
|
{
|
23126
23132
|
"name": "key",
|
23127
23133
|
"type": {
|
@@ -23132,7 +23138,21 @@
|
|
23132
23138
|
},
|
23133
23139
|
{
|
23134
23140
|
"kind": "method",
|
23135
|
-
"name": "
|
23141
|
+
"name": "buildSpeechToTextHeaders",
|
23142
|
+
"privacy": "public",
|
23143
|
+
"static": true,
|
23144
|
+
"parameters": [
|
23145
|
+
{
|
23146
|
+
"name": "key",
|
23147
|
+
"type": {
|
23148
|
+
"text": "string"
|
23149
|
+
}
|
23150
|
+
}
|
23151
|
+
]
|
23152
|
+
},
|
23153
|
+
{
|
23154
|
+
"kind": "method",
|
23155
|
+
"name": "handleSpeechVerificationResult",
|
23136
23156
|
"privacy": "private",
|
23137
23157
|
"static": true,
|
23138
23158
|
"parameters": [
|
@@ -23164,52 +23184,17 @@
|
|
23164
23184
|
},
|
23165
23185
|
{
|
23166
23186
|
"kind": "method",
|
23167
|
-
"name": "
|
23187
|
+
"name": "buildSpeechKeyVerificationDetails",
|
23168
23188
|
"privacy": "public",
|
23169
23189
|
"static": true,
|
23170
23190
|
"return": {
|
23171
23191
|
"type": {
|
23172
23192
|
"text": "KeyVerificationDetails"
|
23173
23193
|
}
|
23174
|
-
}
|
23175
|
-
}
|
23176
|
-
]
|
23177
|
-
}
|
23178
|
-
],
|
23179
|
-
"exports": [
|
23180
|
-
{
|
23181
|
-
"kind": "js",
|
23182
|
-
"name": "CohereUtils",
|
23183
|
-
"declaration": {
|
23184
|
-
"name": "CohereUtils",
|
23185
|
-
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23186
|
-
}
|
23187
|
-
}
|
23188
|
-
]
|
23189
|
-
},
|
23190
|
-
{
|
23191
|
-
"kind": "javascript-module",
|
23192
|
-
"path": "src/services/azure/utils/azureUtils.ts",
|
23193
|
-
"declarations": [
|
23194
|
-
{
|
23195
|
-
"kind": "class",
|
23196
|
-
"description": "",
|
23197
|
-
"name": "AzureUtils",
|
23198
|
-
"members": [
|
23199
|
-
{
|
23200
|
-
"kind": "method",
|
23201
|
-
"name": "buildTextToSpeechHeaders",
|
23202
|
-
"privacy": "public",
|
23203
|
-
"static": true,
|
23194
|
+
},
|
23204
23195
|
"parameters": [
|
23205
23196
|
{
|
23206
|
-
"name": "
|
23207
|
-
"type": {
|
23208
|
-
"text": "string"
|
23209
|
-
}
|
23210
|
-
},
|
23211
|
-
{
|
23212
|
-
"name": "key",
|
23197
|
+
"name": "region",
|
23213
23198
|
"type": {
|
23214
23199
|
"text": "string"
|
23215
23200
|
}
|
@@ -23218,7 +23203,7 @@
|
|
23218
23203
|
},
|
23219
23204
|
{
|
23220
23205
|
"kind": "method",
|
23221
|
-
"name": "
|
23206
|
+
"name": "buildSummarizationHeader",
|
23222
23207
|
"privacy": "public",
|
23223
23208
|
"static": true,
|
23224
23209
|
"parameters": [
|
@@ -23232,7 +23217,7 @@
|
|
23232
23217
|
},
|
23233
23218
|
{
|
23234
23219
|
"kind": "method",
|
23235
|
-
"name": "
|
23220
|
+
"name": "handleLanguageVerificationResult",
|
23236
23221
|
"privacy": "private",
|
23237
23222
|
"static": true,
|
23238
23223
|
"parameters": [
|
@@ -23264,7 +23249,7 @@
|
|
23264
23249
|
},
|
23265
23250
|
{
|
23266
23251
|
"kind": "method",
|
23267
|
-
"name": "
|
23252
|
+
"name": "buildLanguageKeyVerificationDetails",
|
23268
23253
|
"privacy": "public",
|
23269
23254
|
"static": true,
|
23270
23255
|
"return": {
|
@@ -23274,21 +23259,7 @@
|
|
23274
23259
|
},
|
23275
23260
|
"parameters": [
|
23276
23261
|
{
|
23277
|
-
"name": "
|
23278
|
-
"type": {
|
23279
|
-
"text": "string"
|
23280
|
-
}
|
23281
|
-
}
|
23282
|
-
]
|
23283
|
-
},
|
23284
|
-
{
|
23285
|
-
"kind": "method",
|
23286
|
-
"name": "buildSummarizationHeader",
|
23287
|
-
"privacy": "public",
|
23288
|
-
"static": true,
|
23289
|
-
"parameters": [
|
23290
|
-
{
|
23291
|
-
"name": "key",
|
23262
|
+
"name": "endpoint",
|
23292
23263
|
"type": {
|
23293
23264
|
"text": "string"
|
23294
23265
|
}
|
@@ -23297,7 +23268,7 @@
|
|
23297
23268
|
},
|
23298
23269
|
{
|
23299
23270
|
"kind": "method",
|
23300
|
-
"name": "
|
23271
|
+
"name": "handleTranslationVerificationResult",
|
23301
23272
|
"privacy": "private",
|
23302
23273
|
"static": true,
|
23303
23274
|
"parameters": [
|
@@ -23329,17 +23300,75 @@
|
|
23329
23300
|
},
|
23330
23301
|
{
|
23331
23302
|
"kind": "method",
|
23332
|
-
"name": "
|
23303
|
+
"name": "buildTranslationKeyVerificationDetails",
|
23304
|
+
"privacy": "public",
|
23305
|
+
"static": true,
|
23306
|
+
"return": {
|
23307
|
+
"type": {
|
23308
|
+
"text": "KeyVerificationDetails"
|
23309
|
+
}
|
23310
|
+
},
|
23311
|
+
"parameters": [
|
23312
|
+
{
|
23313
|
+
"name": "region",
|
23314
|
+
"optional": true,
|
23315
|
+
"type": {
|
23316
|
+
"text": "string"
|
23317
|
+
}
|
23318
|
+
}
|
23319
|
+
]
|
23320
|
+
},
|
23321
|
+
{
|
23322
|
+
"kind": "method",
|
23323
|
+
"name": "buildTranslationHeaders",
|
23324
|
+
"privacy": "public",
|
23325
|
+
"static": true,
|
23326
|
+
"parameters": [
|
23327
|
+
{
|
23328
|
+
"name": "region",
|
23329
|
+
"type": {
|
23330
|
+
"text": "string | undefined"
|
23331
|
+
}
|
23332
|
+
},
|
23333
|
+
{
|
23334
|
+
"name": "key",
|
23335
|
+
"type": {
|
23336
|
+
"text": "string"
|
23337
|
+
}
|
23338
|
+
}
|
23339
|
+
]
|
23340
|
+
}
|
23341
|
+
]
|
23342
|
+
}
|
23343
|
+
],
|
23344
|
+
"exports": [
|
23345
|
+
{
|
23346
|
+
"kind": "js",
|
23347
|
+
"name": "AzureUtils",
|
23348
|
+
"declaration": {
|
23349
|
+
"name": "AzureUtils",
|
23350
|
+
"module": "src/services/azure/utils/azureUtils.ts"
|
23351
|
+
}
|
23352
|
+
}
|
23353
|
+
]
|
23354
|
+
},
|
23355
|
+
{
|
23356
|
+
"kind": "javascript-module",
|
23357
|
+
"path": "src/services/cohere/utils/cohereUtils.ts",
|
23358
|
+
"declarations": [
|
23359
|
+
{
|
23360
|
+
"kind": "class",
|
23361
|
+
"description": "",
|
23362
|
+
"name": "CohereUtils",
|
23363
|
+
"members": [
|
23364
|
+
{
|
23365
|
+
"kind": "method",
|
23366
|
+
"name": "buildHeaders",
|
23333
23367
|
"privacy": "public",
|
23334
23368
|
"static": true,
|
23335
|
-
"return": {
|
23336
|
-
"type": {
|
23337
|
-
"text": "KeyVerificationDetails"
|
23338
|
-
}
|
23339
|
-
},
|
23340
23369
|
"parameters": [
|
23341
23370
|
{
|
23342
|
-
"name": "
|
23371
|
+
"name": "key",
|
23343
23372
|
"type": {
|
23344
23373
|
"text": "string"
|
23345
23374
|
}
|
@@ -23348,7 +23377,7 @@
|
|
23348
23377
|
},
|
23349
23378
|
{
|
23350
23379
|
"kind": "method",
|
23351
|
-
"name": "
|
23380
|
+
"name": "handleVerificationResult",
|
23352
23381
|
"privacy": "private",
|
23353
23382
|
"static": true,
|
23354
23383
|
"parameters": [
|
@@ -23380,43 +23409,14 @@
|
|
23380
23409
|
},
|
23381
23410
|
{
|
23382
23411
|
"kind": "method",
|
23383
|
-
"name": "
|
23412
|
+
"name": "buildKeyVerificationDetails",
|
23384
23413
|
"privacy": "public",
|
23385
23414
|
"static": true,
|
23386
23415
|
"return": {
|
23387
23416
|
"type": {
|
23388
23417
|
"text": "KeyVerificationDetails"
|
23389
23418
|
}
|
23390
|
-
}
|
23391
|
-
"parameters": [
|
23392
|
-
{
|
23393
|
-
"name": "region",
|
23394
|
-
"optional": true,
|
23395
|
-
"type": {
|
23396
|
-
"text": "string"
|
23397
|
-
}
|
23398
|
-
}
|
23399
|
-
]
|
23400
|
-
},
|
23401
|
-
{
|
23402
|
-
"kind": "method",
|
23403
|
-
"name": "buildTranslationHeaders",
|
23404
|
-
"privacy": "public",
|
23405
|
-
"static": true,
|
23406
|
-
"parameters": [
|
23407
|
-
{
|
23408
|
-
"name": "region",
|
23409
|
-
"type": {
|
23410
|
-
"text": "string | undefined"
|
23411
|
-
}
|
23412
|
-
},
|
23413
|
-
{
|
23414
|
-
"name": "key",
|
23415
|
-
"type": {
|
23416
|
-
"text": "string"
|
23417
|
-
}
|
23418
|
-
}
|
23419
|
-
]
|
23419
|
+
}
|
23420
23420
|
}
|
23421
23421
|
]
|
23422
23422
|
}
|
@@ -23424,10 +23424,10 @@
|
|
23424
23424
|
"exports": [
|
23425
23425
|
{
|
23426
23426
|
"kind": "js",
|
23427
|
-
"name": "
|
23427
|
+
"name": "CohereUtils",
|
23428
23428
|
"declaration": {
|
23429
|
-
"name": "
|
23430
|
-
"module": "src/services/
|
23429
|
+
"name": "CohereUtils",
|
23430
|
+
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23431
23431
|
}
|
23432
23432
|
}
|
23433
23433
|
]
|
@@ -27141,6 +27141,108 @@
|
|
27141
27141
|
}
|
27142
27142
|
]
|
27143
27143
|
},
|
27144
|
+
{
|
27145
|
+
"kind": "javascript-module",
|
27146
|
+
"path": "src/views/chat/messages/textToSpeech/textToSpeech.ts",
|
27147
|
+
"declarations": [
|
27148
|
+
{
|
27149
|
+
"kind": "class",
|
27150
|
+
"description": "",
|
27151
|
+
"name": "TextToSpeech",
|
27152
|
+
"members": [
|
27153
|
+
{
|
27154
|
+
"kind": "field",
|
27155
|
+
"name": "LOAD_VOICES_MS",
|
27156
|
+
"type": {
|
27157
|
+
"text": "number"
|
27158
|
+
},
|
27159
|
+
"privacy": "private",
|
27160
|
+
"static": true,
|
27161
|
+
"default": "200"
|
27162
|
+
},
|
27163
|
+
{
|
27164
|
+
"kind": "method",
|
27165
|
+
"name": "speak",
|
27166
|
+
"privacy": "public",
|
27167
|
+
"static": true,
|
27168
|
+
"parameters": [
|
27169
|
+
{
|
27170
|
+
"name": "text",
|
27171
|
+
"type": {
|
27172
|
+
"text": "string"
|
27173
|
+
}
|
27174
|
+
},
|
27175
|
+
{
|
27176
|
+
"name": "config",
|
27177
|
+
"type": {
|
27178
|
+
"text": "ProcessedTextToSpeechConfig"
|
27179
|
+
}
|
27180
|
+
}
|
27181
|
+
]
|
27182
|
+
},
|
27183
|
+
{
|
27184
|
+
"kind": "method",
|
27185
|
+
"name": "processConfig",
|
27186
|
+
"privacy": "public",
|
27187
|
+
"static": true,
|
27188
|
+
"parameters": [
|
27189
|
+
{
|
27190
|
+
"name": "config",
|
27191
|
+
"type": {
|
27192
|
+
"text": "boolean | TextToSpeechConfig"
|
27193
|
+
}
|
27194
|
+
},
|
27195
|
+
{
|
27196
|
+
"name": "set",
|
27197
|
+
"type": {
|
27198
|
+
"text": "(config: ProcessedTextToSpeechConfig) => void"
|
27199
|
+
}
|
27200
|
+
}
|
27201
|
+
]
|
27202
|
+
}
|
27203
|
+
]
|
27204
|
+
}
|
27205
|
+
],
|
27206
|
+
"exports": [
|
27207
|
+
{
|
27208
|
+
"kind": "js",
|
27209
|
+
"name": "TextToSpeech",
|
27210
|
+
"declaration": {
|
27211
|
+
"name": "TextToSpeech",
|
27212
|
+
"module": "src/views/chat/messages/textToSpeech/textToSpeech.ts"
|
27213
|
+
}
|
27214
|
+
}
|
27215
|
+
]
|
27216
|
+
},
|
27217
|
+
{
|
27218
|
+
"kind": "javascript-module",
|
27219
|
+
"path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
|
27220
|
+
"declarations": [
|
27221
|
+
{
|
27222
|
+
"kind": "class",
|
27223
|
+
"description": "",
|
27224
|
+
"name": "RemarkableConfig",
|
27225
|
+
"members": [
|
27226
|
+
{
|
27227
|
+
"kind": "method",
|
27228
|
+
"name": "createNew",
|
27229
|
+
"privacy": "public",
|
27230
|
+
"static": true
|
27231
|
+
}
|
27232
|
+
]
|
27233
|
+
}
|
27234
|
+
],
|
27235
|
+
"exports": [
|
27236
|
+
{
|
27237
|
+
"kind": "js",
|
27238
|
+
"name": "RemarkableConfig",
|
27239
|
+
"declaration": {
|
27240
|
+
"name": "RemarkableConfig",
|
27241
|
+
"module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
|
27242
|
+
}
|
27243
|
+
}
|
27244
|
+
]
|
27245
|
+
},
|
27144
27246
|
{
|
27145
27247
|
"kind": "javascript-module",
|
27146
27248
|
"path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
|
@@ -27308,108 +27410,6 @@
|
|
27308
27410
|
}
|
27309
27411
|
]
|
27310
27412
|
},
|
27311
|
-
{
|
27312
|
-
"kind": "javascript-module",
|
27313
|
-
"path": "src/views/chat/messages/textToSpeech/textToSpeech.ts",
|
27314
|
-
"declarations": [
|
27315
|
-
{
|
27316
|
-
"kind": "class",
|
27317
|
-
"description": "",
|
27318
|
-
"name": "TextToSpeech",
|
27319
|
-
"members": [
|
27320
|
-
{
|
27321
|
-
"kind": "field",
|
27322
|
-
"name": "LOAD_VOICES_MS",
|
27323
|
-
"type": {
|
27324
|
-
"text": "number"
|
27325
|
-
},
|
27326
|
-
"privacy": "private",
|
27327
|
-
"static": true,
|
27328
|
-
"default": "200"
|
27329
|
-
},
|
27330
|
-
{
|
27331
|
-
"kind": "method",
|
27332
|
-
"name": "speak",
|
27333
|
-
"privacy": "public",
|
27334
|
-
"static": true,
|
27335
|
-
"parameters": [
|
27336
|
-
{
|
27337
|
-
"name": "text",
|
27338
|
-
"type": {
|
27339
|
-
"text": "string"
|
27340
|
-
}
|
27341
|
-
},
|
27342
|
-
{
|
27343
|
-
"name": "config",
|
27344
|
-
"type": {
|
27345
|
-
"text": "ProcessedTextToSpeechConfig"
|
27346
|
-
}
|
27347
|
-
}
|
27348
|
-
]
|
27349
|
-
},
|
27350
|
-
{
|
27351
|
-
"kind": "method",
|
27352
|
-
"name": "processConfig",
|
27353
|
-
"privacy": "public",
|
27354
|
-
"static": true,
|
27355
|
-
"parameters": [
|
27356
|
-
{
|
27357
|
-
"name": "config",
|
27358
|
-
"type": {
|
27359
|
-
"text": "boolean | TextToSpeechConfig"
|
27360
|
-
}
|
27361
|
-
},
|
27362
|
-
{
|
27363
|
-
"name": "set",
|
27364
|
-
"type": {
|
27365
|
-
"text": "(config: ProcessedTextToSpeechConfig) => void"
|
27366
|
-
}
|
27367
|
-
}
|
27368
|
-
]
|
27369
|
-
}
|
27370
|
-
]
|
27371
|
-
}
|
27372
|
-
],
|
27373
|
-
"exports": [
|
27374
|
-
{
|
27375
|
-
"kind": "js",
|
27376
|
-
"name": "TextToSpeech",
|
27377
|
-
"declaration": {
|
27378
|
-
"name": "TextToSpeech",
|
27379
|
-
"module": "src/views/chat/messages/textToSpeech/textToSpeech.ts"
|
27380
|
-
}
|
27381
|
-
}
|
27382
|
-
]
|
27383
|
-
},
|
27384
|
-
{
|
27385
|
-
"kind": "javascript-module",
|
27386
|
-
"path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
|
27387
|
-
"declarations": [
|
27388
|
-
{
|
27389
|
-
"kind": "class",
|
27390
|
-
"description": "",
|
27391
|
-
"name": "RemarkableConfig",
|
27392
|
-
"members": [
|
27393
|
-
{
|
27394
|
-
"kind": "method",
|
27395
|
-
"name": "createNew",
|
27396
|
-
"privacy": "public",
|
27397
|
-
"static": true
|
27398
|
-
}
|
27399
|
-
]
|
27400
|
-
}
|
27401
|
-
],
|
27402
|
-
"exports": [
|
27403
|
-
{
|
27404
|
-
"kind": "js",
|
27405
|
-
"name": "RemarkableConfig",
|
27406
|
-
"declaration": {
|
27407
|
-
"name": "RemarkableConfig",
|
27408
|
-
"module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
|
27409
|
-
}
|
27410
|
-
}
|
27411
|
-
]
|
27412
|
-
},
|
27413
27413
|
{
|
27414
27414
|
"kind": "javascript-module",
|
27415
27415
|
"path": "src/views/chat/input/buttons/camera/cameraButton.ts",
|