deep-chat-dev 1.1.20 → 1.1.22
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 +1133 -1117
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.d.ts +1 -0
- package/dist/deepChat.d.ts.map +1 -1
- package/dist/deepChat.js +8789 -5923
- package/dist/views/chat/messages/messages.d.ts +2 -1
- package/dist/views/chat/messages/messages.d.ts.map +1 -1
- package/package.json +6 -3
package/custom-elements.json
CHANGED
@@ -249,6 +249,13 @@
|
|
249
249
|
"text": "() => void"
|
250
250
|
}
|
251
251
|
},
|
252
|
+
{
|
253
|
+
"kind": "field",
|
254
|
+
"name": "clearMessages",
|
255
|
+
"type": {
|
256
|
+
"text": "() => void"
|
257
|
+
}
|
258
|
+
},
|
252
259
|
{
|
253
260
|
"kind": "field",
|
254
261
|
"name": "refreshMessages",
|
@@ -424,54 +431,6 @@
|
|
424
431
|
}
|
425
432
|
]
|
426
433
|
},
|
427
|
-
{
|
428
|
-
"kind": "javascript-module",
|
429
|
-
"path": "src/services/serviceIO.ts",
|
430
|
-
"declarations": [],
|
431
|
-
"exports": []
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"kind": "javascript-module",
|
435
|
-
"path": "src/services/serviceIOFactory.ts",
|
436
|
-
"declarations": [
|
437
|
-
{
|
438
|
-
"kind": "class",
|
439
|
-
"description": "",
|
440
|
-
"name": "ServiceIOFactory",
|
441
|
-
"members": [
|
442
|
-
{
|
443
|
-
"kind": "method",
|
444
|
-
"name": "create",
|
445
|
-
"privacy": "public",
|
446
|
-
"static": true,
|
447
|
-
"return": {
|
448
|
-
"type": {
|
449
|
-
"text": "ServiceIO"
|
450
|
-
}
|
451
|
-
},
|
452
|
-
"parameters": [
|
453
|
-
{
|
454
|
-
"name": "deepChat",
|
455
|
-
"type": {
|
456
|
-
"text": "DeepChat"
|
457
|
-
}
|
458
|
-
}
|
459
|
-
]
|
460
|
-
}
|
461
|
-
]
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"exports": [
|
465
|
-
{
|
466
|
-
"kind": "js",
|
467
|
-
"name": "ServiceIOFactory",
|
468
|
-
"declaration": {
|
469
|
-
"name": "ServiceIOFactory",
|
470
|
-
"module": "src/services/serviceIOFactory.ts"
|
471
|
-
}
|
472
|
-
}
|
473
|
-
]
|
474
|
-
},
|
475
434
|
{
|
476
435
|
"kind": "javascript-module",
|
477
436
|
"path": "src/icons/audioIcon.ts",
|
@@ -829,6 +788,54 @@
|
|
829
788
|
}
|
830
789
|
]
|
831
790
|
},
|
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
|
+
},
|
832
839
|
{
|
833
840
|
"kind": "javascript-module",
|
834
841
|
"path": "src/types/APIKey.ts",
|
@@ -1697,20 +1704,104 @@
|
|
1697
1704
|
},
|
1698
1705
|
{
|
1699
1706
|
"kind": "javascript-module",
|
1700
|
-
"path": "src/services/
|
1707
|
+
"path": "src/services/cohere/cohereChatIO.ts",
|
1701
1708
|
"declarations": [
|
1702
1709
|
{
|
1703
1710
|
"kind": "class",
|
1704
1711
|
"description": "",
|
1705
|
-
"name": "
|
1712
|
+
"name": "CohereChatIO",
|
1706
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
|
+
},
|
1707
1798
|
{
|
1708
1799
|
"kind": "field",
|
1709
1800
|
"name": "insertKeyPlaceholderText",
|
1710
1801
|
"type": {
|
1711
1802
|
"text": "string"
|
1712
1803
|
},
|
1713
|
-
"default": "'
|
1804
|
+
"default": "'Cohere API Key'",
|
1714
1805
|
"inheritedFrom": {
|
1715
1806
|
"name": "DirectServiceIO",
|
1716
1807
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -1722,19 +1813,47 @@
|
|
1722
1813
|
"type": {
|
1723
1814
|
"text": "string"
|
1724
1815
|
},
|
1725
|
-
"default": "'https://
|
1816
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
1726
1817
|
"inheritedFrom": {
|
1727
1818
|
"name": "DirectServiceIO",
|
1728
1819
|
"module": "src/services/utils/directServiceIO.ts"
|
1729
1820
|
}
|
1730
1821
|
},
|
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
|
+
},
|
1731
1834
|
{
|
1732
1835
|
"kind": "field",
|
1733
1836
|
"name": "permittedErrorPrefixes",
|
1734
1837
|
"type": {
|
1735
1838
|
"text": "array"
|
1736
1839
|
},
|
1737
|
-
"default": "['
|
1840
|
+
"default": "['invalid']",
|
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
|
+
}
|
1738
1857
|
},
|
1739
1858
|
{
|
1740
1859
|
"kind": "field",
|
@@ -2098,35 +2217,6 @@
|
|
2098
2217
|
"module": "src/services/utils/baseServiceIO.ts"
|
2099
2218
|
}
|
2100
2219
|
},
|
2101
|
-
{
|
2102
|
-
"kind": "method",
|
2103
|
-
"name": "callServiceAPI",
|
2104
|
-
"parameters": [
|
2105
|
-
{
|
2106
|
-
"name": "messages",
|
2107
|
-
"type": {
|
2108
|
-
"text": "Messages"
|
2109
|
-
}
|
2110
|
-
},
|
2111
|
-
{
|
2112
|
-
"name": "pMessages",
|
2113
|
-
"type": {
|
2114
|
-
"text": "MessageContent[]"
|
2115
|
-
}
|
2116
|
-
},
|
2117
|
-
{
|
2118
|
-
"name": "_",
|
2119
|
-
"optional": true,
|
2120
|
-
"type": {
|
2121
|
-
"text": "File[]"
|
2122
|
-
}
|
2123
|
-
}
|
2124
|
-
],
|
2125
|
-
"inheritedFrom": {
|
2126
|
-
"name": "BaseServiceIO",
|
2127
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
2128
|
-
}
|
2129
|
-
},
|
2130
2220
|
{
|
2131
2221
|
"kind": "method",
|
2132
2222
|
"name": "callApiWithFiles",
|
@@ -2182,54 +2272,33 @@
|
|
2182
2272
|
"name": "BaseServiceIO",
|
2183
2273
|
"module": "src/services/utils/baseServiceIO.ts"
|
2184
2274
|
}
|
2185
|
-
},
|
2186
|
-
{
|
2187
|
-
"kind": "method",
|
2188
|
-
"name": "extractResultData",
|
2189
|
-
"return": {
|
2190
|
-
"type": {
|
2191
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
2192
|
-
}
|
2193
|
-
},
|
2194
|
-
"parameters": [
|
2195
|
-
{
|
2196
|
-
"name": "result",
|
2197
|
-
"type": {
|
2198
|
-
"text": "any | CustomServiceResponse"
|
2199
|
-
}
|
2200
|
-
}
|
2201
|
-
],
|
2202
|
-
"inheritedFrom": {
|
2203
|
-
"name": "BaseServiceIO",
|
2204
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
2205
|
-
}
|
2206
2275
|
}
|
2207
2276
|
],
|
2208
2277
|
"superclass": {
|
2209
|
-
"name": "
|
2210
|
-
"module": "/src/services/
|
2278
|
+
"name": "CohereIO",
|
2279
|
+
"module": "/src/services/cohere/cohereIO"
|
2211
2280
|
}
|
2212
2281
|
}
|
2213
2282
|
],
|
2214
2283
|
"exports": [
|
2215
2284
|
{
|
2216
2285
|
"kind": "js",
|
2217
|
-
"name": "
|
2286
|
+
"name": "CohereChatIO",
|
2218
2287
|
"declaration": {
|
2219
|
-
"name": "
|
2220
|
-
"module": "src/services/
|
2288
|
+
"name": "CohereChatIO",
|
2289
|
+
"module": "src/services/cohere/cohereChatIO.ts"
|
2221
2290
|
}
|
2222
2291
|
}
|
2223
2292
|
]
|
2224
2293
|
},
|
2225
2294
|
{
|
2226
2295
|
"kind": "javascript-module",
|
2227
|
-
"path": "src/services/
|
2296
|
+
"path": "src/services/cohere/cohereIO.ts",
|
2228
2297
|
"declarations": [
|
2229
2298
|
{
|
2230
2299
|
"kind": "class",
|
2231
2300
|
"description": "",
|
2232
|
-
"name": "
|
2301
|
+
"name": "CohereIO",
|
2233
2302
|
"members": [
|
2234
2303
|
{
|
2235
2304
|
"kind": "field",
|
@@ -2237,7 +2306,7 @@
|
|
2237
2306
|
"type": {
|
2238
2307
|
"text": "string"
|
2239
2308
|
},
|
2240
|
-
"default": "'
|
2309
|
+
"default": "'Cohere API Key'",
|
2241
2310
|
"inheritedFrom": {
|
2242
2311
|
"name": "DirectServiceIO",
|
2243
2312
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -2249,12 +2318,36 @@
|
|
2249
2318
|
"type": {
|
2250
2319
|
"text": "string"
|
2251
2320
|
},
|
2252
|
-
"default": "'https://
|
2321
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
2253
2322
|
"inheritedFrom": {
|
2254
2323
|
"name": "DirectServiceIO",
|
2255
2324
|
"module": "src/services/utils/directServiceIO.ts"
|
2256
2325
|
}
|
2257
2326
|
},
|
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
|
+
},
|
2258
2351
|
{
|
2259
2352
|
"kind": "field",
|
2260
2353
|
"name": "key",
|
@@ -2733,80 +2826,37 @@
|
|
2733
2826
|
"exports": [
|
2734
2827
|
{
|
2735
2828
|
"kind": "js",
|
2736
|
-
"name": "
|
2829
|
+
"name": "CohereIO",
|
2737
2830
|
"declaration": {
|
2738
|
-
"name": "
|
2739
|
-
"module": "src/services/
|
2831
|
+
"name": "CohereIO",
|
2832
|
+
"module": "src/services/cohere/cohereIO.ts"
|
2740
2833
|
}
|
2741
2834
|
}
|
2742
2835
|
]
|
2743
2836
|
},
|
2744
2837
|
{
|
2745
2838
|
"kind": "javascript-module",
|
2746
|
-
"path": "src/services/
|
2839
|
+
"path": "src/services/cohere/cohereSummarizationIO.ts",
|
2747
2840
|
"declarations": [
|
2748
2841
|
{
|
2749
2842
|
"kind": "class",
|
2750
2843
|
"description": "",
|
2751
|
-
"name": "
|
2844
|
+
"name": "CohereSummarizationIO",
|
2752
2845
|
"members": [
|
2753
|
-
{
|
2754
|
-
"kind": "field",
|
2755
|
-
"name": "HELP_LINK",
|
2756
|
-
"type": {
|
2757
|
-
"text": "string"
|
2758
|
-
},
|
2759
|
-
"privacy": "private",
|
2760
|
-
"static": true,
|
2761
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
2762
|
-
},
|
2763
|
-
{
|
2764
|
-
"kind": "field",
|
2765
|
-
"name": "introPanelMarkUp",
|
2766
|
-
"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>`"
|
2767
|
-
},
|
2768
|
-
{
|
2769
|
-
"kind": "field",
|
2770
|
-
"name": "url",
|
2771
|
-
"type": {
|
2772
|
-
"text": "string"
|
2773
|
-
},
|
2774
|
-
"default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
|
2775
|
-
},
|
2776
|
-
{
|
2777
|
-
"kind": "field",
|
2778
|
-
"name": "isTextInputDisabled",
|
2779
|
-
"type": {
|
2780
|
-
"text": "boolean"
|
2781
|
-
},
|
2782
|
-
"default": "true"
|
2783
|
-
},
|
2784
|
-
{
|
2785
|
-
"kind": "field",
|
2786
|
-
"name": "textInputPlaceholderText",
|
2787
|
-
"type": {
|
2788
|
-
"text": "string"
|
2789
|
-
},
|
2790
|
-
"default": "'Upload an audio file'"
|
2791
|
-
},
|
2792
2846
|
{
|
2793
2847
|
"kind": "method",
|
2794
|
-
"name": "
|
2795
|
-
"privacy": "private",
|
2796
|
-
"static": true,
|
2848
|
+
"name": "preprocessBody",
|
2797
2849
|
"parameters": [
|
2798
2850
|
{
|
2799
|
-
"name": "
|
2800
|
-
"optional": true,
|
2851
|
+
"name": "body",
|
2801
2852
|
"type": {
|
2802
|
-
"text": "
|
2853
|
+
"text": "CohereSummarizationConfig"
|
2803
2854
|
}
|
2804
2855
|
},
|
2805
2856
|
{
|
2806
|
-
"name": "
|
2807
|
-
"optional": true,
|
2857
|
+
"name": "messages",
|
2808
2858
|
"type": {
|
2809
|
-
"text": "
|
2859
|
+
"text": "MessageContent[]"
|
2810
2860
|
}
|
2811
2861
|
}
|
2812
2862
|
]
|
@@ -2822,17 +2872,10 @@
|
|
2822
2872
|
}
|
2823
2873
|
},
|
2824
2874
|
{
|
2825
|
-
"name": "
|
2875
|
+
"name": "pMessages",
|
2826
2876
|
"type": {
|
2827
2877
|
"text": "MessageContent[]"
|
2828
2878
|
}
|
2829
|
-
},
|
2830
|
-
{
|
2831
|
-
"name": "files",
|
2832
|
-
"optional": true,
|
2833
|
-
"type": {
|
2834
|
-
"text": "File[]"
|
2835
|
-
}
|
2836
2879
|
}
|
2837
2880
|
],
|
2838
2881
|
"inheritedFrom": {
|
@@ -2852,7 +2895,7 @@
|
|
2852
2895
|
{
|
2853
2896
|
"name": "result",
|
2854
2897
|
"type": {
|
2855
|
-
"text": "
|
2898
|
+
"text": "CohereSummarizationResult"
|
2856
2899
|
}
|
2857
2900
|
}
|
2858
2901
|
],
|
@@ -2863,67 +2906,62 @@
|
|
2863
2906
|
},
|
2864
2907
|
{
|
2865
2908
|
"kind": "field",
|
2866
|
-
"name": "
|
2867
|
-
"privacy": "private",
|
2868
|
-
"static": true,
|
2869
|
-
"parameters": [
|
2870
|
-
{
|
2871
|
-
"name": "text",
|
2872
|
-
"optional": true,
|
2873
|
-
"type": {
|
2874
|
-
"text": "string"
|
2875
|
-
}
|
2876
|
-
},
|
2877
|
-
{
|
2878
|
-
"name": "files",
|
2879
|
-
"optional": true,
|
2880
|
-
"type": {
|
2881
|
-
"text": "File[]"
|
2882
|
-
}
|
2883
|
-
}
|
2884
|
-
],
|
2909
|
+
"name": "insertKeyPlaceholderText",
|
2885
2910
|
"type": {
|
2886
|
-
"text": "
|
2911
|
+
"text": "string"
|
2887
2912
|
},
|
2913
|
+
"default": "'Cohere API Key'",
|
2888
2914
|
"inheritedFrom": {
|
2889
|
-
"name": "
|
2890
|
-
"module": "src/services/utils/
|
2915
|
+
"name": "DirectServiceIO",
|
2916
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2891
2917
|
}
|
2892
2918
|
},
|
2893
2919
|
{
|
2894
2920
|
"kind": "field",
|
2895
|
-
"name": "
|
2921
|
+
"name": "getKeyLink",
|
2896
2922
|
"type": {
|
2897
|
-
"text": "
|
2923
|
+
"text": "string"
|
2898
2924
|
},
|
2925
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
2899
2926
|
"inheritedFrom": {
|
2900
|
-
"name": "
|
2901
|
-
"module": "src/services/utils/
|
2902
|
-
}
|
2903
|
-
"default": "undefined"
|
2927
|
+
"name": "DirectServiceIO",
|
2928
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2929
|
+
}
|
2904
2930
|
},
|
2905
2931
|
{
|
2906
2932
|
"kind": "field",
|
2907
|
-
"name": "
|
2933
|
+
"name": "textInputPlaceholderText",
|
2908
2934
|
"type": {
|
2909
2935
|
"text": "string"
|
2910
2936
|
},
|
2911
|
-
"default": "
|
2937
|
+
"default": "inputPlaceholder",
|
2912
2938
|
"inheritedFrom": {
|
2913
|
-
"name": "
|
2914
|
-
"module": "src/services/
|
2939
|
+
"name": "CohereIO",
|
2940
|
+
"module": "src/services/cohere/cohereIO.ts"
|
2915
2941
|
}
|
2916
2942
|
},
|
2917
2943
|
{
|
2918
2944
|
"kind": "field",
|
2919
|
-
"name": "
|
2945
|
+
"name": "permittedErrorPrefixes",
|
2946
|
+
"type": {
|
2947
|
+
"text": "array"
|
2948
|
+
},
|
2949
|
+
"default": "['invalid']",
|
2950
|
+
"inheritedFrom": {
|
2951
|
+
"name": "CohereIO",
|
2952
|
+
"module": "src/services/cohere/cohereIO.ts"
|
2953
|
+
}
|
2954
|
+
},
|
2955
|
+
{
|
2956
|
+
"kind": "field",
|
2957
|
+
"name": "url",
|
2920
2958
|
"type": {
|
2921
2959
|
"text": "string"
|
2922
2960
|
},
|
2923
|
-
"default": "
|
2961
|
+
"default": "url",
|
2924
2962
|
"inheritedFrom": {
|
2925
|
-
"name": "
|
2926
|
-
"module": "src/services/
|
2963
|
+
"name": "CohereIO",
|
2964
|
+
"module": "src/services/cohere/cohereIO.ts"
|
2927
2965
|
}
|
2928
2966
|
},
|
2929
2967
|
{
|
@@ -3097,6 +3135,35 @@
|
|
3097
3135
|
"module": "src/services/utils/baseServiceIO.ts"
|
3098
3136
|
}
|
3099
3137
|
},
|
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
|
+
},
|
3100
3167
|
{
|
3101
3168
|
"kind": "field",
|
3102
3169
|
"name": "fileTypes",
|
@@ -3120,6 +3187,17 @@
|
|
3120
3187
|
"module": "src/services/utils/baseServiceIO.ts"
|
3121
3188
|
}
|
3122
3189
|
},
|
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
|
+
},
|
3123
3201
|
{
|
3124
3202
|
"kind": "field",
|
3125
3203
|
"name": "totalMessagesMaxCharLength",
|
@@ -3306,55 +3384,31 @@
|
|
3306
3384
|
}
|
3307
3385
|
],
|
3308
3386
|
"superclass": {
|
3309
|
-
"name": "
|
3310
|
-
"module": "/src/services/
|
3387
|
+
"name": "CohereIO",
|
3388
|
+
"module": "/src/services/cohere/cohereIO"
|
3311
3389
|
}
|
3312
3390
|
}
|
3313
3391
|
],
|
3314
3392
|
"exports": [
|
3315
3393
|
{
|
3316
3394
|
"kind": "js",
|
3317
|
-
"name": "
|
3395
|
+
"name": "CohereSummarizationIO",
|
3318
3396
|
"declaration": {
|
3319
|
-
"name": "
|
3320
|
-
"module": "src/services/
|
3397
|
+
"name": "CohereSummarizationIO",
|
3398
|
+
"module": "src/services/cohere/cohereSummarizationIO.ts"
|
3321
3399
|
}
|
3322
3400
|
}
|
3323
3401
|
]
|
3324
3402
|
},
|
3325
3403
|
{
|
3326
3404
|
"kind": "javascript-module",
|
3327
|
-
"path": "src/services/
|
3405
|
+
"path": "src/services/cohere/cohereTextGenerationIO.ts",
|
3328
3406
|
"declarations": [
|
3329
3407
|
{
|
3330
3408
|
"kind": "class",
|
3331
3409
|
"description": "",
|
3332
|
-
"name": "
|
3410
|
+
"name": "CohereTextGenerationIO",
|
3333
3411
|
"members": [
|
3334
|
-
{
|
3335
|
-
"kind": "field",
|
3336
|
-
"name": "url",
|
3337
|
-
"type": {
|
3338
|
-
"text": "string"
|
3339
|
-
},
|
3340
|
-
"default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
|
3341
|
-
},
|
3342
|
-
{
|
3343
|
-
"kind": "field",
|
3344
|
-
"name": "textInputPlaceholderText",
|
3345
|
-
"type": {
|
3346
|
-
"text": "string"
|
3347
|
-
},
|
3348
|
-
"default": "'Insert text to summarize'"
|
3349
|
-
},
|
3350
|
-
{
|
3351
|
-
"kind": "field",
|
3352
|
-
"name": "messages",
|
3353
|
-
"type": {
|
3354
|
-
"text": "Messages | undefined"
|
3355
|
-
},
|
3356
|
-
"privacy": "private"
|
3357
|
-
},
|
3358
3412
|
{
|
3359
3413
|
"kind": "method",
|
3360
3414
|
"name": "preprocessBody",
|
@@ -3362,7 +3416,7 @@
|
|
3362
3416
|
{
|
3363
3417
|
"name": "body",
|
3364
3418
|
"type": {
|
3365
|
-
"text": "
|
3419
|
+
"text": "CohereGenerateConfig"
|
3366
3420
|
}
|
3367
3421
|
},
|
3368
3422
|
{
|
@@ -3400,14 +3454,14 @@
|
|
3400
3454
|
"name": "extractResultData",
|
3401
3455
|
"return": {
|
3402
3456
|
"type": {
|
3403
|
-
"text": "Promise<
|
3457
|
+
"text": "Promise<Result>"
|
3404
3458
|
}
|
3405
3459
|
},
|
3406
3460
|
"parameters": [
|
3407
3461
|
{
|
3408
3462
|
"name": "result",
|
3409
3463
|
"type": {
|
3410
|
-
"text": "
|
3464
|
+
"text": "CohereCompletionsResult"
|
3411
3465
|
}
|
3412
3466
|
}
|
3413
3467
|
],
|
@@ -3416,38 +3470,25 @@
|
|
3416
3470
|
"module": "src/services/utils/baseServiceIO.ts"
|
3417
3471
|
}
|
3418
3472
|
},
|
3419
|
-
{
|
3420
|
-
"kind": "method",
|
3421
|
-
"name": "extractPollResultData",
|
3422
|
-
"return": {
|
3423
|
-
"type": {
|
3424
|
-
"text": "PollResult"
|
3425
|
-
}
|
3426
|
-
},
|
3427
|
-
"parameters": [
|
3428
|
-
{
|
3429
|
-
"name": "result",
|
3430
|
-
"type": {
|
3431
|
-
"text": "AzureSummarizationResult"
|
3432
|
-
}
|
3433
|
-
}
|
3434
|
-
]
|
3435
|
-
},
|
3436
3473
|
{
|
3437
3474
|
"kind": "field",
|
3438
|
-
"name": "
|
3475
|
+
"name": "insertKeyPlaceholderText",
|
3439
3476
|
"type": {
|
3440
3477
|
"text": "string"
|
3441
3478
|
},
|
3442
|
-
"default": "'
|
3479
|
+
"default": "'Cohere API Key'",
|
3480
|
+
"inheritedFrom": {
|
3481
|
+
"name": "DirectServiceIO",
|
3482
|
+
"module": "src/services/utils/directServiceIO.ts"
|
3483
|
+
}
|
3443
3484
|
},
|
3444
3485
|
{
|
3445
3486
|
"kind": "field",
|
3446
|
-
"name": "
|
3487
|
+
"name": "getKeyLink",
|
3447
3488
|
"type": {
|
3448
3489
|
"text": "string"
|
3449
3490
|
},
|
3450
|
-
"default": "'
|
3491
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
3451
3492
|
"inheritedFrom": {
|
3452
3493
|
"name": "DirectServiceIO",
|
3453
3494
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -3455,14 +3496,14 @@
|
|
3455
3496
|
},
|
3456
3497
|
{
|
3457
3498
|
"kind": "field",
|
3458
|
-
"name": "
|
3499
|
+
"name": "textInputPlaceholderText",
|
3459
3500
|
"type": {
|
3460
3501
|
"text": "string"
|
3461
3502
|
},
|
3462
|
-
"default": "
|
3503
|
+
"default": "inputPlaceholder",
|
3463
3504
|
"inheritedFrom": {
|
3464
|
-
"name": "
|
3465
|
-
"module": "src/services/
|
3505
|
+
"name": "CohereIO",
|
3506
|
+
"module": "src/services/cohere/cohereIO.ts"
|
3466
3507
|
}
|
3467
3508
|
},
|
3468
3509
|
{
|
@@ -3471,10 +3512,22 @@
|
|
3471
3512
|
"type": {
|
3472
3513
|
"text": "array"
|
3473
3514
|
},
|
3474
|
-
"default": "['
|
3515
|
+
"default": "['invalid']",
|
3475
3516
|
"inheritedFrom": {
|
3476
|
-
"name": "
|
3477
|
-
"module": "src/services/
|
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",
|
3528
|
+
"inheritedFrom": {
|
3529
|
+
"name": "CohereIO",
|
3530
|
+
"module": "src/services/cohere/cohereIO.ts"
|
3478
3531
|
}
|
3479
3532
|
},
|
3480
3533
|
{
|
@@ -3897,146 +3950,38 @@
|
|
3897
3950
|
}
|
3898
3951
|
],
|
3899
3952
|
"superclass": {
|
3900
|
-
"name": "
|
3901
|
-
"module": "/src/services/
|
3953
|
+
"name": "CohereIO",
|
3954
|
+
"module": "/src/services/cohere/cohereIO"
|
3902
3955
|
}
|
3903
3956
|
}
|
3904
3957
|
],
|
3905
3958
|
"exports": [
|
3906
3959
|
{
|
3907
3960
|
"kind": "js",
|
3908
|
-
"name": "
|
3961
|
+
"name": "CohereTextGenerationIO",
|
3909
3962
|
"declaration": {
|
3910
|
-
"name": "
|
3911
|
-
"module": "src/services/
|
3963
|
+
"name": "CohereTextGenerationIO",
|
3964
|
+
"module": "src/services/cohere/cohereTextGenerationIO.ts"
|
3912
3965
|
}
|
3913
3966
|
}
|
3914
3967
|
]
|
3915
3968
|
},
|
3916
3969
|
{
|
3917
3970
|
"kind": "javascript-module",
|
3918
|
-
"path": "src/services/azure/
|
3971
|
+
"path": "src/services/azure/azureLanguageIO.ts",
|
3919
3972
|
"declarations": [
|
3920
3973
|
{
|
3921
3974
|
"kind": "class",
|
3922
3975
|
"description": "",
|
3923
|
-
"name": "
|
3976
|
+
"name": "AzureLanguageIO",
|
3924
3977
|
"members": [
|
3925
|
-
{
|
3926
|
-
"kind": "field",
|
3927
|
-
"name": "HELP_LINK",
|
3928
|
-
"type": {
|
3929
|
-
"text": "string"
|
3930
|
-
},
|
3931
|
-
"privacy": "private",
|
3932
|
-
"static": true,
|
3933
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
3934
|
-
},
|
3935
|
-
{
|
3936
|
-
"kind": "field",
|
3937
|
-
"name": "introPanelMarkUp",
|
3938
|
-
"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>`"
|
3939
|
-
},
|
3940
|
-
{
|
3941
|
-
"kind": "field",
|
3942
|
-
"name": "url",
|
3943
|
-
"type": {
|
3944
|
-
"text": "string"
|
3945
|
-
},
|
3946
|
-
"default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
|
3947
|
-
},
|
3948
|
-
{
|
3949
|
-
"kind": "method",
|
3950
|
-
"name": "preprocessBody",
|
3951
|
-
"parameters": [
|
3952
|
-
{
|
3953
|
-
"name": "body",
|
3954
|
-
"type": {
|
3955
|
-
"text": "AzureTextToSpeechConfig"
|
3956
|
-
}
|
3957
|
-
},
|
3958
|
-
{
|
3959
|
-
"name": "messages",
|
3960
|
-
"type": {
|
3961
|
-
"text": "MessageContent[]"
|
3962
|
-
}
|
3963
|
-
}
|
3964
|
-
]
|
3965
|
-
},
|
3966
|
-
{
|
3967
|
-
"kind": "method",
|
3968
|
-
"name": "callServiceAPI",
|
3969
|
-
"parameters": [
|
3970
|
-
{
|
3971
|
-
"name": "messages",
|
3972
|
-
"type": {
|
3973
|
-
"text": "Messages"
|
3974
|
-
}
|
3975
|
-
},
|
3976
|
-
{
|
3977
|
-
"name": "pMessages",
|
3978
|
-
"type": {
|
3979
|
-
"text": "MessageContent[]"
|
3980
|
-
}
|
3981
|
-
}
|
3982
|
-
],
|
3983
|
-
"inheritedFrom": {
|
3984
|
-
"name": "BaseServiceIO",
|
3985
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3986
|
-
}
|
3987
|
-
},
|
3988
|
-
{
|
3989
|
-
"kind": "method",
|
3990
|
-
"name": "extractResultData",
|
3991
|
-
"return": {
|
3992
|
-
"type": {
|
3993
|
-
"text": "Promise<Result>"
|
3994
|
-
}
|
3995
|
-
},
|
3996
|
-
"parameters": [
|
3997
|
-
{
|
3998
|
-
"name": "result",
|
3999
|
-
"type": {
|
4000
|
-
"text": "AzureTextToSpeechResult"
|
4001
|
-
}
|
4002
|
-
}
|
4003
|
-
],
|
4004
|
-
"inheritedFrom": {
|
4005
|
-
"name": "BaseServiceIO",
|
4006
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4007
|
-
}
|
4008
|
-
},
|
4009
|
-
{
|
4010
|
-
"kind": "field",
|
4011
|
-
"name": "lang",
|
4012
|
-
"type": {
|
4013
|
-
"text": "string"
|
4014
|
-
},
|
4015
|
-
"default": "'en-US'"
|
4016
|
-
},
|
4017
|
-
{
|
4018
|
-
"kind": "field",
|
4019
|
-
"name": "name",
|
4020
|
-
"type": {
|
4021
|
-
"text": "string"
|
4022
|
-
},
|
4023
|
-
"default": "'en-US-JennyNeural'"
|
4024
|
-
},
|
4025
|
-
{
|
4026
|
-
"kind": "field",
|
4027
|
-
"name": "gender",
|
4028
|
-
"type": {
|
4029
|
-
"text": "string"
|
4030
|
-
},
|
4031
|
-
"default": "'Female'"
|
4032
|
-
},
|
4033
3978
|
{
|
4034
3979
|
"kind": "field",
|
4035
3980
|
"name": "insertKeyPlaceholderText",
|
4036
3981
|
"type": {
|
4037
3982
|
"text": "string"
|
4038
3983
|
},
|
4039
|
-
"default": "'Azure
|
3984
|
+
"default": "'Azure Language Subscription Key'",
|
4040
3985
|
"inheritedFrom": {
|
4041
3986
|
"name": "DirectServiceIO",
|
4042
3987
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4054,6 +3999,14 @@
|
|
4054
3999
|
"module": "src/services/utils/directServiceIO.ts"
|
4055
4000
|
}
|
4056
4001
|
},
|
4002
|
+
{
|
4003
|
+
"kind": "field",
|
4004
|
+
"name": "permittedErrorPrefixes",
|
4005
|
+
"type": {
|
4006
|
+
"text": "array"
|
4007
|
+
},
|
4008
|
+
"default": "['Access']"
|
4009
|
+
},
|
4057
4010
|
{
|
4058
4011
|
"kind": "field",
|
4059
4012
|
"name": "key",
|
@@ -4416,6 +4369,35 @@
|
|
4416
4369
|
"module": "src/services/utils/baseServiceIO.ts"
|
4417
4370
|
}
|
4418
4371
|
},
|
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
|
+
},
|
4419
4401
|
{
|
4420
4402
|
"kind": "method",
|
4421
4403
|
"name": "callApiWithFiles",
|
@@ -4471,33 +4453,54 @@
|
|
4471
4453
|
"name": "BaseServiceIO",
|
4472
4454
|
"module": "src/services/utils/baseServiceIO.ts"
|
4473
4455
|
}
|
4474
|
-
}
|
4475
|
-
|
4476
|
-
|
4477
|
-
|
4478
|
-
|
4479
|
-
|
4480
|
-
|
4481
|
-
|
4482
|
-
|
4483
|
-
|
4484
|
-
|
4485
|
-
|
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
|
+
}
|
4478
|
+
],
|
4479
|
+
"superclass": {
|
4480
|
+
"name": "DirectServiceIO",
|
4481
|
+
"module": "/src/services/utils/directServiceIO"
|
4482
|
+
}
|
4483
|
+
}
|
4484
|
+
],
|
4485
|
+
"exports": [
|
4486
|
+
{
|
4487
|
+
"kind": "js",
|
4488
|
+
"name": "AzureLanguageIO",
|
4486
4489
|
"declaration": {
|
4487
|
-
"name": "
|
4488
|
-
"module": "src/services/azure/
|
4490
|
+
"name": "AzureLanguageIO",
|
4491
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
4489
4492
|
}
|
4490
4493
|
}
|
4491
4494
|
]
|
4492
4495
|
},
|
4493
4496
|
{
|
4494
4497
|
"kind": "javascript-module",
|
4495
|
-
"path": "src/services/azure/
|
4498
|
+
"path": "src/services/azure/azureSpeechIO.ts",
|
4496
4499
|
"declarations": [
|
4497
4500
|
{
|
4498
4501
|
"kind": "class",
|
4499
4502
|
"description": "",
|
4500
|
-
"name": "
|
4503
|
+
"name": "AzureSpeechIO",
|
4501
4504
|
"members": [
|
4502
4505
|
{
|
4503
4506
|
"kind": "field",
|
@@ -4505,7 +4508,7 @@
|
|
4505
4508
|
"type": {
|
4506
4509
|
"text": "string"
|
4507
4510
|
},
|
4508
|
-
"default": "'Azure
|
4511
|
+
"default": "'Azure Speech Subscription Key'",
|
4509
4512
|
"inheritedFrom": {
|
4510
4513
|
"name": "DirectServiceIO",
|
4511
4514
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4523,69 +4526,6 @@
|
|
4523
4526
|
"module": "src/services/utils/directServiceIO.ts"
|
4524
4527
|
}
|
4525
4528
|
},
|
4526
|
-
{
|
4527
|
-
"kind": "field",
|
4528
|
-
"name": "url",
|
4529
|
-
"type": {
|
4530
|
-
"text": "string"
|
4531
|
-
},
|
4532
|
-
"default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
|
4533
|
-
},
|
4534
|
-
{
|
4535
|
-
"kind": "method",
|
4536
|
-
"name": "preprocessBody",
|
4537
|
-
"parameters": [
|
4538
|
-
{
|
4539
|
-
"name": "messages",
|
4540
|
-
"type": {
|
4541
|
-
"text": "MessageContent[]"
|
4542
|
-
}
|
4543
|
-
}
|
4544
|
-
]
|
4545
|
-
},
|
4546
|
-
{
|
4547
|
-
"kind": "method",
|
4548
|
-
"name": "callServiceAPI",
|
4549
|
-
"parameters": [
|
4550
|
-
{
|
4551
|
-
"name": "messages",
|
4552
|
-
"type": {
|
4553
|
-
"text": "Messages"
|
4554
|
-
}
|
4555
|
-
},
|
4556
|
-
{
|
4557
|
-
"name": "pMessages",
|
4558
|
-
"type": {
|
4559
|
-
"text": "MessageContent[]"
|
4560
|
-
}
|
4561
|
-
}
|
4562
|
-
],
|
4563
|
-
"inheritedFrom": {
|
4564
|
-
"name": "BaseServiceIO",
|
4565
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4566
|
-
}
|
4567
|
-
},
|
4568
|
-
{
|
4569
|
-
"kind": "method",
|
4570
|
-
"name": "extractResultData",
|
4571
|
-
"return": {
|
4572
|
-
"type": {
|
4573
|
-
"text": "Promise<Result>"
|
4574
|
-
}
|
4575
|
-
},
|
4576
|
-
"parameters": [
|
4577
|
-
{
|
4578
|
-
"name": "result",
|
4579
|
-
"type": {
|
4580
|
-
"text": "AzureTranslationResult"
|
4581
|
-
}
|
4582
|
-
}
|
4583
|
-
],
|
4584
|
-
"inheritedFrom": {
|
4585
|
-
"name": "BaseServiceIO",
|
4586
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4587
|
-
}
|
4588
|
-
},
|
4589
4529
|
{
|
4590
4530
|
"kind": "field",
|
4591
4531
|
"name": "key",
|
@@ -4948,6 +4888,35 @@
|
|
4948
4888
|
"module": "src/services/utils/baseServiceIO.ts"
|
4949
4889
|
}
|
4950
4890
|
},
|
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
|
+
},
|
4951
4920
|
{
|
4952
4921
|
"kind": "method",
|
4953
4922
|
"name": "callApiWithFiles",
|
@@ -5003,6 +4972,27 @@
|
|
5003
4972
|
"name": "BaseServiceIO",
|
5004
4973
|
"module": "src/services/utils/baseServiceIO.ts"
|
5005
4974
|
}
|
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
|
+
}
|
5006
4996
|
}
|
5007
4997
|
],
|
5008
4998
|
"superclass": {
|
@@ -5014,60 +5004,80 @@
|
|
5014
5004
|
"exports": [
|
5015
5005
|
{
|
5016
5006
|
"kind": "js",
|
5017
|
-
"name": "
|
5007
|
+
"name": "AzureSpeechIO",
|
5018
5008
|
"declaration": {
|
5019
|
-
"name": "
|
5020
|
-
"module": "src/services/azure/
|
5009
|
+
"name": "AzureSpeechIO",
|
5010
|
+
"module": "src/services/azure/azureSpeechIO.ts"
|
5021
5011
|
}
|
5022
5012
|
}
|
5023
5013
|
]
|
5024
5014
|
},
|
5025
5015
|
{
|
5026
5016
|
"kind": "javascript-module",
|
5027
|
-
"path": "src/services/
|
5017
|
+
"path": "src/services/azure/azureSpeechToTextIO.ts",
|
5028
5018
|
"declarations": [
|
5029
5019
|
{
|
5030
5020
|
"kind": "class",
|
5031
5021
|
"description": "",
|
5032
|
-
"name": "
|
5022
|
+
"name": "AzureSpeechToTextIO",
|
5033
5023
|
"members": [
|
5034
5024
|
{
|
5035
5025
|
"kind": "field",
|
5036
|
-
"name": "
|
5026
|
+
"name": "HELP_LINK",
|
5037
5027
|
"type": {
|
5038
5028
|
"text": "string"
|
5039
5029
|
},
|
5040
5030
|
"privacy": "private",
|
5041
|
-
"
|
5031
|
+
"static": true,
|
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'"
|
5042
5033
|
},
|
5043
5034
|
{
|
5044
|
-
"kind": "
|
5045
|
-
"name": "
|
5046
|
-
"
|
5047
|
-
|
5048
|
-
|
5049
|
-
|
5050
|
-
|
5051
|
-
|
5052
|
-
|
5053
|
-
|
5054
|
-
|
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"
|
5054
|
+
},
|
5055
|
+
{
|
5056
|
+
"kind": "field",
|
5057
|
+
"name": "textInputPlaceholderText",
|
5058
|
+
"type": {
|
5059
|
+
"text": "string"
|
5060
|
+
},
|
5061
|
+
"default": "'Upload an audio file'"
|
5055
5062
|
},
|
5056
5063
|
{
|
5057
5064
|
"kind": "method",
|
5058
|
-
"name": "
|
5065
|
+
"name": "canFileSendMessage",
|
5059
5066
|
"privacy": "private",
|
5067
|
+
"static": true,
|
5060
5068
|
"parameters": [
|
5061
5069
|
{
|
5062
|
-
"name": "
|
5070
|
+
"name": "_",
|
5071
|
+
"optional": true,
|
5063
5072
|
"type": {
|
5064
|
-
"text": "
|
5073
|
+
"text": "string"
|
5065
5074
|
}
|
5066
5075
|
},
|
5067
5076
|
{
|
5068
|
-
"name": "
|
5077
|
+
"name": "files",
|
5078
|
+
"optional": true,
|
5069
5079
|
"type": {
|
5070
|
-
"text": "
|
5080
|
+
"text": "File[]"
|
5071
5081
|
}
|
5072
5082
|
}
|
5073
5083
|
]
|
@@ -5083,10 +5093,17 @@
|
|
5083
5093
|
}
|
5084
5094
|
},
|
5085
5095
|
{
|
5086
|
-
"name": "
|
5096
|
+
"name": "_",
|
5087
5097
|
"type": {
|
5088
5098
|
"text": "MessageContent[]"
|
5089
5099
|
}
|
5100
|
+
},
|
5101
|
+
{
|
5102
|
+
"name": "files",
|
5103
|
+
"optional": true,
|
5104
|
+
"type": {
|
5105
|
+
"text": "File[]"
|
5106
|
+
}
|
5090
5107
|
}
|
5091
5108
|
],
|
5092
5109
|
"inheritedFrom": {
|
@@ -5106,7 +5123,7 @@
|
|
5106
5123
|
{
|
5107
5124
|
"name": "result",
|
5108
5125
|
"type": {
|
5109
|
-
"text": "
|
5126
|
+
"text": "AzureSpeechToTextResult"
|
5110
5127
|
}
|
5111
5128
|
}
|
5112
5129
|
],
|
@@ -5117,62 +5134,67 @@
|
|
5117
5134
|
},
|
5118
5135
|
{
|
5119
5136
|
"kind": "field",
|
5120
|
-
"name": "
|
5137
|
+
"name": "canSendMessage",
|
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
|
+
],
|
5121
5156
|
"type": {
|
5122
|
-
"text": "
|
5157
|
+
"text": "ValidateMessageBeforeSending"
|
5123
5158
|
},
|
5124
|
-
"default": "'Cohere API Key'",
|
5125
5159
|
"inheritedFrom": {
|
5126
|
-
"name": "
|
5127
|
-
"module": "src/services/utils/
|
5160
|
+
"name": "BaseServiceIO",
|
5161
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5128
5162
|
}
|
5129
5163
|
},
|
5130
5164
|
{
|
5131
5165
|
"kind": "field",
|
5132
|
-
"name": "
|
5166
|
+
"name": "recordAudio",
|
5133
5167
|
"type": {
|
5134
|
-
"text": "
|
5168
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
5135
5169
|
},
|
5136
|
-
"default": "'https://dashboard.cohere.ai/api-keys'",
|
5137
5170
|
"inheritedFrom": {
|
5138
|
-
"name": "
|
5139
|
-
"module": "src/services/utils/
|
5140
|
-
}
|
5141
|
-
},
|
5142
|
-
{
|
5143
|
-
"kind": "field",
|
5144
|
-
"name": "textInputPlaceholderText",
|
5145
|
-
"type": {
|
5146
|
-
"text": "string"
|
5171
|
+
"name": "BaseServiceIO",
|
5172
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5147
5173
|
},
|
5148
|
-
"default": "
|
5149
|
-
"inheritedFrom": {
|
5150
|
-
"name": "CohereIO",
|
5151
|
-
"module": "src/services/cohere/cohereIO.ts"
|
5152
|
-
}
|
5174
|
+
"default": "undefined"
|
5153
5175
|
},
|
5154
5176
|
{
|
5155
5177
|
"kind": "field",
|
5156
|
-
"name": "
|
5178
|
+
"name": "insertKeyPlaceholderText",
|
5157
5179
|
"type": {
|
5158
|
-
"text": "
|
5180
|
+
"text": "string"
|
5159
5181
|
},
|
5160
|
-
"default": "
|
5182
|
+
"default": "'Azure Speech Subscription Key'",
|
5161
5183
|
"inheritedFrom": {
|
5162
|
-
"name": "
|
5163
|
-
"module": "src/services/
|
5184
|
+
"name": "DirectServiceIO",
|
5185
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5164
5186
|
}
|
5165
5187
|
},
|
5166
5188
|
{
|
5167
5189
|
"kind": "field",
|
5168
|
-
"name": "
|
5190
|
+
"name": "getKeyLink",
|
5169
5191
|
"type": {
|
5170
5192
|
"text": "string"
|
5171
5193
|
},
|
5172
|
-
"default": "
|
5194
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
5173
5195
|
"inheritedFrom": {
|
5174
|
-
"name": "
|
5175
|
-
"module": "src/services/
|
5196
|
+
"name": "DirectServiceIO",
|
5197
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5176
5198
|
}
|
5177
5199
|
},
|
5178
5200
|
{
|
@@ -5346,35 +5368,6 @@
|
|
5346
5368
|
"module": "src/services/utils/baseServiceIO.ts"
|
5347
5369
|
}
|
5348
5370
|
},
|
5349
|
-
{
|
5350
|
-
"kind": "field",
|
5351
|
-
"name": "canSendMessage",
|
5352
|
-
"privacy": "private",
|
5353
|
-
"static": true,
|
5354
|
-
"parameters": [
|
5355
|
-
{
|
5356
|
-
"name": "text",
|
5357
|
-
"optional": true,
|
5358
|
-
"type": {
|
5359
|
-
"text": "string"
|
5360
|
-
}
|
5361
|
-
},
|
5362
|
-
{
|
5363
|
-
"name": "files",
|
5364
|
-
"optional": true,
|
5365
|
-
"type": {
|
5366
|
-
"text": "File[]"
|
5367
|
-
}
|
5368
|
-
}
|
5369
|
-
],
|
5370
|
-
"type": {
|
5371
|
-
"text": "ValidateMessageBeforeSending"
|
5372
|
-
},
|
5373
|
-
"inheritedFrom": {
|
5374
|
-
"name": "BaseServiceIO",
|
5375
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5376
|
-
}
|
5377
|
-
},
|
5378
5371
|
{
|
5379
5372
|
"kind": "field",
|
5380
5373
|
"name": "fileTypes",
|
@@ -5398,17 +5391,6 @@
|
|
5398
5391
|
"module": "src/services/utils/baseServiceIO.ts"
|
5399
5392
|
}
|
5400
5393
|
},
|
5401
|
-
{
|
5402
|
-
"kind": "field",
|
5403
|
-
"name": "recordAudio",
|
5404
|
-
"type": {
|
5405
|
-
"text": "MicrophoneFilesServiceConfig | undefined"
|
5406
|
-
},
|
5407
|
-
"inheritedFrom": {
|
5408
|
-
"name": "BaseServiceIO",
|
5409
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5410
|
-
}
|
5411
|
-
},
|
5412
5394
|
{
|
5413
5395
|
"kind": "field",
|
5414
5396
|
"name": "totalMessagesMaxCharLength",
|
@@ -5522,31 +5504,150 @@
|
|
5522
5504
|
},
|
5523
5505
|
{
|
5524
5506
|
"kind": "method",
|
5525
|
-
"name": "getServiceIOByType",
|
5526
|
-
"privacy": "private",
|
5507
|
+
"name": "getServiceIOByType",
|
5508
|
+
"privacy": "private",
|
5509
|
+
"parameters": [
|
5510
|
+
{
|
5511
|
+
"name": "file",
|
5512
|
+
"type": {
|
5513
|
+
"text": "File"
|
5514
|
+
}
|
5515
|
+
}
|
5516
|
+
],
|
5517
|
+
"inheritedFrom": {
|
5518
|
+
"name": "BaseServiceIO",
|
5519
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5520
|
+
}
|
5521
|
+
},
|
5522
|
+
{
|
5523
|
+
"kind": "method",
|
5524
|
+
"name": "callApiWithFiles",
|
5525
|
+
"parameters": [
|
5526
|
+
{
|
5527
|
+
"name": "body",
|
5528
|
+
"type": {
|
5529
|
+
"text": "any"
|
5530
|
+
}
|
5531
|
+
},
|
5532
|
+
{
|
5533
|
+
"name": "messages",
|
5534
|
+
"type": {
|
5535
|
+
"text": "Messages"
|
5536
|
+
}
|
5537
|
+
},
|
5538
|
+
{
|
5539
|
+
"name": "pMessages",
|
5540
|
+
"type": {
|
5541
|
+
"text": "MessageContent[]"
|
5542
|
+
}
|
5543
|
+
},
|
5544
|
+
{
|
5545
|
+
"name": "files",
|
5546
|
+
"type": {
|
5547
|
+
"text": "File[]"
|
5548
|
+
}
|
5549
|
+
}
|
5550
|
+
],
|
5551
|
+
"inheritedFrom": {
|
5552
|
+
"name": "BaseServiceIO",
|
5553
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5554
|
+
}
|
5555
|
+
},
|
5556
|
+
{
|
5557
|
+
"kind": "method",
|
5558
|
+
"name": "callAPI",
|
5559
|
+
"parameters": [
|
5560
|
+
{
|
5561
|
+
"name": "requestContents",
|
5562
|
+
"type": {
|
5563
|
+
"text": "RequestContents"
|
5564
|
+
}
|
5565
|
+
},
|
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": "AzureSpeechIO",
|
5581
|
+
"module": "/src/services/azure/azureSpeechIO"
|
5582
|
+
}
|
5583
|
+
}
|
5584
|
+
],
|
5585
|
+
"exports": [
|
5586
|
+
{
|
5587
|
+
"kind": "js",
|
5588
|
+
"name": "AzureSpeechToTextIO",
|
5589
|
+
"declaration": {
|
5590
|
+
"name": "AzureSpeechToTextIO",
|
5591
|
+
"module": "src/services/azure/azureSpeechToTextIO.ts"
|
5592
|
+
}
|
5593
|
+
}
|
5594
|
+
]
|
5595
|
+
},
|
5596
|
+
{
|
5597
|
+
"kind": "javascript-module",
|
5598
|
+
"path": "src/services/azure/azureSummarizationIO.ts",
|
5599
|
+
"declarations": [
|
5600
|
+
{
|
5601
|
+
"kind": "class",
|
5602
|
+
"description": "",
|
5603
|
+
"name": "AzureSummarizationIO",
|
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",
|
5527
5632
|
"parameters": [
|
5528
5633
|
{
|
5529
|
-
"name": "
|
5634
|
+
"name": "body",
|
5530
5635
|
"type": {
|
5531
|
-
"text": "
|
5636
|
+
"text": "RawBody"
|
5637
|
+
}
|
5638
|
+
},
|
5639
|
+
{
|
5640
|
+
"name": "messages",
|
5641
|
+
"type": {
|
5642
|
+
"text": "MessageContent[]"
|
5532
5643
|
}
|
5533
5644
|
}
|
5534
|
-
]
|
5535
|
-
"inheritedFrom": {
|
5536
|
-
"name": "BaseServiceIO",
|
5537
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5538
|
-
}
|
5645
|
+
]
|
5539
5646
|
},
|
5540
5647
|
{
|
5541
5648
|
"kind": "method",
|
5542
|
-
"name": "
|
5649
|
+
"name": "callServiceAPI",
|
5543
5650
|
"parameters": [
|
5544
|
-
{
|
5545
|
-
"name": "body",
|
5546
|
-
"type": {
|
5547
|
-
"text": "any"
|
5548
|
-
}
|
5549
|
-
},
|
5550
5651
|
{
|
5551
5652
|
"name": "messages",
|
5552
5653
|
"type": {
|
@@ -5558,12 +5659,6 @@
|
|
5558
5659
|
"type": {
|
5559
5660
|
"text": "MessageContent[]"
|
5560
5661
|
}
|
5561
|
-
},
|
5562
|
-
{
|
5563
|
-
"name": "files",
|
5564
|
-
"type": {
|
5565
|
-
"text": "File[]"
|
5566
|
-
}
|
5567
5662
|
}
|
5568
5663
|
],
|
5569
5664
|
"inheritedFrom": {
|
@@ -5573,18 +5668,17 @@
|
|
5573
5668
|
},
|
5574
5669
|
{
|
5575
5670
|
"kind": "method",
|
5576
|
-
"name": "
|
5671
|
+
"name": "extractResultData",
|
5672
|
+
"return": {
|
5673
|
+
"type": {
|
5674
|
+
"text": "Promise<{pollingInAnotherRequest: true}>"
|
5675
|
+
}
|
5676
|
+
},
|
5577
5677
|
"parameters": [
|
5578
5678
|
{
|
5579
|
-
"name": "
|
5580
|
-
"type": {
|
5581
|
-
"text": "RequestContents"
|
5582
|
-
}
|
5583
|
-
},
|
5584
|
-
{
|
5585
|
-
"name": "messages",
|
5679
|
+
"name": "result",
|
5586
5680
|
"type": {
|
5587
|
-
"text": "
|
5681
|
+
"text": "Response & AzureAuthenticationError"
|
5588
5682
|
}
|
5589
5683
|
}
|
5590
5684
|
],
|
@@ -5592,53 +5686,39 @@
|
|
5592
5686
|
"name": "BaseServiceIO",
|
5593
5687
|
"module": "src/services/utils/baseServiceIO.ts"
|
5594
5688
|
}
|
5595
|
-
}
|
5596
|
-
|
5597
|
-
|
5598
|
-
|
5599
|
-
|
5600
|
-
|
5601
|
-
|
5602
|
-
|
5603
|
-
|
5604
|
-
|
5605
|
-
|
5606
|
-
|
5607
|
-
|
5608
|
-
|
5609
|
-
|
5610
|
-
|
5611
|
-
|
5612
|
-
|
5613
|
-
},
|
5614
|
-
{
|
5615
|
-
"kind": "javascript-module",
|
5616
|
-
"path": "src/services/cohere/cohereIO.ts",
|
5617
|
-
"declarations": [
|
5618
|
-
{
|
5619
|
-
"kind": "class",
|
5620
|
-
"description": "",
|
5621
|
-
"name": "CohereIO",
|
5622
|
-
"members": [
|
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
|
+
},
|
5623
5707
|
{
|
5624
5708
|
"kind": "field",
|
5625
|
-
"name": "
|
5709
|
+
"name": "language",
|
5626
5710
|
"type": {
|
5627
5711
|
"text": "string"
|
5628
5712
|
},
|
5629
|
-
"default": "'
|
5630
|
-
"inheritedFrom": {
|
5631
|
-
"name": "DirectServiceIO",
|
5632
|
-
"module": "src/services/utils/directServiceIO.ts"
|
5633
|
-
}
|
5713
|
+
"default": "'en'"
|
5634
5714
|
},
|
5635
5715
|
{
|
5636
5716
|
"kind": "field",
|
5637
|
-
"name": "
|
5717
|
+
"name": "insertKeyPlaceholderText",
|
5638
5718
|
"type": {
|
5639
5719
|
"text": "string"
|
5640
5720
|
},
|
5641
|
-
"default": "'
|
5721
|
+
"default": "'Azure Language Subscription Key'",
|
5642
5722
|
"inheritedFrom": {
|
5643
5723
|
"name": "DirectServiceIO",
|
5644
5724
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -5646,11 +5726,15 @@
|
|
5646
5726
|
},
|
5647
5727
|
{
|
5648
5728
|
"kind": "field",
|
5649
|
-
"name": "
|
5729
|
+
"name": "getKeyLink",
|
5650
5730
|
"type": {
|
5651
5731
|
"text": "string"
|
5652
5732
|
},
|
5653
|
-
"default": "
|
5733
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
5734
|
+
"inheritedFrom": {
|
5735
|
+
"name": "DirectServiceIO",
|
5736
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5737
|
+
}
|
5654
5738
|
},
|
5655
5739
|
{
|
5656
5740
|
"kind": "field",
|
@@ -5658,15 +5742,11 @@
|
|
5658
5742
|
"type": {
|
5659
5743
|
"text": "array"
|
5660
5744
|
},
|
5661
|
-
"default": "['
|
5662
|
-
|
5663
|
-
|
5664
|
-
|
5665
|
-
|
5666
|
-
"type": {
|
5667
|
-
"text": "string"
|
5668
|
-
},
|
5669
|
-
"default": "url"
|
5745
|
+
"default": "['Access']",
|
5746
|
+
"inheritedFrom": {
|
5747
|
+
"name": "AzureLanguageIO",
|
5748
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
5749
|
+
}
|
5670
5750
|
},
|
5671
5751
|
{
|
5672
5752
|
"kind": "field",
|
@@ -6030,35 +6110,6 @@
|
|
6030
6110
|
"module": "src/services/utils/baseServiceIO.ts"
|
6031
6111
|
}
|
6032
6112
|
},
|
6033
|
-
{
|
6034
|
-
"kind": "method",
|
6035
|
-
"name": "callServiceAPI",
|
6036
|
-
"parameters": [
|
6037
|
-
{
|
6038
|
-
"name": "messages",
|
6039
|
-
"type": {
|
6040
|
-
"text": "Messages"
|
6041
|
-
}
|
6042
|
-
},
|
6043
|
-
{
|
6044
|
-
"name": "pMessages",
|
6045
|
-
"type": {
|
6046
|
-
"text": "MessageContent[]"
|
6047
|
-
}
|
6048
|
-
},
|
6049
|
-
{
|
6050
|
-
"name": "_",
|
6051
|
-
"optional": true,
|
6052
|
-
"type": {
|
6053
|
-
"text": "File[]"
|
6054
|
-
}
|
6055
|
-
}
|
6056
|
-
],
|
6057
|
-
"inheritedFrom": {
|
6058
|
-
"name": "BaseServiceIO",
|
6059
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
6060
|
-
}
|
6061
|
-
},
|
6062
6113
|
{
|
6063
6114
|
"kind": "method",
|
6064
6115
|
"name": "callApiWithFiles",
|
@@ -6114,55 +6165,57 @@
|
|
6114
6165
|
"name": "BaseServiceIO",
|
6115
6166
|
"module": "src/services/utils/baseServiceIO.ts"
|
6116
6167
|
}
|
6117
|
-
},
|
6118
|
-
{
|
6119
|
-
"kind": "method",
|
6120
|
-
"name": "extractResultData",
|
6121
|
-
"return": {
|
6122
|
-
"type": {
|
6123
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
6124
|
-
}
|
6125
|
-
},
|
6126
|
-
"parameters": [
|
6127
|
-
{
|
6128
|
-
"name": "result",
|
6129
|
-
"type": {
|
6130
|
-
"text": "any | CustomServiceResponse"
|
6131
|
-
}
|
6132
|
-
}
|
6133
|
-
],
|
6134
|
-
"inheritedFrom": {
|
6135
|
-
"name": "BaseServiceIO",
|
6136
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
6137
|
-
}
|
6138
6168
|
}
|
6139
6169
|
],
|
6140
6170
|
"superclass": {
|
6141
|
-
"name": "
|
6142
|
-
"module": "/src/services/
|
6171
|
+
"name": "AzureLanguageIO",
|
6172
|
+
"module": "/src/services/azure/azureLanguageIO"
|
6143
6173
|
}
|
6144
6174
|
}
|
6145
6175
|
],
|
6146
6176
|
"exports": [
|
6147
6177
|
{
|
6148
6178
|
"kind": "js",
|
6149
|
-
"name": "
|
6179
|
+
"name": "AzureSummarizationIO",
|
6150
6180
|
"declaration": {
|
6151
|
-
"name": "
|
6152
|
-
"module": "src/services/
|
6181
|
+
"name": "AzureSummarizationIO",
|
6182
|
+
"module": "src/services/azure/azureSummarizationIO.ts"
|
6153
6183
|
}
|
6154
6184
|
}
|
6155
6185
|
]
|
6156
6186
|
},
|
6157
6187
|
{
|
6158
6188
|
"kind": "javascript-module",
|
6159
|
-
"path": "src/services/
|
6189
|
+
"path": "src/services/azure/azureTextToSpeechIO.ts",
|
6160
6190
|
"declarations": [
|
6161
6191
|
{
|
6162
6192
|
"kind": "class",
|
6163
6193
|
"description": "",
|
6164
|
-
"name": "
|
6194
|
+
"name": "AzureTextToSpeechIO",
|
6165
6195
|
"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
|
+
},
|
6166
6219
|
{
|
6167
6220
|
"kind": "method",
|
6168
6221
|
"name": "preprocessBody",
|
@@ -6170,7 +6223,7 @@
|
|
6170
6223
|
{
|
6171
6224
|
"name": "body",
|
6172
6225
|
"type": {
|
6173
|
-
"text": "
|
6226
|
+
"text": "AzureTextToSpeechConfig"
|
6174
6227
|
}
|
6175
6228
|
},
|
6176
6229
|
{
|
@@ -6215,7 +6268,7 @@
|
|
6215
6268
|
{
|
6216
6269
|
"name": "result",
|
6217
6270
|
"type": {
|
6218
|
-
"text": "
|
6271
|
+
"text": "AzureTextToSpeechResult"
|
6219
6272
|
}
|
6220
6273
|
}
|
6221
6274
|
],
|
@@ -6226,62 +6279,50 @@
|
|
6226
6279
|
},
|
6227
6280
|
{
|
6228
6281
|
"kind": "field",
|
6229
|
-
"name": "
|
6282
|
+
"name": "lang",
|
6230
6283
|
"type": {
|
6231
6284
|
"text": "string"
|
6232
6285
|
},
|
6233
|
-
"default": "'
|
6234
|
-
"inheritedFrom": {
|
6235
|
-
"name": "DirectServiceIO",
|
6236
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6237
|
-
}
|
6286
|
+
"default": "'en-US'"
|
6238
6287
|
},
|
6239
6288
|
{
|
6240
6289
|
"kind": "field",
|
6241
|
-
"name": "
|
6290
|
+
"name": "name",
|
6242
6291
|
"type": {
|
6243
6292
|
"text": "string"
|
6244
6293
|
},
|
6245
|
-
"default": "'
|
6246
|
-
"inheritedFrom": {
|
6247
|
-
"name": "DirectServiceIO",
|
6248
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6249
|
-
}
|
6294
|
+
"default": "'en-US-JennyNeural'"
|
6250
6295
|
},
|
6251
6296
|
{
|
6252
6297
|
"kind": "field",
|
6253
|
-
"name": "
|
6298
|
+
"name": "gender",
|
6254
6299
|
"type": {
|
6255
|
-
"text": "string"
|
6256
|
-
},
|
6257
|
-
"default": "
|
6258
|
-
"inheritedFrom": {
|
6259
|
-
"name": "CohereIO",
|
6260
|
-
"module": "src/services/cohere/cohereIO.ts"
|
6261
|
-
}
|
6300
|
+
"text": "string"
|
6301
|
+
},
|
6302
|
+
"default": "'Female'"
|
6262
6303
|
},
|
6263
6304
|
{
|
6264
6305
|
"kind": "field",
|
6265
|
-
"name": "
|
6306
|
+
"name": "insertKeyPlaceholderText",
|
6266
6307
|
"type": {
|
6267
|
-
"text": "
|
6308
|
+
"text": "string"
|
6268
6309
|
},
|
6269
|
-
"default": "
|
6310
|
+
"default": "'Azure Speech Subscription Key'",
|
6270
6311
|
"inheritedFrom": {
|
6271
|
-
"name": "
|
6272
|
-
"module": "src/services/
|
6312
|
+
"name": "DirectServiceIO",
|
6313
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6273
6314
|
}
|
6274
6315
|
},
|
6275
6316
|
{
|
6276
6317
|
"kind": "field",
|
6277
|
-
"name": "
|
6318
|
+
"name": "getKeyLink",
|
6278
6319
|
"type": {
|
6279
6320
|
"text": "string"
|
6280
6321
|
},
|
6281
|
-
"default": "
|
6322
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
6282
6323
|
"inheritedFrom": {
|
6283
|
-
"name": "
|
6284
|
-
"module": "src/services/
|
6324
|
+
"name": "DirectServiceIO",
|
6325
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6285
6326
|
}
|
6286
6327
|
},
|
6287
6328
|
{
|
@@ -6704,41 +6745,67 @@
|
|
6704
6745
|
}
|
6705
6746
|
],
|
6706
6747
|
"superclass": {
|
6707
|
-
"name": "
|
6708
|
-
"module": "/src/services/
|
6748
|
+
"name": "AzureSpeechIO",
|
6749
|
+
"module": "/src/services/azure/azureSpeechIO"
|
6709
6750
|
}
|
6710
6751
|
}
|
6711
6752
|
],
|
6712
6753
|
"exports": [
|
6713
6754
|
{
|
6714
6755
|
"kind": "js",
|
6715
|
-
"name": "
|
6756
|
+
"name": "AzureTextToSpeechIO",
|
6716
6757
|
"declaration": {
|
6717
|
-
"name": "
|
6718
|
-
"module": "src/services/
|
6758
|
+
"name": "AzureTextToSpeechIO",
|
6759
|
+
"module": "src/services/azure/azureTextToSpeechIO.ts"
|
6719
6760
|
}
|
6720
6761
|
}
|
6721
6762
|
]
|
6722
6763
|
},
|
6723
6764
|
{
|
6724
6765
|
"kind": "javascript-module",
|
6725
|
-
"path": "src/services/
|
6766
|
+
"path": "src/services/azure/azureTranslationIO.ts",
|
6726
6767
|
"declarations": [
|
6727
6768
|
{
|
6728
6769
|
"kind": "class",
|
6729
6770
|
"description": "",
|
6730
|
-
"name": "
|
6771
|
+
"name": "AzureTranslationIO",
|
6731
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
|
+
},
|
6732
6805
|
{
|
6733
6806
|
"kind": "method",
|
6734
6807
|
"name": "preprocessBody",
|
6735
6808
|
"parameters": [
|
6736
|
-
{
|
6737
|
-
"name": "body",
|
6738
|
-
"type": {
|
6739
|
-
"text": "CohereGenerateConfig"
|
6740
|
-
}
|
6741
|
-
},
|
6742
6809
|
{
|
6743
6810
|
"name": "messages",
|
6744
6811
|
"type": {
|
@@ -6781,7 +6848,7 @@
|
|
6781
6848
|
{
|
6782
6849
|
"name": "result",
|
6783
6850
|
"type": {
|
6784
|
-
"text": "
|
6851
|
+
"text": "AzureTranslationResult"
|
6785
6852
|
}
|
6786
6853
|
}
|
6787
6854
|
],
|
@@ -6790,66 +6857,6 @@
|
|
6790
6857
|
"module": "src/services/utils/baseServiceIO.ts"
|
6791
6858
|
}
|
6792
6859
|
},
|
6793
|
-
{
|
6794
|
-
"kind": "field",
|
6795
|
-
"name": "insertKeyPlaceholderText",
|
6796
|
-
"type": {
|
6797
|
-
"text": "string"
|
6798
|
-
},
|
6799
|
-
"default": "'Cohere API Key'",
|
6800
|
-
"inheritedFrom": {
|
6801
|
-
"name": "DirectServiceIO",
|
6802
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6803
|
-
}
|
6804
|
-
},
|
6805
|
-
{
|
6806
|
-
"kind": "field",
|
6807
|
-
"name": "getKeyLink",
|
6808
|
-
"type": {
|
6809
|
-
"text": "string"
|
6810
|
-
},
|
6811
|
-
"default": "'https://dashboard.cohere.ai/api-keys'",
|
6812
|
-
"inheritedFrom": {
|
6813
|
-
"name": "DirectServiceIO",
|
6814
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6815
|
-
}
|
6816
|
-
},
|
6817
|
-
{
|
6818
|
-
"kind": "field",
|
6819
|
-
"name": "textInputPlaceholderText",
|
6820
|
-
"type": {
|
6821
|
-
"text": "string"
|
6822
|
-
},
|
6823
|
-
"default": "inputPlaceholder",
|
6824
|
-
"inheritedFrom": {
|
6825
|
-
"name": "CohereIO",
|
6826
|
-
"module": "src/services/cohere/cohereIO.ts"
|
6827
|
-
}
|
6828
|
-
},
|
6829
|
-
{
|
6830
|
-
"kind": "field",
|
6831
|
-
"name": "permittedErrorPrefixes",
|
6832
|
-
"type": {
|
6833
|
-
"text": "array"
|
6834
|
-
},
|
6835
|
-
"default": "['invalid']",
|
6836
|
-
"inheritedFrom": {
|
6837
|
-
"name": "CohereIO",
|
6838
|
-
"module": "src/services/cohere/cohereIO.ts"
|
6839
|
-
}
|
6840
|
-
},
|
6841
|
-
{
|
6842
|
-
"kind": "field",
|
6843
|
-
"name": "url",
|
6844
|
-
"type": {
|
6845
|
-
"text": "string"
|
6846
|
-
},
|
6847
|
-
"default": "url",
|
6848
|
-
"inheritedFrom": {
|
6849
|
-
"name": "CohereIO",
|
6850
|
-
"module": "src/services/cohere/cohereIO.ts"
|
6851
|
-
}
|
6852
|
-
},
|
6853
6860
|
{
|
6854
6861
|
"kind": "field",
|
6855
6862
|
"name": "key",
|
@@ -7270,18 +7277,18 @@
|
|
7270
7277
|
}
|
7271
7278
|
],
|
7272
7279
|
"superclass": {
|
7273
|
-
"name": "
|
7274
|
-
"module": "/src/services/
|
7280
|
+
"name": "DirectServiceIO",
|
7281
|
+
"module": "/src/services/utils/directServiceIO"
|
7275
7282
|
}
|
7276
7283
|
}
|
7277
7284
|
],
|
7278
7285
|
"exports": [
|
7279
7286
|
{
|
7280
7287
|
"kind": "js",
|
7281
|
-
"name": "
|
7288
|
+
"name": "AzureTranslationIO",
|
7282
7289
|
"declaration": {
|
7283
|
-
"name": "
|
7284
|
-
"module": "src/services/
|
7290
|
+
"name": "AzureTranslationIO",
|
7291
|
+
"module": "src/services/azure/azureTranslationIO.ts"
|
7285
7292
|
}
|
7286
7293
|
}
|
7287
7294
|
]
|
@@ -22305,30 +22312,6 @@
|
|
22305
22312
|
}
|
22306
22313
|
]
|
22307
22314
|
},
|
22308
|
-
{
|
22309
|
-
"kind": "javascript-module",
|
22310
|
-
"path": "src/utils/errorMessages/errorMessages.ts",
|
22311
|
-
"declarations": [
|
22312
|
-
{
|
22313
|
-
"kind": "variable",
|
22314
|
-
"name": "ErrorMessages",
|
22315
|
-
"type": {
|
22316
|
-
"text": "object"
|
22317
|
-
},
|
22318
|
-
"default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_STREAM_RESPONSE:\n `Make sure the events are using the Result format: ` +\n `https://deepchat.dev/docs/connect/#Result \\n` +\n `You can also augment them using the responseInterceptor property: ` +\n `https://deepchat.dev/docs/interceptors#responseInterceptor`,\n}"
|
22319
|
-
}
|
22320
|
-
],
|
22321
|
-
"exports": [
|
22322
|
-
{
|
22323
|
-
"kind": "js",
|
22324
|
-
"name": "ErrorMessages",
|
22325
|
-
"declaration": {
|
22326
|
-
"name": "ErrorMessages",
|
22327
|
-
"module": "src/utils/errorMessages/errorMessages.ts"
|
22328
|
-
}
|
22329
|
-
}
|
22330
|
-
]
|
22331
|
-
},
|
22332
22315
|
{
|
22333
22316
|
"kind": "javascript-module",
|
22334
22317
|
"path": "src/utils/element/elementUtils.ts",
|
@@ -22671,6 +22654,30 @@
|
|
22671
22654
|
}
|
22672
22655
|
]
|
22673
22656
|
},
|
22657
|
+
{
|
22658
|
+
"kind": "javascript-module",
|
22659
|
+
"path": "src/utils/errorMessages/errorMessages.ts",
|
22660
|
+
"declarations": [
|
22661
|
+
{
|
22662
|
+
"kind": "variable",
|
22663
|
+
"name": "ErrorMessages",
|
22664
|
+
"type": {
|
22665
|
+
"text": "object"
|
22666
|
+
},
|
22667
|
+
"default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_STREAM_RESPONSE:\n `Make sure the events are using the Result format: ` +\n `https://deepchat.dev/docs/connect/#Result \\n` +\n `You can also augment them using the responseInterceptor property: ` +\n `https://deepchat.dev/docs/interceptors#responseInterceptor`,\n}"
|
22668
|
+
}
|
22669
|
+
],
|
22670
|
+
"exports": [
|
22671
|
+
{
|
22672
|
+
"kind": "js",
|
22673
|
+
"name": "ErrorMessages",
|
22674
|
+
"declaration": {
|
22675
|
+
"name": "ErrorMessages",
|
22676
|
+
"module": "src/utils/errorMessages/errorMessages.ts"
|
22677
|
+
}
|
22678
|
+
}
|
22679
|
+
]
|
22680
|
+
},
|
22674
22681
|
{
|
22675
22682
|
"kind": "javascript-module",
|
22676
22683
|
"path": "src/utils/events/fireEvents.ts",
|
@@ -23092,10 +23099,90 @@
|
|
23092
23099
|
"exports": [
|
23093
23100
|
{
|
23094
23101
|
"kind": "js",
|
23095
|
-
"name": "AssemblyAIUtils",
|
23102
|
+
"name": "AssemblyAIUtils",
|
23103
|
+
"declaration": {
|
23104
|
+
"name": "AssemblyAIUtils",
|
23105
|
+
"module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
|
23106
|
+
}
|
23107
|
+
}
|
23108
|
+
]
|
23109
|
+
},
|
23110
|
+
{
|
23111
|
+
"kind": "javascript-module",
|
23112
|
+
"path": "src/services/cohere/utils/cohereUtils.ts",
|
23113
|
+
"declarations": [
|
23114
|
+
{
|
23115
|
+
"kind": "class",
|
23116
|
+
"description": "",
|
23117
|
+
"name": "CohereUtils",
|
23118
|
+
"members": [
|
23119
|
+
{
|
23120
|
+
"kind": "method",
|
23121
|
+
"name": "buildHeaders",
|
23122
|
+
"privacy": "public",
|
23123
|
+
"static": true,
|
23124
|
+
"parameters": [
|
23125
|
+
{
|
23126
|
+
"name": "key",
|
23127
|
+
"type": {
|
23128
|
+
"text": "string"
|
23129
|
+
}
|
23130
|
+
}
|
23131
|
+
]
|
23132
|
+
},
|
23133
|
+
{
|
23134
|
+
"kind": "method",
|
23135
|
+
"name": "handleVerificationResult",
|
23136
|
+
"privacy": "private",
|
23137
|
+
"static": true,
|
23138
|
+
"parameters": [
|
23139
|
+
{
|
23140
|
+
"name": "result",
|
23141
|
+
"type": {
|
23142
|
+
"text": "object"
|
23143
|
+
}
|
23144
|
+
},
|
23145
|
+
{
|
23146
|
+
"name": "key",
|
23147
|
+
"type": {
|
23148
|
+
"text": "string"
|
23149
|
+
}
|
23150
|
+
},
|
23151
|
+
{
|
23152
|
+
"name": "onSuccess",
|
23153
|
+
"type": {
|
23154
|
+
"text": "(key: string) => void"
|
23155
|
+
}
|
23156
|
+
},
|
23157
|
+
{
|
23158
|
+
"name": "onFail",
|
23159
|
+
"type": {
|
23160
|
+
"text": "(message: string) => void"
|
23161
|
+
}
|
23162
|
+
}
|
23163
|
+
]
|
23164
|
+
},
|
23165
|
+
{
|
23166
|
+
"kind": "method",
|
23167
|
+
"name": "buildKeyVerificationDetails",
|
23168
|
+
"privacy": "public",
|
23169
|
+
"static": true,
|
23170
|
+
"return": {
|
23171
|
+
"type": {
|
23172
|
+
"text": "KeyVerificationDetails"
|
23173
|
+
}
|
23174
|
+
}
|
23175
|
+
}
|
23176
|
+
]
|
23177
|
+
}
|
23178
|
+
],
|
23179
|
+
"exports": [
|
23180
|
+
{
|
23181
|
+
"kind": "js",
|
23182
|
+
"name": "CohereUtils",
|
23096
23183
|
"declaration": {
|
23097
|
-
"name": "
|
23098
|
-
"module": "src/services/
|
23184
|
+
"name": "CohereUtils",
|
23185
|
+
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23099
23186
|
}
|
23100
23187
|
}
|
23101
23188
|
]
|
@@ -23345,86 +23432,6 @@
|
|
23345
23432
|
}
|
23346
23433
|
]
|
23347
23434
|
},
|
23348
|
-
{
|
23349
|
-
"kind": "javascript-module",
|
23350
|
-
"path": "src/services/cohere/utils/cohereUtils.ts",
|
23351
|
-
"declarations": [
|
23352
|
-
{
|
23353
|
-
"kind": "class",
|
23354
|
-
"description": "",
|
23355
|
-
"name": "CohereUtils",
|
23356
|
-
"members": [
|
23357
|
-
{
|
23358
|
-
"kind": "method",
|
23359
|
-
"name": "buildHeaders",
|
23360
|
-
"privacy": "public",
|
23361
|
-
"static": true,
|
23362
|
-
"parameters": [
|
23363
|
-
{
|
23364
|
-
"name": "key",
|
23365
|
-
"type": {
|
23366
|
-
"text": "string"
|
23367
|
-
}
|
23368
|
-
}
|
23369
|
-
]
|
23370
|
-
},
|
23371
|
-
{
|
23372
|
-
"kind": "method",
|
23373
|
-
"name": "handleVerificationResult",
|
23374
|
-
"privacy": "private",
|
23375
|
-
"static": true,
|
23376
|
-
"parameters": [
|
23377
|
-
{
|
23378
|
-
"name": "result",
|
23379
|
-
"type": {
|
23380
|
-
"text": "object"
|
23381
|
-
}
|
23382
|
-
},
|
23383
|
-
{
|
23384
|
-
"name": "key",
|
23385
|
-
"type": {
|
23386
|
-
"text": "string"
|
23387
|
-
}
|
23388
|
-
},
|
23389
|
-
{
|
23390
|
-
"name": "onSuccess",
|
23391
|
-
"type": {
|
23392
|
-
"text": "(key: string) => void"
|
23393
|
-
}
|
23394
|
-
},
|
23395
|
-
{
|
23396
|
-
"name": "onFail",
|
23397
|
-
"type": {
|
23398
|
-
"text": "(message: string) => void"
|
23399
|
-
}
|
23400
|
-
}
|
23401
|
-
]
|
23402
|
-
},
|
23403
|
-
{
|
23404
|
-
"kind": "method",
|
23405
|
-
"name": "buildKeyVerificationDetails",
|
23406
|
-
"privacy": "public",
|
23407
|
-
"static": true,
|
23408
|
-
"return": {
|
23409
|
-
"type": {
|
23410
|
-
"text": "KeyVerificationDetails"
|
23411
|
-
}
|
23412
|
-
}
|
23413
|
-
}
|
23414
|
-
]
|
23415
|
-
}
|
23416
|
-
],
|
23417
|
-
"exports": [
|
23418
|
-
{
|
23419
|
-
"kind": "js",
|
23420
|
-
"name": "CohereUtils",
|
23421
|
-
"declaration": {
|
23422
|
-
"name": "CohereUtils",
|
23423
|
-
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23424
|
-
}
|
23425
|
-
}
|
23426
|
-
]
|
23427
|
-
},
|
23428
23435
|
{
|
23429
23436
|
"kind": "javascript-module",
|
23430
23437
|
"path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
|
@@ -25320,6 +25327,11 @@
|
|
25320
25327
|
}
|
25321
25328
|
]
|
25322
25329
|
},
|
25330
|
+
{
|
25331
|
+
"kind": "method",
|
25332
|
+
"name": "clearAllMessages",
|
25333
|
+
"privacy": "private"
|
25334
|
+
},
|
25323
25335
|
{
|
25324
25336
|
"kind": "method",
|
25325
25337
|
"name": "refreshTextMessages",
|
@@ -25329,6 +25341,10 @@
|
|
25329
25341
|
"kind": "field",
|
25330
25342
|
"name": "getMessages"
|
25331
25343
|
},
|
25344
|
+
{
|
25345
|
+
"kind": "field",
|
25346
|
+
"name": "clearMessages"
|
25347
|
+
},
|
25332
25348
|
{
|
25333
25349
|
"kind": "field",
|
25334
25350
|
"name": "refreshMessages"
|
@@ -25939,227 +25955,60 @@
|
|
25939
25955
|
{
|
25940
25956
|
"kind": "method",
|
25941
25957
|
"name": "buttonMouseDown",
|
25942
|
-
"privacy": "private",
|
25943
|
-
"parameters": [
|
25944
|
-
{
|
25945
|
-
"name": "customStyles",
|
25946
|
-
"optional": true,
|
25947
|
-
"type": {
|
25948
|
-
"text": "ButtonStyles"
|
25949
|
-
}
|
25950
|
-
}
|
25951
|
-
]
|
25952
|
-
},
|
25953
|
-
{
|
25954
|
-
"kind": "method",
|
25955
|
-
"name": "setEvents",
|
25956
|
-
"privacy": "private",
|
25957
|
-
"parameters": [
|
25958
|
-
{
|
25959
|
-
"name": "customStyles",
|
25960
|
-
"optional": true,
|
25961
|
-
"type": {
|
25962
|
-
"text": "ButtonStyles"
|
25963
|
-
}
|
25964
|
-
}
|
25965
|
-
]
|
25966
|
-
},
|
25967
|
-
{
|
25968
|
-
"kind": "method",
|
25969
|
-
"name": "unsetCustomStateStyles",
|
25970
|
-
"privacy": "public",
|
25971
|
-
"parameters": [
|
25972
|
-
{
|
25973
|
-
"name": "unsetTypes",
|
25974
|
-
"type": {
|
25975
|
-
"text": "(keyof T)[]"
|
25976
|
-
}
|
25977
|
-
}
|
25978
|
-
]
|
25979
|
-
},
|
25980
|
-
{
|
25981
|
-
"kind": "method",
|
25982
|
-
"name": "reapplyStateStyle",
|
25983
|
-
"privacy": "public",
|
25984
|
-
"parameters": [
|
25985
|
-
{
|
25986
|
-
"name": "setType",
|
25987
|
-
"type": {
|
25988
|
-
"text": "keyof T"
|
25989
|
-
}
|
25990
|
-
},
|
25991
|
-
{
|
25992
|
-
"name": "unsetTypes",
|
25993
|
-
"optional": true,
|
25994
|
-
"type": {
|
25995
|
-
"text": "(keyof T)[]"
|
25996
|
-
}
|
25997
|
-
}
|
25998
|
-
]
|
25999
|
-
}
|
26000
|
-
]
|
26001
|
-
}
|
26002
|
-
],
|
26003
|
-
"exports": [
|
26004
|
-
{
|
26005
|
-
"kind": "js",
|
26006
|
-
"name": "InputButton",
|
26007
|
-
"declaration": {
|
26008
|
-
"name": "InputButton",
|
26009
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
26010
|
-
}
|
26011
|
-
}
|
26012
|
-
]
|
26013
|
-
},
|
26014
|
-
{
|
26015
|
-
"kind": "javascript-module",
|
26016
|
-
"path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
|
26017
|
-
"declarations": [
|
26018
|
-
{
|
26019
|
-
"kind": "class",
|
26020
|
-
"description": "",
|
26021
|
-
"name": "FileAttachments",
|
26022
|
-
"members": [
|
26023
|
-
{
|
26024
|
-
"kind": "field",
|
26025
|
-
"name": "_fileAttachmentsTypes",
|
26026
|
-
"type": {
|
26027
|
-
"text": "FileAttachmentsType[]"
|
26028
|
-
},
|
26029
|
-
"privacy": "private",
|
26030
|
-
"default": "[]"
|
26031
|
-
},
|
26032
|
-
{
|
26033
|
-
"kind": "field",
|
26034
|
-
"name": "elementRef",
|
26035
|
-
"type": {
|
26036
|
-
"text": "HTMLElement"
|
26037
|
-
}
|
26038
|
-
},
|
26039
|
-
{
|
26040
|
-
"kind": "method",
|
26041
|
-
"name": "addType",
|
26042
|
-
"parameters": [
|
26043
|
-
{
|
26044
|
-
"name": "files",
|
26045
|
-
"type": {
|
26046
|
-
"text": "FileAttachmentsT"
|
26047
|
-
}
|
26048
|
-
},
|
26049
|
-
{
|
26050
|
-
"name": "type",
|
26051
|
-
"type": {
|
26052
|
-
"text": "keyof ServiceFileTypes"
|
26053
|
-
}
|
26054
|
-
}
|
26055
|
-
]
|
26056
|
-
},
|
26057
|
-
{
|
26058
|
-
"kind": "method",
|
26059
|
-
"name": "createAttachmentContainer",
|
26060
|
-
"privacy": "private"
|
26061
|
-
},
|
26062
|
-
{
|
26063
|
-
"kind": "method",
|
26064
|
-
"name": "toggleContainerDisplay",
|
26065
|
-
"privacy": "private",
|
26066
|
-
"parameters": [
|
26067
|
-
{
|
26068
|
-
"name": "display",
|
26069
|
-
"type": {
|
26070
|
-
"text": "boolean"
|
26071
|
-
}
|
26072
|
-
}
|
26073
|
-
]
|
26074
|
-
},
|
26075
|
-
{
|
26076
|
-
"kind": "method",
|
26077
|
-
"name": "getAllFileData"
|
26078
|
-
},
|
26079
|
-
{
|
26080
|
-
"kind": "method",
|
26081
|
-
"name": "completePlaceholders"
|
26082
|
-
},
|
26083
|
-
{
|
26084
|
-
"kind": "method",
|
26085
|
-
"name": "addFilesToType",
|
26086
|
-
"privacy": "public",
|
26087
|
-
"static": true,
|
25958
|
+
"privacy": "private",
|
26088
25959
|
"parameters": [
|
26089
25960
|
{
|
26090
|
-
"name": "
|
25961
|
+
"name": "customStyles",
|
25962
|
+
"optional": true,
|
26091
25963
|
"type": {
|
26092
|
-
"text": "
|
25964
|
+
"text": "ButtonStyles"
|
26093
25965
|
}
|
26094
|
-
}
|
25966
|
+
}
|
25967
|
+
]
|
25968
|
+
},
|
25969
|
+
{
|
25970
|
+
"kind": "method",
|
25971
|
+
"name": "setEvents",
|
25972
|
+
"privacy": "private",
|
25973
|
+
"parameters": [
|
26095
25974
|
{
|
26096
|
-
"name": "
|
25975
|
+
"name": "customStyles",
|
25976
|
+
"optional": true,
|
26097
25977
|
"type": {
|
26098
|
-
"text": "
|
25978
|
+
"text": "ButtonStyles"
|
26099
25979
|
}
|
26100
25980
|
}
|
26101
25981
|
]
|
26102
25982
|
},
|
26103
25983
|
{
|
26104
25984
|
"kind": "method",
|
26105
|
-
"name": "
|
25985
|
+
"name": "unsetCustomStateStyles",
|
26106
25986
|
"privacy": "public",
|
26107
25987
|
"parameters": [
|
26108
25988
|
{
|
26109
|
-
"name": "
|
25989
|
+
"name": "unsetTypes",
|
26110
25990
|
"type": {
|
26111
|
-
"text": "
|
25991
|
+
"text": "(keyof T)[]"
|
26112
25992
|
}
|
26113
25993
|
}
|
26114
25994
|
]
|
26115
25995
|
},
|
26116
25996
|
{
|
26117
25997
|
"kind": "method",
|
26118
|
-
"name": "
|
26119
|
-
},
|
26120
|
-
{
|
26121
|
-
"kind": "method",
|
26122
|
-
"name": "getNumberOfTypes"
|
26123
|
-
}
|
26124
|
-
]
|
26125
|
-
}
|
26126
|
-
],
|
26127
|
-
"exports": [
|
26128
|
-
{
|
26129
|
-
"kind": "js",
|
26130
|
-
"name": "FileAttachments",
|
26131
|
-
"declaration": {
|
26132
|
-
"name": "FileAttachments",
|
26133
|
-
"module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
|
26134
|
-
}
|
26135
|
-
}
|
26136
|
-
]
|
26137
|
-
},
|
26138
|
-
{
|
26139
|
-
"kind": "javascript-module",
|
26140
|
-
"path": "src/views/chat/input/fileAttachments/newFileName.ts",
|
26141
|
-
"declarations": [
|
26142
|
-
{
|
26143
|
-
"kind": "class",
|
26144
|
-
"description": "",
|
26145
|
-
"name": "NewFileName",
|
26146
|
-
"members": [
|
26147
|
-
{
|
26148
|
-
"kind": "method",
|
26149
|
-
"name": "getFileName",
|
25998
|
+
"name": "reapplyStateStyle",
|
26150
25999
|
"privacy": "public",
|
26151
|
-
"static": true,
|
26152
26000
|
"parameters": [
|
26153
26001
|
{
|
26154
|
-
"name": "
|
26002
|
+
"name": "setType",
|
26155
26003
|
"type": {
|
26156
|
-
"text": "
|
26004
|
+
"text": "keyof T"
|
26157
26005
|
}
|
26158
26006
|
},
|
26159
26007
|
{
|
26160
|
-
"name": "
|
26008
|
+
"name": "unsetTypes",
|
26009
|
+
"optional": true,
|
26161
26010
|
"type": {
|
26162
|
-
"text": "
|
26011
|
+
"text": "(keyof T)[]"
|
26163
26012
|
}
|
26164
26013
|
}
|
26165
26014
|
]
|
@@ -26170,10 +26019,10 @@
|
|
26170
26019
|
"exports": [
|
26171
26020
|
{
|
26172
26021
|
"kind": "js",
|
26173
|
-
"name": "
|
26022
|
+
"name": "InputButton",
|
26174
26023
|
"declaration": {
|
26175
|
-
"name": "
|
26176
|
-
"module": "src/views/chat/input/
|
26024
|
+
"name": "InputButton",
|
26025
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
26177
26026
|
}
|
26178
26027
|
}
|
26179
26028
|
]
|
@@ -27294,18 +27143,113 @@
|
|
27294
27143
|
},
|
27295
27144
|
{
|
27296
27145
|
"kind": "javascript-module",
|
27297
|
-
"path": "src/views/chat/
|
27146
|
+
"path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
|
27298
27147
|
"declarations": [
|
27299
27148
|
{
|
27300
27149
|
"kind": "class",
|
27301
27150
|
"description": "",
|
27302
|
-
"name": "
|
27151
|
+
"name": "FileAttachments",
|
27303
27152
|
"members": [
|
27153
|
+
{
|
27154
|
+
"kind": "field",
|
27155
|
+
"name": "_fileAttachmentsTypes",
|
27156
|
+
"type": {
|
27157
|
+
"text": "FileAttachmentsType[]"
|
27158
|
+
},
|
27159
|
+
"privacy": "private",
|
27160
|
+
"default": "[]"
|
27161
|
+
},
|
27162
|
+
{
|
27163
|
+
"kind": "field",
|
27164
|
+
"name": "elementRef",
|
27165
|
+
"type": {
|
27166
|
+
"text": "HTMLElement"
|
27167
|
+
}
|
27168
|
+
},
|
27304
27169
|
{
|
27305
27170
|
"kind": "method",
|
27306
|
-
"name": "
|
27171
|
+
"name": "addType",
|
27172
|
+
"parameters": [
|
27173
|
+
{
|
27174
|
+
"name": "files",
|
27175
|
+
"type": {
|
27176
|
+
"text": "FileAttachmentsT"
|
27177
|
+
}
|
27178
|
+
},
|
27179
|
+
{
|
27180
|
+
"name": "type",
|
27181
|
+
"type": {
|
27182
|
+
"text": "keyof ServiceFileTypes"
|
27183
|
+
}
|
27184
|
+
}
|
27185
|
+
]
|
27186
|
+
},
|
27187
|
+
{
|
27188
|
+
"kind": "method",
|
27189
|
+
"name": "createAttachmentContainer",
|
27190
|
+
"privacy": "private"
|
27191
|
+
},
|
27192
|
+
{
|
27193
|
+
"kind": "method",
|
27194
|
+
"name": "toggleContainerDisplay",
|
27195
|
+
"privacy": "private",
|
27196
|
+
"parameters": [
|
27197
|
+
{
|
27198
|
+
"name": "display",
|
27199
|
+
"type": {
|
27200
|
+
"text": "boolean"
|
27201
|
+
}
|
27202
|
+
}
|
27203
|
+
]
|
27204
|
+
},
|
27205
|
+
{
|
27206
|
+
"kind": "method",
|
27207
|
+
"name": "getAllFileData"
|
27208
|
+
},
|
27209
|
+
{
|
27210
|
+
"kind": "method",
|
27211
|
+
"name": "completePlaceholders"
|
27212
|
+
},
|
27213
|
+
{
|
27214
|
+
"kind": "method",
|
27215
|
+
"name": "addFilesToType",
|
27307
27216
|
"privacy": "public",
|
27308
|
-
"static": true
|
27217
|
+
"static": true,
|
27218
|
+
"parameters": [
|
27219
|
+
{
|
27220
|
+
"name": "files",
|
27221
|
+
"type": {
|
27222
|
+
"text": "File[]"
|
27223
|
+
}
|
27224
|
+
},
|
27225
|
+
{
|
27226
|
+
"name": "fileAttachmentTypes",
|
27227
|
+
"type": {
|
27228
|
+
"text": "FileAttachmentsType[]"
|
27229
|
+
}
|
27230
|
+
}
|
27231
|
+
]
|
27232
|
+
},
|
27233
|
+
{
|
27234
|
+
"kind": "method",
|
27235
|
+
"name": "addFilesToAnyType",
|
27236
|
+
"privacy": "public",
|
27237
|
+
"parameters": [
|
27238
|
+
{
|
27239
|
+
"name": "files",
|
27240
|
+
"type": {
|
27241
|
+
"text": "File[]"
|
27242
|
+
}
|
27243
|
+
}
|
27244
|
+
]
|
27245
|
+
},
|
27246
|
+
{
|
27247
|
+
"kind": "method",
|
27248
|
+
"name": "removeAllFiles"
|
27249
|
+
},
|
27250
|
+
{
|
27251
|
+
"kind": "method",
|
27252
|
+
"name": "getNumberOfTypes"
|
27309
27253
|
}
|
27310
27254
|
]
|
27311
27255
|
}
|
@@ -27313,10 +27257,53 @@
|
|
27313
27257
|
"exports": [
|
27314
27258
|
{
|
27315
27259
|
"kind": "js",
|
27316
|
-
"name": "
|
27260
|
+
"name": "FileAttachments",
|
27317
27261
|
"declaration": {
|
27318
|
-
"name": "
|
27319
|
-
"module": "src/views/chat/
|
27262
|
+
"name": "FileAttachments",
|
27263
|
+
"module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
|
27264
|
+
}
|
27265
|
+
}
|
27266
|
+
]
|
27267
|
+
},
|
27268
|
+
{
|
27269
|
+
"kind": "javascript-module",
|
27270
|
+
"path": "src/views/chat/input/fileAttachments/newFileName.ts",
|
27271
|
+
"declarations": [
|
27272
|
+
{
|
27273
|
+
"kind": "class",
|
27274
|
+
"description": "",
|
27275
|
+
"name": "NewFileName",
|
27276
|
+
"members": [
|
27277
|
+
{
|
27278
|
+
"kind": "method",
|
27279
|
+
"name": "getFileName",
|
27280
|
+
"privacy": "public",
|
27281
|
+
"static": true,
|
27282
|
+
"parameters": [
|
27283
|
+
{
|
27284
|
+
"name": "prefix",
|
27285
|
+
"type": {
|
27286
|
+
"text": "string"
|
27287
|
+
}
|
27288
|
+
},
|
27289
|
+
{
|
27290
|
+
"name": "extension",
|
27291
|
+
"type": {
|
27292
|
+
"text": "string"
|
27293
|
+
}
|
27294
|
+
}
|
27295
|
+
]
|
27296
|
+
}
|
27297
|
+
]
|
27298
|
+
}
|
27299
|
+
],
|
27300
|
+
"exports": [
|
27301
|
+
{
|
27302
|
+
"kind": "js",
|
27303
|
+
"name": "NewFileName",
|
27304
|
+
"declaration": {
|
27305
|
+
"name": "NewFileName",
|
27306
|
+
"module": "src/views/chat/input/fileAttachments/newFileName.ts"
|
27320
27307
|
}
|
27321
27308
|
}
|
27322
27309
|
]
|
@@ -27394,6 +27381,35 @@
|
|
27394
27381
|
}
|
27395
27382
|
]
|
27396
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
|
+
},
|
27397
27413
|
{
|
27398
27414
|
"kind": "javascript-module",
|
27399
27415
|
"path": "src/views/chat/input/buttons/camera/cameraButton.ts",
|