deep-chat-dev 1.1.31 → 1.1.32
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 +1143 -1150
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.d.ts +0 -1
- package/dist/deepChat.d.ts.map +1 -1
- package/dist/deepChat.js +1 -4
- package/dist/utils/decorators/property.d.ts.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
@@ -116,13 +116,6 @@
|
|
116
116
|
"text": "MessageContent[] | undefined"
|
117
117
|
}
|
118
118
|
},
|
119
|
-
{
|
120
|
-
"kind": "field",
|
121
|
-
"name": "initialmessages",
|
122
|
-
"type": {
|
123
|
-
"text": "MessageContent[] | undefined"
|
124
|
-
}
|
125
|
-
},
|
126
119
|
{
|
127
120
|
"kind": "field",
|
128
121
|
"name": "introMessage",
|
@@ -1120,50 +1113,92 @@
|
|
1120
1113
|
},
|
1121
1114
|
{
|
1122
1115
|
"kind": "javascript-module",
|
1123
|
-
"path": "src/services/
|
1116
|
+
"path": "src/services/assemblyAI/assemblyAIAudioIO.ts",
|
1124
1117
|
"declarations": [
|
1125
1118
|
{
|
1126
1119
|
"kind": "class",
|
1127
1120
|
"description": "",
|
1128
|
-
"name": "
|
1121
|
+
"name": "AssemblyAIAudioIO",
|
1129
1122
|
"members": [
|
1130
1123
|
{
|
1131
1124
|
"kind": "field",
|
1132
|
-
"name": "
|
1125
|
+
"name": "insertKeyPlaceholderText",
|
1133
1126
|
"type": {
|
1134
1127
|
"text": "string"
|
1135
1128
|
},
|
1136
|
-
"
|
1137
|
-
"
|
1129
|
+
"default": "'AssemblyAI API Key'",
|
1130
|
+
"inheritedFrom": {
|
1131
|
+
"name": "DirectServiceIO",
|
1132
|
+
"module": "src/services/utils/directServiceIO.ts"
|
1133
|
+
}
|
1138
1134
|
},
|
1139
1135
|
{
|
1140
|
-
"kind": "
|
1141
|
-
"name": "
|
1142
|
-
"
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1136
|
+
"kind": "field",
|
1137
|
+
"name": "getKeyLink",
|
1138
|
+
"type": {
|
1139
|
+
"text": "string"
|
1140
|
+
},
|
1141
|
+
"default": "'https://www.assemblyai.com/app/account'",
|
1142
|
+
"inheritedFrom": {
|
1143
|
+
"name": "DirectServiceIO",
|
1144
|
+
"module": "src/services/utils/directServiceIO.ts"
|
1145
|
+
}
|
1146
|
+
},
|
1147
|
+
{
|
1148
|
+
"kind": "field",
|
1149
|
+
"name": "introPanelMarkUp",
|
1150
|
+
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>AssemblyAI Audio</b></div>\n <p><b>Upload an audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"https://www.assemblyai.com/docs/Guides/transcribing_an_audio_file#get-started\">here</a> for more info.\n </p>`"
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"kind": "field",
|
1154
|
+
"name": "url",
|
1155
|
+
"type": {
|
1156
|
+
"text": "string"
|
1157
|
+
},
|
1158
|
+
"default": "'https://api.assemblyai.com/v2/upload'"
|
1159
|
+
},
|
1160
|
+
{
|
1161
|
+
"kind": "field",
|
1162
|
+
"name": "isTextInputDisabled",
|
1163
|
+
"type": {
|
1164
|
+
"text": "boolean"
|
1165
|
+
},
|
1166
|
+
"default": "true"
|
1167
|
+
},
|
1168
|
+
{
|
1169
|
+
"kind": "field",
|
1170
|
+
"name": "textInputPlaceholderText",
|
1171
|
+
"type": {
|
1172
|
+
"text": "string"
|
1173
|
+
},
|
1174
|
+
"default": "'Upload an audio file'"
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"kind": "field",
|
1178
|
+
"name": "permittedErrorPrefixes",
|
1179
|
+
"type": {
|
1180
|
+
"text": "array"
|
1181
|
+
},
|
1182
|
+
"default": "['Authentication', 'Invalid']"
|
1151
1183
|
},
|
1152
1184
|
{
|
1153
1185
|
"kind": "method",
|
1154
|
-
"name": "
|
1186
|
+
"name": "canFileSendMessage",
|
1155
1187
|
"privacy": "private",
|
1188
|
+
"static": true,
|
1156
1189
|
"parameters": [
|
1157
1190
|
{
|
1158
|
-
"name": "
|
1191
|
+
"name": "_",
|
1192
|
+
"optional": true,
|
1159
1193
|
"type": {
|
1160
|
-
"text": "
|
1194
|
+
"text": "string"
|
1161
1195
|
}
|
1162
1196
|
},
|
1163
1197
|
{
|
1164
|
-
"name": "
|
1198
|
+
"name": "files",
|
1199
|
+
"optional": true,
|
1165
1200
|
"type": {
|
1166
|
-
"text": "
|
1201
|
+
"text": "File[]"
|
1167
1202
|
}
|
1168
1203
|
}
|
1169
1204
|
]
|
@@ -1179,7 +1214,7 @@
|
|
1179
1214
|
}
|
1180
1215
|
},
|
1181
1216
|
{
|
1182
|
-
"name": "
|
1217
|
+
"name": "_",
|
1183
1218
|
"type": {
|
1184
1219
|
"text": "MessageContent[]"
|
1185
1220
|
}
|
@@ -1189,6 +1224,19 @@
|
|
1189
1224
|
"type": {
|
1190
1225
|
"text": "CompletionsHandlers"
|
1191
1226
|
}
|
1227
|
+
},
|
1228
|
+
{
|
1229
|
+
"name": "__",
|
1230
|
+
"type": {
|
1231
|
+
"text": "StreamHandlers"
|
1232
|
+
}
|
1233
|
+
},
|
1234
|
+
{
|
1235
|
+
"name": "files",
|
1236
|
+
"optional": true,
|
1237
|
+
"type": {
|
1238
|
+
"text": "File[]"
|
1239
|
+
}
|
1192
1240
|
}
|
1193
1241
|
],
|
1194
1242
|
"inheritedFrom": {
|
@@ -1208,7 +1256,7 @@
|
|
1208
1256
|
{
|
1209
1257
|
"name": "result",
|
1210
1258
|
"type": {
|
1211
|
-
"text": "
|
1259
|
+
"text": "AssemblyAIResult"
|
1212
1260
|
}
|
1213
1261
|
}
|
1214
1262
|
],
|
@@ -1219,62 +1267,31 @@
|
|
1219
1267
|
},
|
1220
1268
|
{
|
1221
1269
|
"kind": "field",
|
1222
|
-
"name": "
|
1223
|
-
"
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
"module": "src/services/utils/directServiceIO.ts"
|
1242
|
-
}
|
1243
|
-
},
|
1244
|
-
{
|
1245
|
-
"kind": "field",
|
1246
|
-
"name": "textInputPlaceholderText",
|
1247
|
-
"type": {
|
1248
|
-
"text": "string"
|
1249
|
-
},
|
1250
|
-
"default": "inputPlaceholder",
|
1251
|
-
"inheritedFrom": {
|
1252
|
-
"name": "CohereIO",
|
1253
|
-
"module": "src/services/cohere/cohereIO.ts"
|
1254
|
-
}
|
1255
|
-
},
|
1256
|
-
{
|
1257
|
-
"kind": "field",
|
1258
|
-
"name": "permittedErrorPrefixes",
|
1259
|
-
"type": {
|
1260
|
-
"text": "array"
|
1261
|
-
},
|
1262
|
-
"default": "['invalid']",
|
1263
|
-
"inheritedFrom": {
|
1264
|
-
"name": "CohereIO",
|
1265
|
-
"module": "src/services/cohere/cohereIO.ts"
|
1266
|
-
}
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"kind": "field",
|
1270
|
-
"name": "url",
|
1270
|
+
"name": "canSendMessage",
|
1271
|
+
"privacy": "private",
|
1272
|
+
"static": true,
|
1273
|
+
"parameters": [
|
1274
|
+
{
|
1275
|
+
"name": "text",
|
1276
|
+
"optional": true,
|
1277
|
+
"type": {
|
1278
|
+
"text": "string"
|
1279
|
+
}
|
1280
|
+
},
|
1281
|
+
{
|
1282
|
+
"name": "files",
|
1283
|
+
"optional": true,
|
1284
|
+
"type": {
|
1285
|
+
"text": "File[]"
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
],
|
1271
1289
|
"type": {
|
1272
|
-
"text": "
|
1290
|
+
"text": "ValidateMessageBeforeSending"
|
1273
1291
|
},
|
1274
|
-
"default": "url",
|
1275
1292
|
"inheritedFrom": {
|
1276
|
-
"name": "
|
1277
|
-
"module": "src/services/
|
1293
|
+
"name": "BaseServiceIO",
|
1294
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1278
1295
|
}
|
1279
1296
|
},
|
1280
1297
|
{
|
@@ -1448,35 +1465,6 @@
|
|
1448
1465
|
"module": "src/services/utils/baseServiceIO.ts"
|
1449
1466
|
}
|
1450
1467
|
},
|
1451
|
-
{
|
1452
|
-
"kind": "field",
|
1453
|
-
"name": "canSendMessage",
|
1454
|
-
"privacy": "private",
|
1455
|
-
"static": true,
|
1456
|
-
"parameters": [
|
1457
|
-
{
|
1458
|
-
"name": "text",
|
1459
|
-
"optional": true,
|
1460
|
-
"type": {
|
1461
|
-
"text": "string"
|
1462
|
-
}
|
1463
|
-
},
|
1464
|
-
{
|
1465
|
-
"name": "files",
|
1466
|
-
"optional": true,
|
1467
|
-
"type": {
|
1468
|
-
"text": "File[]"
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
],
|
1472
|
-
"type": {
|
1473
|
-
"text": "ValidateMessageBeforeSending"
|
1474
|
-
},
|
1475
|
-
"inheritedFrom": {
|
1476
|
-
"name": "BaseServiceIO",
|
1477
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1478
|
-
}
|
1479
|
-
},
|
1480
1468
|
{
|
1481
1469
|
"kind": "field",
|
1482
1470
|
"name": "fileTypes",
|
@@ -1703,30 +1691,30 @@
|
|
1703
1691
|
}
|
1704
1692
|
],
|
1705
1693
|
"superclass": {
|
1706
|
-
"name": "
|
1707
|
-
"module": "/src/services/
|
1694
|
+
"name": "DirectServiceIO",
|
1695
|
+
"module": "/src/services/utils/directServiceIO"
|
1708
1696
|
}
|
1709
1697
|
}
|
1710
1698
|
],
|
1711
1699
|
"exports": [
|
1712
1700
|
{
|
1713
1701
|
"kind": "js",
|
1714
|
-
"name": "
|
1702
|
+
"name": "AssemblyAIAudioIO",
|
1715
1703
|
"declaration": {
|
1716
|
-
"name": "
|
1717
|
-
"module": "src/services/
|
1704
|
+
"name": "AssemblyAIAudioIO",
|
1705
|
+
"module": "src/services/assemblyAI/assemblyAIAudioIO.ts"
|
1718
1706
|
}
|
1719
1707
|
}
|
1720
1708
|
]
|
1721
1709
|
},
|
1722
1710
|
{
|
1723
1711
|
"kind": "javascript-module",
|
1724
|
-
"path": "src/services/
|
1712
|
+
"path": "src/services/azure/azureLanguageIO.ts",
|
1725
1713
|
"declarations": [
|
1726
1714
|
{
|
1727
1715
|
"kind": "class",
|
1728
1716
|
"description": "",
|
1729
|
-
"name": "
|
1717
|
+
"name": "AzureLanguageIO",
|
1730
1718
|
"members": [
|
1731
1719
|
{
|
1732
1720
|
"kind": "field",
|
@@ -1734,7 +1722,7 @@
|
|
1734
1722
|
"type": {
|
1735
1723
|
"text": "string"
|
1736
1724
|
},
|
1737
|
-
"default": "'
|
1725
|
+
"default": "'Azure Language Subscription Key'",
|
1738
1726
|
"inheritedFrom": {
|
1739
1727
|
"name": "DirectServiceIO",
|
1740
1728
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -1746,35 +1734,19 @@
|
|
1746
1734
|
"type": {
|
1747
1735
|
"text": "string"
|
1748
1736
|
},
|
1749
|
-
"default": "'https://
|
1737
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
1750
1738
|
"inheritedFrom": {
|
1751
1739
|
"name": "DirectServiceIO",
|
1752
1740
|
"module": "src/services/utils/directServiceIO.ts"
|
1753
1741
|
}
|
1754
1742
|
},
|
1755
|
-
{
|
1756
|
-
"kind": "field",
|
1757
|
-
"name": "textInputPlaceholderText",
|
1758
|
-
"type": {
|
1759
|
-
"text": "string"
|
1760
|
-
},
|
1761
|
-
"default": "inputPlaceholder"
|
1762
|
-
},
|
1763
1743
|
{
|
1764
1744
|
"kind": "field",
|
1765
1745
|
"name": "permittedErrorPrefixes",
|
1766
1746
|
"type": {
|
1767
1747
|
"text": "array"
|
1768
1748
|
},
|
1769
|
-
"default": "['
|
1770
|
-
},
|
1771
|
-
{
|
1772
|
-
"kind": "field",
|
1773
|
-
"name": "url",
|
1774
|
-
"type": {
|
1775
|
-
"text": "string"
|
1776
|
-
},
|
1777
|
-
"default": "url"
|
1749
|
+
"default": "['Access']"
|
1778
1750
|
},
|
1779
1751
|
{
|
1780
1752
|
"kind": "field",
|
@@ -2272,97 +2244,30 @@
|
|
2272
2244
|
"exports": [
|
2273
2245
|
{
|
2274
2246
|
"kind": "js",
|
2275
|
-
"name": "
|
2247
|
+
"name": "AzureLanguageIO",
|
2276
2248
|
"declaration": {
|
2277
|
-
"name": "
|
2278
|
-
"module": "src/services/
|
2249
|
+
"name": "AzureLanguageIO",
|
2250
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
2279
2251
|
}
|
2280
2252
|
}
|
2281
2253
|
]
|
2282
2254
|
},
|
2283
2255
|
{
|
2284
2256
|
"kind": "javascript-module",
|
2285
|
-
"path": "src/services/
|
2257
|
+
"path": "src/services/azure/azureSpeechIO.ts",
|
2286
2258
|
"declarations": [
|
2287
2259
|
{
|
2288
2260
|
"kind": "class",
|
2289
2261
|
"description": "",
|
2290
|
-
"name": "
|
2262
|
+
"name": "AzureSpeechIO",
|
2291
2263
|
"members": [
|
2292
|
-
{
|
2293
|
-
"kind": "method",
|
2294
|
-
"name": "preprocessBody",
|
2295
|
-
"parameters": [
|
2296
|
-
{
|
2297
|
-
"name": "body",
|
2298
|
-
"type": {
|
2299
|
-
"text": "CohereSummarizationConfig"
|
2300
|
-
}
|
2301
|
-
},
|
2302
|
-
{
|
2303
|
-
"name": "messages",
|
2304
|
-
"type": {
|
2305
|
-
"text": "MessageContent[]"
|
2306
|
-
}
|
2307
|
-
}
|
2308
|
-
]
|
2309
|
-
},
|
2310
|
-
{
|
2311
|
-
"kind": "method",
|
2312
|
-
"name": "callServiceAPI",
|
2313
|
-
"parameters": [
|
2314
|
-
{
|
2315
|
-
"name": "messages",
|
2316
|
-
"type": {
|
2317
|
-
"text": "Messages"
|
2318
|
-
}
|
2319
|
-
},
|
2320
|
-
{
|
2321
|
-
"name": "pMessages",
|
2322
|
-
"type": {
|
2323
|
-
"text": "MessageContent[]"
|
2324
|
-
}
|
2325
|
-
},
|
2326
|
-
{
|
2327
|
-
"name": "completionsHandlers",
|
2328
|
-
"type": {
|
2329
|
-
"text": "CompletionsHandlers"
|
2330
|
-
}
|
2331
|
-
}
|
2332
|
-
],
|
2333
|
-
"inheritedFrom": {
|
2334
|
-
"name": "BaseServiceIO",
|
2335
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
2336
|
-
}
|
2337
|
-
},
|
2338
|
-
{
|
2339
|
-
"kind": "method",
|
2340
|
-
"name": "extractResultData",
|
2341
|
-
"return": {
|
2342
|
-
"type": {
|
2343
|
-
"text": "Promise<Result>"
|
2344
|
-
}
|
2345
|
-
},
|
2346
|
-
"parameters": [
|
2347
|
-
{
|
2348
|
-
"name": "result",
|
2349
|
-
"type": {
|
2350
|
-
"text": "CohereSummarizationResult"
|
2351
|
-
}
|
2352
|
-
}
|
2353
|
-
],
|
2354
|
-
"inheritedFrom": {
|
2355
|
-
"name": "BaseServiceIO",
|
2356
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
2357
|
-
}
|
2358
|
-
},
|
2359
2264
|
{
|
2360
2265
|
"kind": "field",
|
2361
2266
|
"name": "insertKeyPlaceholderText",
|
2362
2267
|
"type": {
|
2363
2268
|
"text": "string"
|
2364
2269
|
},
|
2365
|
-
"default": "'
|
2270
|
+
"default": "'Azure Speech Subscription Key'",
|
2366
2271
|
"inheritedFrom": {
|
2367
2272
|
"name": "DirectServiceIO",
|
2368
2273
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -2374,48 +2279,12 @@
|
|
2374
2279
|
"type": {
|
2375
2280
|
"text": "string"
|
2376
2281
|
},
|
2377
|
-
"default": "'https://
|
2282
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
2378
2283
|
"inheritedFrom": {
|
2379
2284
|
"name": "DirectServiceIO",
|
2380
2285
|
"module": "src/services/utils/directServiceIO.ts"
|
2381
2286
|
}
|
2382
2287
|
},
|
2383
|
-
{
|
2384
|
-
"kind": "field",
|
2385
|
-
"name": "textInputPlaceholderText",
|
2386
|
-
"type": {
|
2387
|
-
"text": "string"
|
2388
|
-
},
|
2389
|
-
"default": "inputPlaceholder",
|
2390
|
-
"inheritedFrom": {
|
2391
|
-
"name": "CohereIO",
|
2392
|
-
"module": "src/services/cohere/cohereIO.ts"
|
2393
|
-
}
|
2394
|
-
},
|
2395
|
-
{
|
2396
|
-
"kind": "field",
|
2397
|
-
"name": "permittedErrorPrefixes",
|
2398
|
-
"type": {
|
2399
|
-
"text": "array"
|
2400
|
-
},
|
2401
|
-
"default": "['invalid']",
|
2402
|
-
"inheritedFrom": {
|
2403
|
-
"name": "CohereIO",
|
2404
|
-
"module": "src/services/cohere/cohereIO.ts"
|
2405
|
-
}
|
2406
|
-
},
|
2407
|
-
{
|
2408
|
-
"kind": "field",
|
2409
|
-
"name": "url",
|
2410
|
-
"type": {
|
2411
|
-
"text": "string"
|
2412
|
-
},
|
2413
|
-
"default": "url",
|
2414
|
-
"inheritedFrom": {
|
2415
|
-
"name": "CohereIO",
|
2416
|
-
"module": "src/services/cohere/cohereIO.ts"
|
2417
|
-
}
|
2418
|
-
},
|
2419
2288
|
{
|
2420
2289
|
"kind": "field",
|
2421
2290
|
"name": "key",
|
@@ -2766,6 +2635,47 @@
|
|
2766
2635
|
"module": "src/services/utils/baseServiceIO.ts"
|
2767
2636
|
}
|
2768
2637
|
},
|
2638
|
+
{
|
2639
|
+
"kind": "method",
|
2640
|
+
"name": "callServiceAPI",
|
2641
|
+
"parameters": [
|
2642
|
+
{
|
2643
|
+
"name": "messages",
|
2644
|
+
"type": {
|
2645
|
+
"text": "Messages"
|
2646
|
+
}
|
2647
|
+
},
|
2648
|
+
{
|
2649
|
+
"name": "pMessages",
|
2650
|
+
"type": {
|
2651
|
+
"text": "MessageContent[]"
|
2652
|
+
}
|
2653
|
+
},
|
2654
|
+
{
|
2655
|
+
"name": "completionsHandlers",
|
2656
|
+
"type": {
|
2657
|
+
"text": "CompletionsHandlers"
|
2658
|
+
}
|
2659
|
+
},
|
2660
|
+
{
|
2661
|
+
"name": "streamHandlers",
|
2662
|
+
"type": {
|
2663
|
+
"text": "StreamHandlers"
|
2664
|
+
}
|
2665
|
+
},
|
2666
|
+
{
|
2667
|
+
"name": "_",
|
2668
|
+
"optional": true,
|
2669
|
+
"type": {
|
2670
|
+
"text": "File[]"
|
2671
|
+
}
|
2672
|
+
}
|
2673
|
+
],
|
2674
|
+
"inheritedFrom": {
|
2675
|
+
"name": "BaseServiceIO",
|
2676
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2677
|
+
}
|
2678
|
+
},
|
2769
2679
|
{
|
2770
2680
|
"kind": "method",
|
2771
2681
|
"name": "callApiWithFiles",
|
@@ -2839,48 +2749,112 @@
|
|
2839
2749
|
"name": "BaseServiceIO",
|
2840
2750
|
"module": "src/services/utils/baseServiceIO.ts"
|
2841
2751
|
}
|
2752
|
+
},
|
2753
|
+
{
|
2754
|
+
"kind": "method",
|
2755
|
+
"name": "extractResultData",
|
2756
|
+
"return": {
|
2757
|
+
"type": {
|
2758
|
+
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
2759
|
+
}
|
2760
|
+
},
|
2761
|
+
"parameters": [
|
2762
|
+
{
|
2763
|
+
"name": "result",
|
2764
|
+
"type": {
|
2765
|
+
"text": "any | CustomServiceResponse"
|
2766
|
+
}
|
2767
|
+
}
|
2768
|
+
],
|
2769
|
+
"inheritedFrom": {
|
2770
|
+
"name": "BaseServiceIO",
|
2771
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2772
|
+
}
|
2842
2773
|
}
|
2843
2774
|
],
|
2844
2775
|
"superclass": {
|
2845
|
-
"name": "
|
2846
|
-
"module": "/src/services/
|
2776
|
+
"name": "DirectServiceIO",
|
2777
|
+
"module": "/src/services/utils/directServiceIO"
|
2847
2778
|
}
|
2848
2779
|
}
|
2849
2780
|
],
|
2850
2781
|
"exports": [
|
2851
2782
|
{
|
2852
2783
|
"kind": "js",
|
2853
|
-
"name": "
|
2784
|
+
"name": "AzureSpeechIO",
|
2854
2785
|
"declaration": {
|
2855
|
-
"name": "
|
2856
|
-
"module": "src/services/
|
2786
|
+
"name": "AzureSpeechIO",
|
2787
|
+
"module": "src/services/azure/azureSpeechIO.ts"
|
2857
2788
|
}
|
2858
2789
|
}
|
2859
2790
|
]
|
2860
2791
|
},
|
2861
2792
|
{
|
2862
2793
|
"kind": "javascript-module",
|
2863
|
-
"path": "src/services/
|
2794
|
+
"path": "src/services/azure/azureSpeechToTextIO.ts",
|
2864
2795
|
"declarations": [
|
2865
2796
|
{
|
2866
2797
|
"kind": "class",
|
2867
2798
|
"description": "",
|
2868
|
-
"name": "
|
2799
|
+
"name": "AzureSpeechToTextIO",
|
2869
2800
|
"members": [
|
2801
|
+
{
|
2802
|
+
"kind": "field",
|
2803
|
+
"name": "HELP_LINK",
|
2804
|
+
"type": {
|
2805
|
+
"text": "string"
|
2806
|
+
},
|
2807
|
+
"privacy": "private",
|
2808
|
+
"static": true,
|
2809
|
+
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
2810
|
+
},
|
2811
|
+
{
|
2812
|
+
"kind": "field",
|
2813
|
+
"name": "introPanelMarkUp",
|
2814
|
+
"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>`"
|
2815
|
+
},
|
2816
|
+
{
|
2817
|
+
"kind": "field",
|
2818
|
+
"name": "url",
|
2819
|
+
"type": {
|
2820
|
+
"text": "string"
|
2821
|
+
},
|
2822
|
+
"default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
|
2823
|
+
},
|
2824
|
+
{
|
2825
|
+
"kind": "field",
|
2826
|
+
"name": "isTextInputDisabled",
|
2827
|
+
"type": {
|
2828
|
+
"text": "boolean"
|
2829
|
+
},
|
2830
|
+
"default": "true"
|
2831
|
+
},
|
2832
|
+
{
|
2833
|
+
"kind": "field",
|
2834
|
+
"name": "textInputPlaceholderText",
|
2835
|
+
"type": {
|
2836
|
+
"text": "string"
|
2837
|
+
},
|
2838
|
+
"default": "'Upload an audio file'"
|
2839
|
+
},
|
2870
2840
|
{
|
2871
2841
|
"kind": "method",
|
2872
|
-
"name": "
|
2842
|
+
"name": "canFileSendMessage",
|
2843
|
+
"privacy": "private",
|
2844
|
+
"static": true,
|
2873
2845
|
"parameters": [
|
2874
2846
|
{
|
2875
|
-
"name": "
|
2847
|
+
"name": "_",
|
2848
|
+
"optional": true,
|
2876
2849
|
"type": {
|
2877
|
-
"text": "
|
2850
|
+
"text": "string"
|
2878
2851
|
}
|
2879
2852
|
},
|
2880
2853
|
{
|
2881
|
-
"name": "
|
2854
|
+
"name": "files",
|
2855
|
+
"optional": true,
|
2882
2856
|
"type": {
|
2883
|
-
"text": "
|
2857
|
+
"text": "File[]"
|
2884
2858
|
}
|
2885
2859
|
}
|
2886
2860
|
]
|
@@ -2896,7 +2870,7 @@
|
|
2896
2870
|
}
|
2897
2871
|
},
|
2898
2872
|
{
|
2899
|
-
"name": "
|
2873
|
+
"name": "_",
|
2900
2874
|
"type": {
|
2901
2875
|
"text": "MessageContent[]"
|
2902
2876
|
}
|
@@ -2906,6 +2880,19 @@
|
|
2906
2880
|
"type": {
|
2907
2881
|
"text": "CompletionsHandlers"
|
2908
2882
|
}
|
2883
|
+
},
|
2884
|
+
{
|
2885
|
+
"name": "__",
|
2886
|
+
"type": {
|
2887
|
+
"text": "StreamHandlers"
|
2888
|
+
}
|
2889
|
+
},
|
2890
|
+
{
|
2891
|
+
"name": "files",
|
2892
|
+
"optional": true,
|
2893
|
+
"type": {
|
2894
|
+
"text": "File[]"
|
2895
|
+
}
|
2909
2896
|
}
|
2910
2897
|
],
|
2911
2898
|
"inheritedFrom": {
|
@@ -2925,7 +2912,7 @@
|
|
2925
2912
|
{
|
2926
2913
|
"name": "result",
|
2927
2914
|
"type": {
|
2928
|
-
"text": "
|
2915
|
+
"text": "AzureSpeechToTextResult"
|
2929
2916
|
}
|
2930
2917
|
}
|
2931
2918
|
],
|
@@ -2936,62 +2923,67 @@
|
|
2936
2923
|
},
|
2937
2924
|
{
|
2938
2925
|
"kind": "field",
|
2939
|
-
"name": "
|
2940
|
-
"
|
2941
|
-
|
2942
|
-
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2926
|
+
"name": "canSendMessage",
|
2927
|
+
"privacy": "private",
|
2928
|
+
"static": true,
|
2929
|
+
"parameters": [
|
2930
|
+
{
|
2931
|
+
"name": "text",
|
2932
|
+
"optional": true,
|
2933
|
+
"type": {
|
2934
|
+
"text": "string"
|
2935
|
+
}
|
2936
|
+
},
|
2937
|
+
{
|
2938
|
+
"name": "files",
|
2939
|
+
"optional": true,
|
2940
|
+
"type": {
|
2941
|
+
"text": "File[]"
|
2942
|
+
}
|
2943
|
+
}
|
2944
|
+
],
|
2952
2945
|
"type": {
|
2953
|
-
"text": "
|
2946
|
+
"text": "ValidateMessageBeforeSending"
|
2954
2947
|
},
|
2955
|
-
"default": "'https://dashboard.cohere.ai/api-keys'",
|
2956
2948
|
"inheritedFrom": {
|
2957
|
-
"name": "
|
2958
|
-
"module": "src/services/utils/
|
2949
|
+
"name": "BaseServiceIO",
|
2950
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2959
2951
|
}
|
2960
2952
|
},
|
2961
2953
|
{
|
2962
2954
|
"kind": "field",
|
2963
|
-
"name": "
|
2955
|
+
"name": "recordAudio",
|
2964
2956
|
"type": {
|
2965
|
-
"text": "
|
2957
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
2966
2958
|
},
|
2967
|
-
"default": "inputPlaceholder",
|
2968
2959
|
"inheritedFrom": {
|
2969
|
-
"name": "
|
2970
|
-
"module": "src/services/
|
2971
|
-
}
|
2960
|
+
"name": "BaseServiceIO",
|
2961
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
2962
|
+
},
|
2963
|
+
"default": "undefined"
|
2972
2964
|
},
|
2973
2965
|
{
|
2974
2966
|
"kind": "field",
|
2975
|
-
"name": "
|
2967
|
+
"name": "insertKeyPlaceholderText",
|
2976
2968
|
"type": {
|
2977
|
-
"text": "
|
2969
|
+
"text": "string"
|
2978
2970
|
},
|
2979
|
-
"default": "
|
2971
|
+
"default": "'Azure Speech Subscription Key'",
|
2980
2972
|
"inheritedFrom": {
|
2981
|
-
"name": "
|
2982
|
-
"module": "src/services/
|
2973
|
+
"name": "DirectServiceIO",
|
2974
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2983
2975
|
}
|
2984
2976
|
},
|
2985
2977
|
{
|
2986
2978
|
"kind": "field",
|
2987
|
-
"name": "
|
2979
|
+
"name": "getKeyLink",
|
2988
2980
|
"type": {
|
2989
2981
|
"text": "string"
|
2990
2982
|
},
|
2991
|
-
"default": "
|
2983
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
2992
2984
|
"inheritedFrom": {
|
2993
|
-
"name": "
|
2994
|
-
"module": "src/services/
|
2985
|
+
"name": "DirectServiceIO",
|
2986
|
+
"module": "src/services/utils/directServiceIO.ts"
|
2995
2987
|
}
|
2996
2988
|
},
|
2997
2989
|
{
|
@@ -3165,35 +3157,6 @@
|
|
3165
3157
|
"module": "src/services/utils/baseServiceIO.ts"
|
3166
3158
|
}
|
3167
3159
|
},
|
3168
|
-
{
|
3169
|
-
"kind": "field",
|
3170
|
-
"name": "canSendMessage",
|
3171
|
-
"privacy": "private",
|
3172
|
-
"static": true,
|
3173
|
-
"parameters": [
|
3174
|
-
{
|
3175
|
-
"name": "text",
|
3176
|
-
"optional": true,
|
3177
|
-
"type": {
|
3178
|
-
"text": "string"
|
3179
|
-
}
|
3180
|
-
},
|
3181
|
-
{
|
3182
|
-
"name": "files",
|
3183
|
-
"optional": true,
|
3184
|
-
"type": {
|
3185
|
-
"text": "File[]"
|
3186
|
-
}
|
3187
|
-
}
|
3188
|
-
],
|
3189
|
-
"type": {
|
3190
|
-
"text": "ValidateMessageBeforeSending"
|
3191
|
-
},
|
3192
|
-
"inheritedFrom": {
|
3193
|
-
"name": "BaseServiceIO",
|
3194
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3195
|
-
}
|
3196
|
-
},
|
3197
3160
|
{
|
3198
3161
|
"kind": "field",
|
3199
3162
|
"name": "fileTypes",
|
@@ -3217,17 +3180,6 @@
|
|
3217
3180
|
"module": "src/services/utils/baseServiceIO.ts"
|
3218
3181
|
}
|
3219
3182
|
},
|
3220
|
-
{
|
3221
|
-
"kind": "field",
|
3222
|
-
"name": "recordAudio",
|
3223
|
-
"type": {
|
3224
|
-
"text": "MicrophoneFilesServiceConfig | undefined"
|
3225
|
-
},
|
3226
|
-
"inheritedFrom": {
|
3227
|
-
"name": "BaseServiceIO",
|
3228
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3229
|
-
}
|
3230
|
-
},
|
3231
3183
|
{
|
3232
3184
|
"kind": "field",
|
3233
3185
|
"name": "_isStream",
|
@@ -3420,110 +3372,77 @@
|
|
3420
3372
|
}
|
3421
3373
|
],
|
3422
3374
|
"superclass": {
|
3423
|
-
"name": "
|
3424
|
-
"module": "/src/services/
|
3375
|
+
"name": "AzureSpeechIO",
|
3376
|
+
"module": "/src/services/azure/azureSpeechIO"
|
3425
3377
|
}
|
3426
3378
|
}
|
3427
3379
|
],
|
3428
3380
|
"exports": [
|
3429
3381
|
{
|
3430
3382
|
"kind": "js",
|
3431
|
-
"name": "
|
3383
|
+
"name": "AzureSpeechToTextIO",
|
3432
3384
|
"declaration": {
|
3433
|
-
"name": "
|
3434
|
-
"module": "src/services/
|
3385
|
+
"name": "AzureSpeechToTextIO",
|
3386
|
+
"module": "src/services/azure/azureSpeechToTextIO.ts"
|
3435
3387
|
}
|
3436
3388
|
}
|
3437
3389
|
]
|
3438
3390
|
},
|
3439
3391
|
{
|
3440
3392
|
"kind": "javascript-module",
|
3441
|
-
"path": "src/services/
|
3393
|
+
"path": "src/services/azure/azureSummarizationIO.ts",
|
3442
3394
|
"declarations": [
|
3443
3395
|
{
|
3444
3396
|
"kind": "class",
|
3445
3397
|
"description": "",
|
3446
|
-
"name": "
|
3398
|
+
"name": "AzureSummarizationIO",
|
3447
3399
|
"members": [
|
3448
|
-
{
|
3449
|
-
"kind": "field",
|
3450
|
-
"name": "insertKeyPlaceholderText",
|
3451
|
-
"type": {
|
3452
|
-
"text": "string"
|
3453
|
-
},
|
3454
|
-
"default": "'AssemblyAI API Key'",
|
3455
|
-
"inheritedFrom": {
|
3456
|
-
"name": "DirectServiceIO",
|
3457
|
-
"module": "src/services/utils/directServiceIO.ts"
|
3458
|
-
}
|
3459
|
-
},
|
3460
|
-
{
|
3461
|
-
"kind": "field",
|
3462
|
-
"name": "getKeyLink",
|
3463
|
-
"type": {
|
3464
|
-
"text": "string"
|
3465
|
-
},
|
3466
|
-
"default": "'https://www.assemblyai.com/app/account'",
|
3467
|
-
"inheritedFrom": {
|
3468
|
-
"name": "DirectServiceIO",
|
3469
|
-
"module": "src/services/utils/directServiceIO.ts"
|
3470
|
-
}
|
3471
|
-
},
|
3472
|
-
{
|
3473
|
-
"kind": "field",
|
3474
|
-
"name": "introPanelMarkUp",
|
3475
|
-
"default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>AssemblyAI Audio</b></div>\n <p><b>Upload an audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"https://www.assemblyai.com/docs/Guides/transcribing_an_audio_file#get-started\">here</a> for more info.\n </p>`"
|
3476
|
-
},
|
3477
3400
|
{
|
3478
3401
|
"kind": "field",
|
3479
3402
|
"name": "url",
|
3480
3403
|
"type": {
|
3481
3404
|
"text": "string"
|
3482
3405
|
},
|
3483
|
-
"default": "
|
3406
|
+
"default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
|
3484
3407
|
},
|
3485
3408
|
{
|
3486
3409
|
"kind": "field",
|
3487
|
-
"name": "
|
3410
|
+
"name": "textInputPlaceholderText",
|
3488
3411
|
"type": {
|
3489
|
-
"text": "
|
3412
|
+
"text": "string"
|
3490
3413
|
},
|
3491
|
-
"default": "
|
3414
|
+
"default": "'Insert text to summarize'"
|
3492
3415
|
},
|
3493
3416
|
{
|
3494
3417
|
"kind": "field",
|
3495
|
-
"name": "
|
3418
|
+
"name": "messages",
|
3496
3419
|
"type": {
|
3497
|
-
"text": "
|
3420
|
+
"text": "Messages | undefined"
|
3498
3421
|
},
|
3499
|
-
"
|
3422
|
+
"privacy": "private"
|
3500
3423
|
},
|
3501
3424
|
{
|
3502
3425
|
"kind": "field",
|
3503
|
-
"name": "
|
3426
|
+
"name": "completionsHandlers",
|
3504
3427
|
"type": {
|
3505
|
-
"text": "
|
3428
|
+
"text": "CompletionsHandlers | undefined"
|
3506
3429
|
},
|
3507
|
-
"
|
3430
|
+
"privacy": "private"
|
3508
3431
|
},
|
3509
3432
|
{
|
3510
3433
|
"kind": "method",
|
3511
|
-
"name": "
|
3512
|
-
"privacy": "private",
|
3513
|
-
"static": true,
|
3434
|
+
"name": "preprocessBody",
|
3514
3435
|
"parameters": [
|
3515
3436
|
{
|
3516
|
-
"name": "
|
3517
|
-
"optional": true,
|
3437
|
+
"name": "body",
|
3518
3438
|
"type": {
|
3519
|
-
"text": "
|
3439
|
+
"text": "RawBody"
|
3520
3440
|
}
|
3521
3441
|
},
|
3522
3442
|
{
|
3523
|
-
"name": "
|
3524
|
-
"optional": true,
|
3443
|
+
"name": "messages",
|
3525
3444
|
"type": {
|
3526
|
-
"text": "
|
3445
|
+
"text": "MessageContent[]"
|
3527
3446
|
}
|
3528
3447
|
}
|
3529
3448
|
]
|
@@ -3539,7 +3458,7 @@
|
|
3539
3458
|
}
|
3540
3459
|
},
|
3541
3460
|
{
|
3542
|
-
"name": "
|
3461
|
+
"name": "pMessages",
|
3543
3462
|
"type": {
|
3544
3463
|
"text": "MessageContent[]"
|
3545
3464
|
}
|
@@ -3549,19 +3468,6 @@
|
|
3549
3468
|
"type": {
|
3550
3469
|
"text": "CompletionsHandlers"
|
3551
3470
|
}
|
3552
|
-
},
|
3553
|
-
{
|
3554
|
-
"name": "__",
|
3555
|
-
"type": {
|
3556
|
-
"text": "StreamHandlers"
|
3557
|
-
}
|
3558
|
-
},
|
3559
|
-
{
|
3560
|
-
"name": "files",
|
3561
|
-
"optional": true,
|
3562
|
-
"type": {
|
3563
|
-
"text": "File[]"
|
3564
|
-
}
|
3565
3471
|
}
|
3566
3472
|
],
|
3567
3473
|
"inheritedFrom": {
|
@@ -3574,14 +3480,14 @@
|
|
3574
3480
|
"name": "extractResultData",
|
3575
3481
|
"return": {
|
3576
3482
|
"type": {
|
3577
|
-
"text": "Promise<
|
3483
|
+
"text": "Promise<{pollingInAnotherRequest: true}>"
|
3578
3484
|
}
|
3579
3485
|
},
|
3580
3486
|
"parameters": [
|
3581
3487
|
{
|
3582
3488
|
"name": "result",
|
3583
3489
|
"type": {
|
3584
|
-
"text": "
|
3490
|
+
"text": "Response & AzureAuthenticationError"
|
3585
3491
|
}
|
3586
3492
|
}
|
3587
3493
|
],
|
@@ -3591,40 +3497,37 @@
|
|
3591
3497
|
}
|
3592
3498
|
},
|
3593
3499
|
{
|
3594
|
-
"kind": "
|
3595
|
-
"name": "
|
3596
|
-
"
|
3597
|
-
|
3500
|
+
"kind": "method",
|
3501
|
+
"name": "extractPollResultData",
|
3502
|
+
"return": {
|
3503
|
+
"type": {
|
3504
|
+
"text": "PollResult"
|
3505
|
+
}
|
3506
|
+
},
|
3598
3507
|
"parameters": [
|
3599
3508
|
{
|
3600
|
-
"name": "
|
3601
|
-
"optional": true,
|
3602
|
-
"type": {
|
3603
|
-
"text": "string"
|
3604
|
-
}
|
3605
|
-
},
|
3606
|
-
{
|
3607
|
-
"name": "files",
|
3608
|
-
"optional": true,
|
3509
|
+
"name": "result",
|
3609
3510
|
"type": {
|
3610
|
-
"text": "
|
3511
|
+
"text": "AzureSummarizationResult"
|
3611
3512
|
}
|
3612
3513
|
}
|
3613
|
-
]
|
3514
|
+
]
|
3515
|
+
},
|
3516
|
+
{
|
3517
|
+
"kind": "field",
|
3518
|
+
"name": "language",
|
3614
3519
|
"type": {
|
3615
|
-
"text": "
|
3520
|
+
"text": "string"
|
3616
3521
|
},
|
3617
|
-
"
|
3618
|
-
"name": "BaseServiceIO",
|
3619
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
3620
|
-
}
|
3522
|
+
"default": "'en'"
|
3621
3523
|
},
|
3622
3524
|
{
|
3623
3525
|
"kind": "field",
|
3624
|
-
"name": "
|
3526
|
+
"name": "insertKeyPlaceholderText",
|
3625
3527
|
"type": {
|
3626
|
-
"text": "string
|
3528
|
+
"text": "string"
|
3627
3529
|
},
|
3530
|
+
"default": "'Azure Language Subscription Key'",
|
3628
3531
|
"inheritedFrom": {
|
3629
3532
|
"name": "DirectServiceIO",
|
3630
3533
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -3632,12 +3535,11 @@
|
|
3632
3535
|
},
|
3633
3536
|
{
|
3634
3537
|
"kind": "field",
|
3635
|
-
"name": "
|
3538
|
+
"name": "getKeyLink",
|
3636
3539
|
"type": {
|
3637
|
-
"text": "
|
3540
|
+
"text": "string"
|
3638
3541
|
},
|
3639
|
-
"
|
3640
|
-
"default": "keyVerificationDetails",
|
3542
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
3641
3543
|
"inheritedFrom": {
|
3642
3544
|
"name": "DirectServiceIO",
|
3643
3545
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -3645,11 +3547,47 @@
|
|
3645
3547
|
},
|
3646
3548
|
{
|
3647
3549
|
"kind": "field",
|
3648
|
-
"name": "
|
3550
|
+
"name": "permittedErrorPrefixes",
|
3649
3551
|
"type": {
|
3650
|
-
"text": "
|
3552
|
+
"text": "array"
|
3651
3553
|
},
|
3652
|
-
"
|
3554
|
+
"default": "['Access']",
|
3555
|
+
"inheritedFrom": {
|
3556
|
+
"name": "AzureLanguageIO",
|
3557
|
+
"module": "src/services/azure/azureLanguageIO.ts"
|
3558
|
+
}
|
3559
|
+
},
|
3560
|
+
{
|
3561
|
+
"kind": "field",
|
3562
|
+
"name": "key",
|
3563
|
+
"type": {
|
3564
|
+
"text": "string | undefined"
|
3565
|
+
},
|
3566
|
+
"inheritedFrom": {
|
3567
|
+
"name": "DirectServiceIO",
|
3568
|
+
"module": "src/services/utils/directServiceIO.ts"
|
3569
|
+
}
|
3570
|
+
},
|
3571
|
+
{
|
3572
|
+
"kind": "field",
|
3573
|
+
"name": "keyVerificationDetails",
|
3574
|
+
"type": {
|
3575
|
+
"text": "KeyVerificationDetails"
|
3576
|
+
},
|
3577
|
+
"privacy": "private",
|
3578
|
+
"default": "keyVerificationDetails",
|
3579
|
+
"inheritedFrom": {
|
3580
|
+
"name": "DirectServiceIO",
|
3581
|
+
"module": "src/services/utils/directServiceIO.ts"
|
3582
|
+
}
|
3583
|
+
},
|
3584
|
+
{
|
3585
|
+
"kind": "field",
|
3586
|
+
"name": "buildHeadersFunc",
|
3587
|
+
"type": {
|
3588
|
+
"text": "BuildHeadersFunc"
|
3589
|
+
},
|
3590
|
+
"privacy": "private",
|
3653
3591
|
"default": "buildHeadersFunc",
|
3654
3592
|
"inheritedFrom": {
|
3655
3593
|
"name": "DirectServiceIO",
|
@@ -3790,6 +3728,35 @@
|
|
3790
3728
|
"module": "src/services/utils/baseServiceIO.ts"
|
3791
3729
|
}
|
3792
3730
|
},
|
3731
|
+
{
|
3732
|
+
"kind": "field",
|
3733
|
+
"name": "canSendMessage",
|
3734
|
+
"privacy": "private",
|
3735
|
+
"static": true,
|
3736
|
+
"parameters": [
|
3737
|
+
{
|
3738
|
+
"name": "text",
|
3739
|
+
"optional": true,
|
3740
|
+
"type": {
|
3741
|
+
"text": "string"
|
3742
|
+
}
|
3743
|
+
},
|
3744
|
+
{
|
3745
|
+
"name": "files",
|
3746
|
+
"optional": true,
|
3747
|
+
"type": {
|
3748
|
+
"text": "File[]"
|
3749
|
+
}
|
3750
|
+
}
|
3751
|
+
],
|
3752
|
+
"type": {
|
3753
|
+
"text": "ValidateMessageBeforeSending"
|
3754
|
+
},
|
3755
|
+
"inheritedFrom": {
|
3756
|
+
"name": "BaseServiceIO",
|
3757
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
3758
|
+
}
|
3759
|
+
},
|
3793
3760
|
{
|
3794
3761
|
"kind": "field",
|
3795
3762
|
"name": "fileTypes",
|
@@ -4016,50 +3983,152 @@
|
|
4016
3983
|
}
|
4017
3984
|
],
|
4018
3985
|
"superclass": {
|
4019
|
-
"name": "
|
4020
|
-
"module": "/src/services/
|
3986
|
+
"name": "AzureLanguageIO",
|
3987
|
+
"module": "/src/services/azure/azureLanguageIO"
|
4021
3988
|
}
|
4022
3989
|
}
|
4023
3990
|
],
|
4024
3991
|
"exports": [
|
4025
3992
|
{
|
4026
3993
|
"kind": "js",
|
4027
|
-
"name": "
|
3994
|
+
"name": "AzureSummarizationIO",
|
4028
3995
|
"declaration": {
|
4029
|
-
"name": "
|
4030
|
-
"module": "src/services/
|
3996
|
+
"name": "AzureSummarizationIO",
|
3997
|
+
"module": "src/services/azure/azureSummarizationIO.ts"
|
4031
3998
|
}
|
4032
3999
|
}
|
4033
4000
|
]
|
4034
4001
|
},
|
4035
4002
|
{
|
4036
4003
|
"kind": "javascript-module",
|
4037
|
-
"path": "src/services/azure/
|
4004
|
+
"path": "src/services/azure/azureTextToSpeechIO.ts",
|
4038
4005
|
"declarations": [
|
4039
4006
|
{
|
4040
4007
|
"kind": "class",
|
4041
4008
|
"description": "",
|
4042
|
-
"name": "
|
4009
|
+
"name": "AzureTextToSpeechIO",
|
4043
4010
|
"members": [
|
4044
4011
|
{
|
4045
4012
|
"kind": "field",
|
4046
|
-
"name": "
|
4013
|
+
"name": "HELP_LINK",
|
4047
4014
|
"type": {
|
4048
4015
|
"text": "string"
|
4049
4016
|
},
|
4050
|
-
"
|
4017
|
+
"privacy": "private",
|
4018
|
+
"static": true,
|
4019
|
+
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
4020
|
+
},
|
4021
|
+
{
|
4022
|
+
"kind": "field",
|
4023
|
+
"name": "introPanelMarkUp",
|
4024
|
+
"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>`"
|
4025
|
+
},
|
4026
|
+
{
|
4027
|
+
"kind": "field",
|
4028
|
+
"name": "url",
|
4029
|
+
"type": {
|
4030
|
+
"text": "string"
|
4031
|
+
},
|
4032
|
+
"default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
|
4033
|
+
},
|
4034
|
+
{
|
4035
|
+
"kind": "method",
|
4036
|
+
"name": "preprocessBody",
|
4037
|
+
"parameters": [
|
4038
|
+
{
|
4039
|
+
"name": "body",
|
4040
|
+
"type": {
|
4041
|
+
"text": "AzureTextToSpeechConfig"
|
4042
|
+
}
|
4043
|
+
},
|
4044
|
+
{
|
4045
|
+
"name": "messages",
|
4046
|
+
"type": {
|
4047
|
+
"text": "MessageContent[]"
|
4048
|
+
}
|
4049
|
+
}
|
4050
|
+
]
|
4051
|
+
},
|
4052
|
+
{
|
4053
|
+
"kind": "method",
|
4054
|
+
"name": "callServiceAPI",
|
4055
|
+
"parameters": [
|
4056
|
+
{
|
4057
|
+
"name": "messages",
|
4058
|
+
"type": {
|
4059
|
+
"text": "Messages"
|
4060
|
+
}
|
4061
|
+
},
|
4062
|
+
{
|
4063
|
+
"name": "pMessages",
|
4064
|
+
"type": {
|
4065
|
+
"text": "MessageContent[]"
|
4066
|
+
}
|
4067
|
+
},
|
4068
|
+
{
|
4069
|
+
"name": "completionsHandlers",
|
4070
|
+
"type": {
|
4071
|
+
"text": "CompletionsHandlers"
|
4072
|
+
}
|
4073
|
+
}
|
4074
|
+
],
|
4051
4075
|
"inheritedFrom": {
|
4052
|
-
"name": "
|
4053
|
-
"module": "src/services/utils/
|
4076
|
+
"name": "BaseServiceIO",
|
4077
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4078
|
+
}
|
4079
|
+
},
|
4080
|
+
{
|
4081
|
+
"kind": "method",
|
4082
|
+
"name": "extractResultData",
|
4083
|
+
"return": {
|
4084
|
+
"type": {
|
4085
|
+
"text": "Promise<Result>"
|
4086
|
+
}
|
4087
|
+
},
|
4088
|
+
"parameters": [
|
4089
|
+
{
|
4090
|
+
"name": "result",
|
4091
|
+
"type": {
|
4092
|
+
"text": "AzureTextToSpeechResult"
|
4093
|
+
}
|
4094
|
+
}
|
4095
|
+
],
|
4096
|
+
"inheritedFrom": {
|
4097
|
+
"name": "BaseServiceIO",
|
4098
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4054
4099
|
}
|
4055
4100
|
},
|
4056
4101
|
{
|
4057
4102
|
"kind": "field",
|
4058
|
-
"name": "
|
4103
|
+
"name": "lang",
|
4059
4104
|
"type": {
|
4060
4105
|
"text": "string"
|
4061
4106
|
},
|
4062
|
-
"default": "'
|
4107
|
+
"default": "'en-US'"
|
4108
|
+
},
|
4109
|
+
{
|
4110
|
+
"kind": "field",
|
4111
|
+
"name": "name",
|
4112
|
+
"type": {
|
4113
|
+
"text": "string"
|
4114
|
+
},
|
4115
|
+
"default": "'en-US-JennyNeural'"
|
4116
|
+
},
|
4117
|
+
{
|
4118
|
+
"kind": "field",
|
4119
|
+
"name": "gender",
|
4120
|
+
"type": {
|
4121
|
+
"text": "string"
|
4122
|
+
},
|
4123
|
+
"default": "'Female'"
|
4124
|
+
},
|
4125
|
+
{
|
4126
|
+
"kind": "field",
|
4127
|
+
"name": "insertKeyPlaceholderText",
|
4128
|
+
"type": {
|
4129
|
+
"text": "string"
|
4130
|
+
},
|
4131
|
+
"default": "'Azure Speech Subscription Key'",
|
4063
4132
|
"inheritedFrom": {
|
4064
4133
|
"name": "DirectServiceIO",
|
4065
4134
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4067,11 +4136,15 @@
|
|
4067
4136
|
},
|
4068
4137
|
{
|
4069
4138
|
"kind": "field",
|
4070
|
-
"name": "
|
4139
|
+
"name": "getKeyLink",
|
4071
4140
|
"type": {
|
4072
|
-
"text": "
|
4141
|
+
"text": "string"
|
4073
4142
|
},
|
4074
|
-
"default": "
|
4143
|
+
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
4144
|
+
"inheritedFrom": {
|
4145
|
+
"name": "DirectServiceIO",
|
4146
|
+
"module": "src/services/utils/directServiceIO.ts"
|
4147
|
+
}
|
4075
4148
|
},
|
4076
4149
|
{
|
4077
4150
|
"kind": "field",
|
@@ -4423,47 +4496,6 @@
|
|
4423
4496
|
"module": "src/services/utils/baseServiceIO.ts"
|
4424
4497
|
}
|
4425
4498
|
},
|
4426
|
-
{
|
4427
|
-
"kind": "method",
|
4428
|
-
"name": "callServiceAPI",
|
4429
|
-
"parameters": [
|
4430
|
-
{
|
4431
|
-
"name": "messages",
|
4432
|
-
"type": {
|
4433
|
-
"text": "Messages"
|
4434
|
-
}
|
4435
|
-
},
|
4436
|
-
{
|
4437
|
-
"name": "pMessages",
|
4438
|
-
"type": {
|
4439
|
-
"text": "MessageContent[]"
|
4440
|
-
}
|
4441
|
-
},
|
4442
|
-
{
|
4443
|
-
"name": "completionsHandlers",
|
4444
|
-
"type": {
|
4445
|
-
"text": "CompletionsHandlers"
|
4446
|
-
}
|
4447
|
-
},
|
4448
|
-
{
|
4449
|
-
"name": "streamHandlers",
|
4450
|
-
"type": {
|
4451
|
-
"text": "StreamHandlers"
|
4452
|
-
}
|
4453
|
-
},
|
4454
|
-
{
|
4455
|
-
"name": "_",
|
4456
|
-
"optional": true,
|
4457
|
-
"type": {
|
4458
|
-
"text": "File[]"
|
4459
|
-
}
|
4460
|
-
}
|
4461
|
-
],
|
4462
|
-
"inheritedFrom": {
|
4463
|
-
"name": "BaseServiceIO",
|
4464
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4465
|
-
}
|
4466
|
-
},
|
4467
4499
|
{
|
4468
4500
|
"kind": "method",
|
4469
4501
|
"name": "callApiWithFiles",
|
@@ -4537,54 +4569,33 @@
|
|
4537
4569
|
"name": "BaseServiceIO",
|
4538
4570
|
"module": "src/services/utils/baseServiceIO.ts"
|
4539
4571
|
}
|
4540
|
-
},
|
4541
|
-
{
|
4542
|
-
"kind": "method",
|
4543
|
-
"name": "extractResultData",
|
4544
|
-
"return": {
|
4545
|
-
"type": {
|
4546
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
4547
|
-
}
|
4548
|
-
},
|
4549
|
-
"parameters": [
|
4550
|
-
{
|
4551
|
-
"name": "result",
|
4552
|
-
"type": {
|
4553
|
-
"text": "any | CustomServiceResponse"
|
4554
|
-
}
|
4555
|
-
}
|
4556
|
-
],
|
4557
|
-
"inheritedFrom": {
|
4558
|
-
"name": "BaseServiceIO",
|
4559
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
4560
|
-
}
|
4561
4572
|
}
|
4562
4573
|
],
|
4563
4574
|
"superclass": {
|
4564
|
-
"name": "
|
4565
|
-
"module": "/src/services/
|
4575
|
+
"name": "AzureSpeechIO",
|
4576
|
+
"module": "/src/services/azure/azureSpeechIO"
|
4566
4577
|
}
|
4567
4578
|
}
|
4568
4579
|
],
|
4569
4580
|
"exports": [
|
4570
4581
|
{
|
4571
4582
|
"kind": "js",
|
4572
|
-
"name": "
|
4583
|
+
"name": "AzureTextToSpeechIO",
|
4573
4584
|
"declaration": {
|
4574
|
-
"name": "
|
4575
|
-
"module": "src/services/azure/
|
4585
|
+
"name": "AzureTextToSpeechIO",
|
4586
|
+
"module": "src/services/azure/azureTextToSpeechIO.ts"
|
4576
4587
|
}
|
4577
4588
|
}
|
4578
4589
|
]
|
4579
4590
|
},
|
4580
4591
|
{
|
4581
4592
|
"kind": "javascript-module",
|
4582
|
-
"path": "src/services/azure/
|
4593
|
+
"path": "src/services/azure/azureTranslationIO.ts",
|
4583
4594
|
"declarations": [
|
4584
4595
|
{
|
4585
4596
|
"kind": "class",
|
4586
4597
|
"description": "",
|
4587
|
-
"name": "
|
4598
|
+
"name": "AzureTranslationIO",
|
4588
4599
|
"members": [
|
4589
4600
|
{
|
4590
4601
|
"kind": "field",
|
@@ -4592,7 +4603,7 @@
|
|
4592
4603
|
"type": {
|
4593
4604
|
"text": "string"
|
4594
4605
|
},
|
4595
|
-
"default": "'Azure
|
4606
|
+
"default": "'Azure Translate Subscription Key'",
|
4596
4607
|
"inheritedFrom": {
|
4597
4608
|
"name": "DirectServiceIO",
|
4598
4609
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -4610,6 +4621,75 @@
|
|
4610
4621
|
"module": "src/services/utils/directServiceIO.ts"
|
4611
4622
|
}
|
4612
4623
|
},
|
4624
|
+
{
|
4625
|
+
"kind": "field",
|
4626
|
+
"name": "url",
|
4627
|
+
"type": {
|
4628
|
+
"text": "string"
|
4629
|
+
},
|
4630
|
+
"default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
|
4631
|
+
},
|
4632
|
+
{
|
4633
|
+
"kind": "method",
|
4634
|
+
"name": "preprocessBody",
|
4635
|
+
"parameters": [
|
4636
|
+
{
|
4637
|
+
"name": "messages",
|
4638
|
+
"type": {
|
4639
|
+
"text": "MessageContent[]"
|
4640
|
+
}
|
4641
|
+
}
|
4642
|
+
]
|
4643
|
+
},
|
4644
|
+
{
|
4645
|
+
"kind": "method",
|
4646
|
+
"name": "callServiceAPI",
|
4647
|
+
"parameters": [
|
4648
|
+
{
|
4649
|
+
"name": "messages",
|
4650
|
+
"type": {
|
4651
|
+
"text": "Messages"
|
4652
|
+
}
|
4653
|
+
},
|
4654
|
+
{
|
4655
|
+
"name": "pMessages",
|
4656
|
+
"type": {
|
4657
|
+
"text": "MessageContent[]"
|
4658
|
+
}
|
4659
|
+
},
|
4660
|
+
{
|
4661
|
+
"name": "completionsHandlers",
|
4662
|
+
"type": {
|
4663
|
+
"text": "CompletionsHandlers"
|
4664
|
+
}
|
4665
|
+
}
|
4666
|
+
],
|
4667
|
+
"inheritedFrom": {
|
4668
|
+
"name": "BaseServiceIO",
|
4669
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4670
|
+
}
|
4671
|
+
},
|
4672
|
+
{
|
4673
|
+
"kind": "method",
|
4674
|
+
"name": "extractResultData",
|
4675
|
+
"return": {
|
4676
|
+
"type": {
|
4677
|
+
"text": "Promise<Result>"
|
4678
|
+
}
|
4679
|
+
},
|
4680
|
+
"parameters": [
|
4681
|
+
{
|
4682
|
+
"name": "result",
|
4683
|
+
"type": {
|
4684
|
+
"text": "AzureTranslationResult"
|
4685
|
+
}
|
4686
|
+
}
|
4687
|
+
],
|
4688
|
+
"inheritedFrom": {
|
4689
|
+
"name": "BaseServiceIO",
|
4690
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
4691
|
+
}
|
4692
|
+
},
|
4613
4693
|
{
|
4614
4694
|
"kind": "field",
|
4615
4695
|
"name": "key",
|
@@ -4960,47 +5040,6 @@
|
|
4960
5040
|
"module": "src/services/utils/baseServiceIO.ts"
|
4961
5041
|
}
|
4962
5042
|
},
|
4963
|
-
{
|
4964
|
-
"kind": "method",
|
4965
|
-
"name": "callServiceAPI",
|
4966
|
-
"parameters": [
|
4967
|
-
{
|
4968
|
-
"name": "messages",
|
4969
|
-
"type": {
|
4970
|
-
"text": "Messages"
|
4971
|
-
}
|
4972
|
-
},
|
4973
|
-
{
|
4974
|
-
"name": "pMessages",
|
4975
|
-
"type": {
|
4976
|
-
"text": "MessageContent[]"
|
4977
|
-
}
|
4978
|
-
},
|
4979
|
-
{
|
4980
|
-
"name": "completionsHandlers",
|
4981
|
-
"type": {
|
4982
|
-
"text": "CompletionsHandlers"
|
4983
|
-
}
|
4984
|
-
},
|
4985
|
-
{
|
4986
|
-
"name": "streamHandlers",
|
4987
|
-
"type": {
|
4988
|
-
"text": "StreamHandlers"
|
4989
|
-
}
|
4990
|
-
},
|
4991
|
-
{
|
4992
|
-
"name": "_",
|
4993
|
-
"optional": true,
|
4994
|
-
"type": {
|
4995
|
-
"text": "File[]"
|
4996
|
-
}
|
4997
|
-
}
|
4998
|
-
],
|
4999
|
-
"inheritedFrom": {
|
5000
|
-
"name": "BaseServiceIO",
|
5001
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5002
|
-
}
|
5003
|
-
},
|
5004
5043
|
{
|
5005
5044
|
"kind": "method",
|
5006
5045
|
"name": "callApiWithFiles",
|
@@ -5074,27 +5113,6 @@
|
|
5074
5113
|
"name": "BaseServiceIO",
|
5075
5114
|
"module": "src/services/utils/baseServiceIO.ts"
|
5076
5115
|
}
|
5077
|
-
},
|
5078
|
-
{
|
5079
|
-
"kind": "method",
|
5080
|
-
"name": "extractResultData",
|
5081
|
-
"return": {
|
5082
|
-
"type": {
|
5083
|
-
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
5084
|
-
}
|
5085
|
-
},
|
5086
|
-
"parameters": [
|
5087
|
-
{
|
5088
|
-
"name": "result",
|
5089
|
-
"type": {
|
5090
|
-
"text": "any | CustomServiceResponse"
|
5091
|
-
}
|
5092
|
-
}
|
5093
|
-
],
|
5094
|
-
"inheritedFrom": {
|
5095
|
-
"name": "BaseServiceIO",
|
5096
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5097
|
-
}
|
5098
5116
|
}
|
5099
5117
|
],
|
5100
5118
|
"superclass": {
|
@@ -5106,80 +5124,60 @@
|
|
5106
5124
|
"exports": [
|
5107
5125
|
{
|
5108
5126
|
"kind": "js",
|
5109
|
-
"name": "
|
5127
|
+
"name": "AzureTranslationIO",
|
5110
5128
|
"declaration": {
|
5111
|
-
"name": "
|
5112
|
-
"module": "src/services/azure/
|
5129
|
+
"name": "AzureTranslationIO",
|
5130
|
+
"module": "src/services/azure/azureTranslationIO.ts"
|
5113
5131
|
}
|
5114
5132
|
}
|
5115
5133
|
]
|
5116
5134
|
},
|
5117
5135
|
{
|
5118
5136
|
"kind": "javascript-module",
|
5119
|
-
"path": "src/services/
|
5137
|
+
"path": "src/services/cohere/cohereChatIO.ts",
|
5120
5138
|
"declarations": [
|
5121
5139
|
{
|
5122
5140
|
"kind": "class",
|
5123
5141
|
"description": "",
|
5124
|
-
"name": "
|
5142
|
+
"name": "CohereChatIO",
|
5125
5143
|
"members": [
|
5126
5144
|
{
|
5127
5145
|
"kind": "field",
|
5128
|
-
"name": "
|
5146
|
+
"name": "username",
|
5129
5147
|
"type": {
|
5130
5148
|
"text": "string"
|
5131
5149
|
},
|
5132
5150
|
"privacy": "private",
|
5133
|
-
"
|
5134
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
5135
|
-
},
|
5136
|
-
{
|
5137
|
-
"kind": "field",
|
5138
|
-
"name": "introPanelMarkUp",
|
5139
|
-
"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>`"
|
5140
|
-
},
|
5141
|
-
{
|
5142
|
-
"kind": "field",
|
5143
|
-
"name": "url",
|
5144
|
-
"type": {
|
5145
|
-
"text": "string"
|
5146
|
-
},
|
5147
|
-
"default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
|
5148
|
-
},
|
5149
|
-
{
|
5150
|
-
"kind": "field",
|
5151
|
-
"name": "isTextInputDisabled",
|
5152
|
-
"type": {
|
5153
|
-
"text": "boolean"
|
5154
|
-
},
|
5155
|
-
"default": "true"
|
5151
|
+
"default": "'USER'"
|
5156
5152
|
},
|
5157
5153
|
{
|
5158
|
-
"kind": "
|
5159
|
-
"name": "
|
5160
|
-
"
|
5161
|
-
|
5162
|
-
|
5163
|
-
|
5154
|
+
"kind": "method",
|
5155
|
+
"name": "cleanConfig",
|
5156
|
+
"privacy": "private",
|
5157
|
+
"parameters": [
|
5158
|
+
{
|
5159
|
+
"name": "config",
|
5160
|
+
"type": {
|
5161
|
+
"text": "CohereChatConfig"
|
5162
|
+
}
|
5163
|
+
}
|
5164
|
+
]
|
5164
5165
|
},
|
5165
5166
|
{
|
5166
5167
|
"kind": "method",
|
5167
|
-
"name": "
|
5168
|
+
"name": "preprocessBody",
|
5168
5169
|
"privacy": "private",
|
5169
|
-
"static": true,
|
5170
5170
|
"parameters": [
|
5171
5171
|
{
|
5172
|
-
"name": "
|
5173
|
-
"optional": true,
|
5172
|
+
"name": "body",
|
5174
5173
|
"type": {
|
5175
|
-
"text": "
|
5174
|
+
"text": "CohereChatConfig"
|
5176
5175
|
}
|
5177
5176
|
},
|
5178
5177
|
{
|
5179
|
-
"name": "
|
5180
|
-
"optional": true,
|
5178
|
+
"name": "pMessages",
|
5181
5179
|
"type": {
|
5182
|
-
"text": "
|
5180
|
+
"text": "MessageContent[]"
|
5183
5181
|
}
|
5184
5182
|
}
|
5185
5183
|
]
|
@@ -5195,7 +5193,7 @@
|
|
5195
5193
|
}
|
5196
5194
|
},
|
5197
5195
|
{
|
5198
|
-
"name": "
|
5196
|
+
"name": "pMessages",
|
5199
5197
|
"type": {
|
5200
5198
|
"text": "MessageContent[]"
|
5201
5199
|
}
|
@@ -5205,19 +5203,6 @@
|
|
5205
5203
|
"type": {
|
5206
5204
|
"text": "CompletionsHandlers"
|
5207
5205
|
}
|
5208
|
-
},
|
5209
|
-
{
|
5210
|
-
"name": "__",
|
5211
|
-
"type": {
|
5212
|
-
"text": "StreamHandlers"
|
5213
|
-
}
|
5214
|
-
},
|
5215
|
-
{
|
5216
|
-
"name": "files",
|
5217
|
-
"optional": true,
|
5218
|
-
"type": {
|
5219
|
-
"text": "File[]"
|
5220
|
-
}
|
5221
5206
|
}
|
5222
5207
|
],
|
5223
5208
|
"inheritedFrom": {
|
@@ -5237,7 +5222,7 @@
|
|
5237
5222
|
{
|
5238
5223
|
"name": "result",
|
5239
5224
|
"type": {
|
5240
|
-
"text": "
|
5225
|
+
"text": "CohereChatResult"
|
5241
5226
|
}
|
5242
5227
|
}
|
5243
5228
|
],
|
@@ -5248,67 +5233,62 @@
|
|
5248
5233
|
},
|
5249
5234
|
{
|
5250
5235
|
"kind": "field",
|
5251
|
-
"name": "
|
5252
|
-
"privacy": "private",
|
5253
|
-
"static": true,
|
5254
|
-
"parameters": [
|
5255
|
-
{
|
5256
|
-
"name": "text",
|
5257
|
-
"optional": true,
|
5258
|
-
"type": {
|
5259
|
-
"text": "string"
|
5260
|
-
}
|
5261
|
-
},
|
5262
|
-
{
|
5263
|
-
"name": "files",
|
5264
|
-
"optional": true,
|
5265
|
-
"type": {
|
5266
|
-
"text": "File[]"
|
5267
|
-
}
|
5268
|
-
}
|
5269
|
-
],
|
5236
|
+
"name": "insertKeyPlaceholderText",
|
5270
5237
|
"type": {
|
5271
|
-
"text": "
|
5238
|
+
"text": "string"
|
5272
5239
|
},
|
5240
|
+
"default": "'Cohere API Key'",
|
5273
5241
|
"inheritedFrom": {
|
5274
|
-
"name": "
|
5275
|
-
"module": "src/services/utils/
|
5242
|
+
"name": "DirectServiceIO",
|
5243
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5276
5244
|
}
|
5277
5245
|
},
|
5278
5246
|
{
|
5279
5247
|
"kind": "field",
|
5280
|
-
"name": "
|
5248
|
+
"name": "getKeyLink",
|
5281
5249
|
"type": {
|
5282
|
-
"text": "
|
5250
|
+
"text": "string"
|
5283
5251
|
},
|
5252
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
5284
5253
|
"inheritedFrom": {
|
5285
|
-
"name": "
|
5286
|
-
"module": "src/services/utils/
|
5287
|
-
}
|
5288
|
-
"default": "undefined"
|
5254
|
+
"name": "DirectServiceIO",
|
5255
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5256
|
+
}
|
5289
5257
|
},
|
5290
5258
|
{
|
5291
5259
|
"kind": "field",
|
5292
|
-
"name": "
|
5260
|
+
"name": "textInputPlaceholderText",
|
5293
5261
|
"type": {
|
5294
5262
|
"text": "string"
|
5295
5263
|
},
|
5296
|
-
"default": "
|
5264
|
+
"default": "inputPlaceholder",
|
5297
5265
|
"inheritedFrom": {
|
5298
|
-
"name": "
|
5299
|
-
"module": "src/services/
|
5266
|
+
"name": "CohereIO",
|
5267
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5300
5268
|
}
|
5301
5269
|
},
|
5302
5270
|
{
|
5303
5271
|
"kind": "field",
|
5304
|
-
"name": "
|
5272
|
+
"name": "permittedErrorPrefixes",
|
5273
|
+
"type": {
|
5274
|
+
"text": "array"
|
5275
|
+
},
|
5276
|
+
"default": "['invalid']",
|
5277
|
+
"inheritedFrom": {
|
5278
|
+
"name": "CohereIO",
|
5279
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5280
|
+
}
|
5281
|
+
},
|
5282
|
+
{
|
5283
|
+
"kind": "field",
|
5284
|
+
"name": "url",
|
5305
5285
|
"type": {
|
5306
5286
|
"text": "string"
|
5307
5287
|
},
|
5308
|
-
"default": "
|
5288
|
+
"default": "url",
|
5309
5289
|
"inheritedFrom": {
|
5310
|
-
"name": "
|
5311
|
-
"module": "src/services/
|
5290
|
+
"name": "CohereIO",
|
5291
|
+
"module": "src/services/cohere/cohereIO.ts"
|
5312
5292
|
}
|
5313
5293
|
},
|
5314
5294
|
{
|
@@ -5482,6 +5462,35 @@
|
|
5482
5462
|
"module": "src/services/utils/baseServiceIO.ts"
|
5483
5463
|
}
|
5484
5464
|
},
|
5465
|
+
{
|
5466
|
+
"kind": "field",
|
5467
|
+
"name": "canSendMessage",
|
5468
|
+
"privacy": "private",
|
5469
|
+
"static": true,
|
5470
|
+
"parameters": [
|
5471
|
+
{
|
5472
|
+
"name": "text",
|
5473
|
+
"optional": true,
|
5474
|
+
"type": {
|
5475
|
+
"text": "string"
|
5476
|
+
}
|
5477
|
+
},
|
5478
|
+
{
|
5479
|
+
"name": "files",
|
5480
|
+
"optional": true,
|
5481
|
+
"type": {
|
5482
|
+
"text": "File[]"
|
5483
|
+
}
|
5484
|
+
}
|
5485
|
+
],
|
5486
|
+
"type": {
|
5487
|
+
"text": "ValidateMessageBeforeSending"
|
5488
|
+
},
|
5489
|
+
"inheritedFrom": {
|
5490
|
+
"name": "BaseServiceIO",
|
5491
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5492
|
+
}
|
5493
|
+
},
|
5485
5494
|
{
|
5486
5495
|
"kind": "field",
|
5487
5496
|
"name": "fileTypes",
|
@@ -5505,6 +5514,17 @@
|
|
5505
5514
|
"module": "src/services/utils/baseServiceIO.ts"
|
5506
5515
|
}
|
5507
5516
|
},
|
5517
|
+
{
|
5518
|
+
"kind": "field",
|
5519
|
+
"name": "recordAudio",
|
5520
|
+
"type": {
|
5521
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
5522
|
+
},
|
5523
|
+
"inheritedFrom": {
|
5524
|
+
"name": "BaseServiceIO",
|
5525
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
5526
|
+
}
|
5527
|
+
},
|
5508
5528
|
{
|
5509
5529
|
"kind": "field",
|
5510
5530
|
"name": "_isStream",
|
@@ -5697,162 +5717,50 @@
|
|
5697
5717
|
}
|
5698
5718
|
],
|
5699
5719
|
"superclass": {
|
5700
|
-
"name": "
|
5701
|
-
"module": "/src/services/
|
5720
|
+
"name": "CohereIO",
|
5721
|
+
"module": "/src/services/cohere/cohereIO"
|
5702
5722
|
}
|
5703
5723
|
}
|
5704
5724
|
],
|
5705
5725
|
"exports": [
|
5706
5726
|
{
|
5707
5727
|
"kind": "js",
|
5708
|
-
"name": "
|
5728
|
+
"name": "CohereChatIO",
|
5709
5729
|
"declaration": {
|
5710
|
-
"name": "
|
5711
|
-
"module": "src/services/
|
5730
|
+
"name": "CohereChatIO",
|
5731
|
+
"module": "src/services/cohere/cohereChatIO.ts"
|
5712
5732
|
}
|
5713
5733
|
}
|
5714
5734
|
]
|
5715
5735
|
},
|
5716
5736
|
{
|
5717
5737
|
"kind": "javascript-module",
|
5718
|
-
"path": "src/services/
|
5738
|
+
"path": "src/services/cohere/cohereIO.ts",
|
5719
5739
|
"declarations": [
|
5720
5740
|
{
|
5721
5741
|
"kind": "class",
|
5722
5742
|
"description": "",
|
5723
|
-
"name": "
|
5743
|
+
"name": "CohereIO",
|
5724
5744
|
"members": [
|
5725
5745
|
{
|
5726
5746
|
"kind": "field",
|
5727
|
-
"name": "
|
5728
|
-
"type": {
|
5729
|
-
"text": "string"
|
5730
|
-
},
|
5731
|
-
"default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
|
5732
|
-
},
|
5733
|
-
{
|
5734
|
-
"kind": "field",
|
5735
|
-
"name": "textInputPlaceholderText",
|
5747
|
+
"name": "insertKeyPlaceholderText",
|
5736
5748
|
"type": {
|
5737
5749
|
"text": "string"
|
5738
5750
|
},
|
5739
|
-
"default": "'
|
5740
|
-
},
|
5741
|
-
{
|
5742
|
-
"kind": "field",
|
5743
|
-
"name": "messages",
|
5744
|
-
"type": {
|
5745
|
-
"text": "Messages | undefined"
|
5746
|
-
},
|
5747
|
-
"privacy": "private"
|
5748
|
-
},
|
5749
|
-
{
|
5750
|
-
"kind": "field",
|
5751
|
-
"name": "completionsHandlers",
|
5752
|
-
"type": {
|
5753
|
-
"text": "CompletionsHandlers | undefined"
|
5754
|
-
},
|
5755
|
-
"privacy": "private"
|
5756
|
-
},
|
5757
|
-
{
|
5758
|
-
"kind": "method",
|
5759
|
-
"name": "preprocessBody",
|
5760
|
-
"parameters": [
|
5761
|
-
{
|
5762
|
-
"name": "body",
|
5763
|
-
"type": {
|
5764
|
-
"text": "RawBody"
|
5765
|
-
}
|
5766
|
-
},
|
5767
|
-
{
|
5768
|
-
"name": "messages",
|
5769
|
-
"type": {
|
5770
|
-
"text": "MessageContent[]"
|
5771
|
-
}
|
5772
|
-
}
|
5773
|
-
]
|
5774
|
-
},
|
5775
|
-
{
|
5776
|
-
"kind": "method",
|
5777
|
-
"name": "callServiceAPI",
|
5778
|
-
"parameters": [
|
5779
|
-
{
|
5780
|
-
"name": "messages",
|
5781
|
-
"type": {
|
5782
|
-
"text": "Messages"
|
5783
|
-
}
|
5784
|
-
},
|
5785
|
-
{
|
5786
|
-
"name": "pMessages",
|
5787
|
-
"type": {
|
5788
|
-
"text": "MessageContent[]"
|
5789
|
-
}
|
5790
|
-
},
|
5791
|
-
{
|
5792
|
-
"name": "completionsHandlers",
|
5793
|
-
"type": {
|
5794
|
-
"text": "CompletionsHandlers"
|
5795
|
-
}
|
5796
|
-
}
|
5797
|
-
],
|
5798
|
-
"inheritedFrom": {
|
5799
|
-
"name": "BaseServiceIO",
|
5800
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
5801
|
-
}
|
5802
|
-
},
|
5803
|
-
{
|
5804
|
-
"kind": "method",
|
5805
|
-
"name": "extractResultData",
|
5806
|
-
"return": {
|
5807
|
-
"type": {
|
5808
|
-
"text": "Promise<{pollingInAnotherRequest: true}>"
|
5809
|
-
}
|
5810
|
-
},
|
5811
|
-
"parameters": [
|
5812
|
-
{
|
5813
|
-
"name": "result",
|
5814
|
-
"type": {
|
5815
|
-
"text": "Response & AzureAuthenticationError"
|
5816
|
-
}
|
5817
|
-
}
|
5818
|
-
],
|
5751
|
+
"default": "'Cohere API Key'",
|
5819
5752
|
"inheritedFrom": {
|
5820
|
-
"name": "
|
5821
|
-
"module": "src/services/utils/
|
5753
|
+
"name": "DirectServiceIO",
|
5754
|
+
"module": "src/services/utils/directServiceIO.ts"
|
5822
5755
|
}
|
5823
5756
|
},
|
5824
|
-
{
|
5825
|
-
"kind": "method",
|
5826
|
-
"name": "extractPollResultData",
|
5827
|
-
"return": {
|
5828
|
-
"type": {
|
5829
|
-
"text": "PollResult"
|
5830
|
-
}
|
5831
|
-
},
|
5832
|
-
"parameters": [
|
5833
|
-
{
|
5834
|
-
"name": "result",
|
5835
|
-
"type": {
|
5836
|
-
"text": "AzureSummarizationResult"
|
5837
|
-
}
|
5838
|
-
}
|
5839
|
-
]
|
5840
|
-
},
|
5841
|
-
{
|
5842
|
-
"kind": "field",
|
5843
|
-
"name": "language",
|
5844
|
-
"type": {
|
5845
|
-
"text": "string"
|
5846
|
-
},
|
5847
|
-
"default": "'en'"
|
5848
|
-
},
|
5849
5757
|
{
|
5850
5758
|
"kind": "field",
|
5851
|
-
"name": "
|
5759
|
+
"name": "getKeyLink",
|
5852
5760
|
"type": {
|
5853
5761
|
"text": "string"
|
5854
5762
|
},
|
5855
|
-
"default": "'
|
5763
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
5856
5764
|
"inheritedFrom": {
|
5857
5765
|
"name": "DirectServiceIO",
|
5858
5766
|
"module": "src/services/utils/directServiceIO.ts"
|
@@ -5860,15 +5768,11 @@
|
|
5860
5768
|
},
|
5861
5769
|
{
|
5862
5770
|
"kind": "field",
|
5863
|
-
"name": "
|
5771
|
+
"name": "textInputPlaceholderText",
|
5864
5772
|
"type": {
|
5865
5773
|
"text": "string"
|
5866
5774
|
},
|
5867
|
-
"default": "
|
5868
|
-
"inheritedFrom": {
|
5869
|
-
"name": "DirectServiceIO",
|
5870
|
-
"module": "src/services/utils/directServiceIO.ts"
|
5871
|
-
}
|
5775
|
+
"default": "inputPlaceholder"
|
5872
5776
|
},
|
5873
5777
|
{
|
5874
5778
|
"kind": "field",
|
@@ -5876,11 +5780,15 @@
|
|
5876
5780
|
"type": {
|
5877
5781
|
"text": "array"
|
5878
5782
|
},
|
5879
|
-
"default": "['
|
5880
|
-
|
5881
|
-
|
5882
|
-
|
5883
|
-
|
5783
|
+
"default": "['invalid']"
|
5784
|
+
},
|
5785
|
+
{
|
5786
|
+
"kind": "field",
|
5787
|
+
"name": "url",
|
5788
|
+
"type": {
|
5789
|
+
"text": "string"
|
5790
|
+
},
|
5791
|
+
"default": "url"
|
5884
5792
|
},
|
5885
5793
|
{
|
5886
5794
|
"kind": "field",
|
@@ -6232,6 +6140,47 @@
|
|
6232
6140
|
"module": "src/services/utils/baseServiceIO.ts"
|
6233
6141
|
}
|
6234
6142
|
},
|
6143
|
+
{
|
6144
|
+
"kind": "method",
|
6145
|
+
"name": "callServiceAPI",
|
6146
|
+
"parameters": [
|
6147
|
+
{
|
6148
|
+
"name": "messages",
|
6149
|
+
"type": {
|
6150
|
+
"text": "Messages"
|
6151
|
+
}
|
6152
|
+
},
|
6153
|
+
{
|
6154
|
+
"name": "pMessages",
|
6155
|
+
"type": {
|
6156
|
+
"text": "MessageContent[]"
|
6157
|
+
}
|
6158
|
+
},
|
6159
|
+
{
|
6160
|
+
"name": "completionsHandlers",
|
6161
|
+
"type": {
|
6162
|
+
"text": "CompletionsHandlers"
|
6163
|
+
}
|
6164
|
+
},
|
6165
|
+
{
|
6166
|
+
"name": "streamHandlers",
|
6167
|
+
"type": {
|
6168
|
+
"text": "StreamHandlers"
|
6169
|
+
}
|
6170
|
+
},
|
6171
|
+
{
|
6172
|
+
"name": "_",
|
6173
|
+
"optional": true,
|
6174
|
+
"type": {
|
6175
|
+
"text": "File[]"
|
6176
|
+
}
|
6177
|
+
}
|
6178
|
+
],
|
6179
|
+
"inheritedFrom": {
|
6180
|
+
"name": "BaseServiceIO",
|
6181
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6182
|
+
}
|
6183
|
+
},
|
6235
6184
|
{
|
6236
6185
|
"kind": "method",
|
6237
6186
|
"name": "callApiWithFiles",
|
@@ -6305,57 +6254,55 @@
|
|
6305
6254
|
"name": "BaseServiceIO",
|
6306
6255
|
"module": "src/services/utils/baseServiceIO.ts"
|
6307
6256
|
}
|
6257
|
+
},
|
6258
|
+
{
|
6259
|
+
"kind": "method",
|
6260
|
+
"name": "extractResultData",
|
6261
|
+
"return": {
|
6262
|
+
"type": {
|
6263
|
+
"text": "Promise<Result | {pollingInAnotherRequest: true}>"
|
6264
|
+
}
|
6265
|
+
},
|
6266
|
+
"parameters": [
|
6267
|
+
{
|
6268
|
+
"name": "result",
|
6269
|
+
"type": {
|
6270
|
+
"text": "any | CustomServiceResponse"
|
6271
|
+
}
|
6272
|
+
}
|
6273
|
+
],
|
6274
|
+
"inheritedFrom": {
|
6275
|
+
"name": "BaseServiceIO",
|
6276
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6277
|
+
}
|
6308
6278
|
}
|
6309
6279
|
],
|
6310
6280
|
"superclass": {
|
6311
|
-
"name": "
|
6312
|
-
"module": "/src/services/
|
6281
|
+
"name": "DirectServiceIO",
|
6282
|
+
"module": "/src/services/utils/directServiceIO"
|
6313
6283
|
}
|
6314
6284
|
}
|
6315
6285
|
],
|
6316
6286
|
"exports": [
|
6317
6287
|
{
|
6318
6288
|
"kind": "js",
|
6319
|
-
"name": "
|
6289
|
+
"name": "CohereIO",
|
6320
6290
|
"declaration": {
|
6321
|
-
"name": "
|
6322
|
-
"module": "src/services/
|
6291
|
+
"name": "CohereIO",
|
6292
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6323
6293
|
}
|
6324
6294
|
}
|
6325
6295
|
]
|
6326
6296
|
},
|
6327
6297
|
{
|
6328
6298
|
"kind": "javascript-module",
|
6329
|
-
"path": "src/services/
|
6299
|
+
"path": "src/services/cohere/cohereSummarizationIO.ts",
|
6330
6300
|
"declarations": [
|
6331
6301
|
{
|
6332
6302
|
"kind": "class",
|
6333
6303
|
"description": "",
|
6334
|
-
"name": "
|
6304
|
+
"name": "CohereSummarizationIO",
|
6335
6305
|
"members": [
|
6336
|
-
{
|
6337
|
-
"kind": "field",
|
6338
|
-
"name": "HELP_LINK",
|
6339
|
-
"type": {
|
6340
|
-
"text": "string"
|
6341
|
-
},
|
6342
|
-
"privacy": "private",
|
6343
|
-
"static": true,
|
6344
|
-
"default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
|
6345
|
-
},
|
6346
|
-
{
|
6347
|
-
"kind": "field",
|
6348
|
-
"name": "introPanelMarkUp",
|
6349
|
-
"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>`"
|
6350
|
-
},
|
6351
|
-
{
|
6352
|
-
"kind": "field",
|
6353
|
-
"name": "url",
|
6354
|
-
"type": {
|
6355
|
-
"text": "string"
|
6356
|
-
},
|
6357
|
-
"default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
|
6358
|
-
},
|
6359
6306
|
{
|
6360
6307
|
"kind": "method",
|
6361
6308
|
"name": "preprocessBody",
|
@@ -6363,7 +6310,7 @@
|
|
6363
6310
|
{
|
6364
6311
|
"name": "body",
|
6365
6312
|
"type": {
|
6366
|
-
"text": "
|
6313
|
+
"text": "CohereSummarizationConfig"
|
6367
6314
|
}
|
6368
6315
|
},
|
6369
6316
|
{
|
@@ -6414,7 +6361,7 @@
|
|
6414
6361
|
{
|
6415
6362
|
"name": "result",
|
6416
6363
|
"type": {
|
6417
|
-
"text": "
|
6364
|
+
"text": "CohereSummarizationResult"
|
6418
6365
|
}
|
6419
6366
|
}
|
6420
6367
|
],
|
@@ -6425,50 +6372,62 @@
|
|
6425
6372
|
},
|
6426
6373
|
{
|
6427
6374
|
"kind": "field",
|
6428
|
-
"name": "
|
6375
|
+
"name": "insertKeyPlaceholderText",
|
6429
6376
|
"type": {
|
6430
6377
|
"text": "string"
|
6431
6378
|
},
|
6432
|
-
"default": "'
|
6379
|
+
"default": "'Cohere API Key'",
|
6380
|
+
"inheritedFrom": {
|
6381
|
+
"name": "DirectServiceIO",
|
6382
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6383
|
+
}
|
6433
6384
|
},
|
6434
6385
|
{
|
6435
6386
|
"kind": "field",
|
6436
|
-
"name": "
|
6387
|
+
"name": "getKeyLink",
|
6437
6388
|
"type": {
|
6438
6389
|
"text": "string"
|
6439
6390
|
},
|
6440
|
-
"default": "'
|
6391
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
6392
|
+
"inheritedFrom": {
|
6393
|
+
"name": "DirectServiceIO",
|
6394
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6395
|
+
}
|
6441
6396
|
},
|
6442
6397
|
{
|
6443
6398
|
"kind": "field",
|
6444
|
-
"name": "
|
6399
|
+
"name": "textInputPlaceholderText",
|
6445
6400
|
"type": {
|
6446
6401
|
"text": "string"
|
6447
6402
|
},
|
6448
|
-
"default": "
|
6403
|
+
"default": "inputPlaceholder",
|
6404
|
+
"inheritedFrom": {
|
6405
|
+
"name": "CohereIO",
|
6406
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6407
|
+
}
|
6449
6408
|
},
|
6450
6409
|
{
|
6451
6410
|
"kind": "field",
|
6452
|
-
"name": "
|
6411
|
+
"name": "permittedErrorPrefixes",
|
6453
6412
|
"type": {
|
6454
|
-
"text": "
|
6413
|
+
"text": "array"
|
6455
6414
|
},
|
6456
|
-
"default": "'
|
6415
|
+
"default": "['invalid']",
|
6457
6416
|
"inheritedFrom": {
|
6458
|
-
"name": "
|
6459
|
-
"module": "src/services/
|
6417
|
+
"name": "CohereIO",
|
6418
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6460
6419
|
}
|
6461
6420
|
},
|
6462
6421
|
{
|
6463
6422
|
"kind": "field",
|
6464
|
-
"name": "
|
6423
|
+
"name": "url",
|
6465
6424
|
"type": {
|
6466
6425
|
"text": "string"
|
6467
6426
|
},
|
6468
|
-
"default": "
|
6427
|
+
"default": "url",
|
6469
6428
|
"inheritedFrom": {
|
6470
|
-
"name": "
|
6471
|
-
"module": "src/services/
|
6429
|
+
"name": "CohereIO",
|
6430
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6472
6431
|
}
|
6473
6432
|
},
|
6474
6433
|
{
|
@@ -6897,67 +6856,41 @@
|
|
6897
6856
|
}
|
6898
6857
|
],
|
6899
6858
|
"superclass": {
|
6900
|
-
"name": "
|
6901
|
-
"module": "/src/services/
|
6859
|
+
"name": "CohereIO",
|
6860
|
+
"module": "/src/services/cohere/cohereIO"
|
6902
6861
|
}
|
6903
6862
|
}
|
6904
6863
|
],
|
6905
6864
|
"exports": [
|
6906
6865
|
{
|
6907
6866
|
"kind": "js",
|
6908
|
-
"name": "
|
6867
|
+
"name": "CohereSummarizationIO",
|
6909
6868
|
"declaration": {
|
6910
|
-
"name": "
|
6911
|
-
"module": "src/services/
|
6869
|
+
"name": "CohereSummarizationIO",
|
6870
|
+
"module": "src/services/cohere/cohereSummarizationIO.ts"
|
6912
6871
|
}
|
6913
6872
|
}
|
6914
6873
|
]
|
6915
6874
|
},
|
6916
6875
|
{
|
6917
6876
|
"kind": "javascript-module",
|
6918
|
-
"path": "src/services/
|
6877
|
+
"path": "src/services/cohere/cohereTextGenerationIO.ts",
|
6919
6878
|
"declarations": [
|
6920
6879
|
{
|
6921
6880
|
"kind": "class",
|
6922
6881
|
"description": "",
|
6923
|
-
"name": "
|
6882
|
+
"name": "CohereTextGenerationIO",
|
6924
6883
|
"members": [
|
6925
|
-
{
|
6926
|
-
"kind": "field",
|
6927
|
-
"name": "insertKeyPlaceholderText",
|
6928
|
-
"type": {
|
6929
|
-
"text": "string"
|
6930
|
-
},
|
6931
|
-
"default": "'Azure Translate Subscription Key'",
|
6932
|
-
"inheritedFrom": {
|
6933
|
-
"name": "DirectServiceIO",
|
6934
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6935
|
-
}
|
6936
|
-
},
|
6937
|
-
{
|
6938
|
-
"kind": "field",
|
6939
|
-
"name": "getKeyLink",
|
6940
|
-
"type": {
|
6941
|
-
"text": "string"
|
6942
|
-
},
|
6943
|
-
"default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
|
6944
|
-
"inheritedFrom": {
|
6945
|
-
"name": "DirectServiceIO",
|
6946
|
-
"module": "src/services/utils/directServiceIO.ts"
|
6947
|
-
}
|
6948
|
-
},
|
6949
|
-
{
|
6950
|
-
"kind": "field",
|
6951
|
-
"name": "url",
|
6952
|
-
"type": {
|
6953
|
-
"text": "string"
|
6954
|
-
},
|
6955
|
-
"default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
|
6956
|
-
},
|
6957
6884
|
{
|
6958
6885
|
"kind": "method",
|
6959
6886
|
"name": "preprocessBody",
|
6960
6887
|
"parameters": [
|
6888
|
+
{
|
6889
|
+
"name": "body",
|
6890
|
+
"type": {
|
6891
|
+
"text": "CohereGenerateConfig"
|
6892
|
+
}
|
6893
|
+
},
|
6961
6894
|
{
|
6962
6895
|
"name": "messages",
|
6963
6896
|
"type": {
|
@@ -6990,29 +6923,89 @@
|
|
6990
6923
|
}
|
6991
6924
|
],
|
6992
6925
|
"inheritedFrom": {
|
6993
|
-
"name": "BaseServiceIO",
|
6994
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
6926
|
+
"name": "BaseServiceIO",
|
6927
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6928
|
+
}
|
6929
|
+
},
|
6930
|
+
{
|
6931
|
+
"kind": "method",
|
6932
|
+
"name": "extractResultData",
|
6933
|
+
"return": {
|
6934
|
+
"type": {
|
6935
|
+
"text": "Promise<Result>"
|
6936
|
+
}
|
6937
|
+
},
|
6938
|
+
"parameters": [
|
6939
|
+
{
|
6940
|
+
"name": "result",
|
6941
|
+
"type": {
|
6942
|
+
"text": "CohereCompletionsResult"
|
6943
|
+
}
|
6944
|
+
}
|
6945
|
+
],
|
6946
|
+
"inheritedFrom": {
|
6947
|
+
"name": "BaseServiceIO",
|
6948
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
6949
|
+
}
|
6950
|
+
},
|
6951
|
+
{
|
6952
|
+
"kind": "field",
|
6953
|
+
"name": "insertKeyPlaceholderText",
|
6954
|
+
"type": {
|
6955
|
+
"text": "string"
|
6956
|
+
},
|
6957
|
+
"default": "'Cohere API Key'",
|
6958
|
+
"inheritedFrom": {
|
6959
|
+
"name": "DirectServiceIO",
|
6960
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6961
|
+
}
|
6962
|
+
},
|
6963
|
+
{
|
6964
|
+
"kind": "field",
|
6965
|
+
"name": "getKeyLink",
|
6966
|
+
"type": {
|
6967
|
+
"text": "string"
|
6968
|
+
},
|
6969
|
+
"default": "'https://dashboard.cohere.ai/api-keys'",
|
6970
|
+
"inheritedFrom": {
|
6971
|
+
"name": "DirectServiceIO",
|
6972
|
+
"module": "src/services/utils/directServiceIO.ts"
|
6973
|
+
}
|
6974
|
+
},
|
6975
|
+
{
|
6976
|
+
"kind": "field",
|
6977
|
+
"name": "textInputPlaceholderText",
|
6978
|
+
"type": {
|
6979
|
+
"text": "string"
|
6980
|
+
},
|
6981
|
+
"default": "inputPlaceholder",
|
6982
|
+
"inheritedFrom": {
|
6983
|
+
"name": "CohereIO",
|
6984
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6995
6985
|
}
|
6996
6986
|
},
|
6997
6987
|
{
|
6998
|
-
"kind": "
|
6999
|
-
"name": "
|
7000
|
-
"
|
7001
|
-
"
|
7002
|
-
"text": "Promise<Result>"
|
7003
|
-
}
|
6988
|
+
"kind": "field",
|
6989
|
+
"name": "permittedErrorPrefixes",
|
6990
|
+
"type": {
|
6991
|
+
"text": "array"
|
7004
6992
|
},
|
7005
|
-
"
|
7006
|
-
{
|
7007
|
-
"name": "result",
|
7008
|
-
"type": {
|
7009
|
-
"text": "AzureTranslationResult"
|
7010
|
-
}
|
7011
|
-
}
|
7012
|
-
],
|
6993
|
+
"default": "['invalid']",
|
7013
6994
|
"inheritedFrom": {
|
7014
|
-
"name": "
|
7015
|
-
"module": "src/services/
|
6995
|
+
"name": "CohereIO",
|
6996
|
+
"module": "src/services/cohere/cohereIO.ts"
|
6997
|
+
}
|
6998
|
+
},
|
6999
|
+
{
|
7000
|
+
"kind": "field",
|
7001
|
+
"name": "url",
|
7002
|
+
"type": {
|
7003
|
+
"text": "string"
|
7004
|
+
},
|
7005
|
+
"default": "url",
|
7006
|
+
"inheritedFrom": {
|
7007
|
+
"name": "CohereIO",
|
7008
|
+
"module": "src/services/cohere/cohereIO.ts"
|
7016
7009
|
}
|
7017
7010
|
},
|
7018
7011
|
{
|
@@ -7441,18 +7434,18 @@
|
|
7441
7434
|
}
|
7442
7435
|
],
|
7443
7436
|
"superclass": {
|
7444
|
-
"name": "
|
7445
|
-
"module": "/src/services/
|
7437
|
+
"name": "CohereIO",
|
7438
|
+
"module": "/src/services/cohere/cohereIO"
|
7446
7439
|
}
|
7447
7440
|
}
|
7448
7441
|
],
|
7449
7442
|
"exports": [
|
7450
7443
|
{
|
7451
7444
|
"kind": "js",
|
7452
|
-
"name": "
|
7445
|
+
"name": "CohereTextGenerationIO",
|
7453
7446
|
"declaration": {
|
7454
|
-
"name": "
|
7455
|
-
"module": "src/services/
|
7447
|
+
"name": "CohereTextGenerationIO",
|
7448
|
+
"module": "src/services/cohere/cohereTextGenerationIO.ts"
|
7456
7449
|
}
|
7457
7450
|
}
|
7458
7451
|
]
|
@@ -23608,16 +23601,36 @@
|
|
23608
23601
|
},
|
23609
23602
|
{
|
23610
23603
|
"kind": "javascript-module",
|
23611
|
-
"path": "src/services/
|
23604
|
+
"path": "src/services/azure/utils/azureUtils.ts",
|
23612
23605
|
"declarations": [
|
23613
23606
|
{
|
23614
23607
|
"kind": "class",
|
23615
23608
|
"description": "",
|
23616
|
-
"name": "
|
23609
|
+
"name": "AzureUtils",
|
23617
23610
|
"members": [
|
23618
23611
|
{
|
23619
23612
|
"kind": "method",
|
23620
|
-
"name": "
|
23613
|
+
"name": "buildTextToSpeechHeaders",
|
23614
|
+
"privacy": "public",
|
23615
|
+
"static": true,
|
23616
|
+
"parameters": [
|
23617
|
+
{
|
23618
|
+
"name": "outputFormat",
|
23619
|
+
"type": {
|
23620
|
+
"text": "string"
|
23621
|
+
}
|
23622
|
+
},
|
23623
|
+
{
|
23624
|
+
"name": "key",
|
23625
|
+
"type": {
|
23626
|
+
"text": "string"
|
23627
|
+
}
|
23628
|
+
}
|
23629
|
+
]
|
23630
|
+
},
|
23631
|
+
{
|
23632
|
+
"kind": "method",
|
23633
|
+
"name": "buildSpeechToTextHeaders",
|
23621
23634
|
"privacy": "public",
|
23622
23635
|
"static": true,
|
23623
23636
|
"parameters": [
|
@@ -23631,7 +23644,7 @@
|
|
23631
23644
|
},
|
23632
23645
|
{
|
23633
23646
|
"kind": "method",
|
23634
|
-
"name": "
|
23647
|
+
"name": "handleSpeechVerificationResult",
|
23635
23648
|
"privacy": "private",
|
23636
23649
|
"static": true,
|
23637
23650
|
"parameters": [
|
@@ -23663,41 +23676,26 @@
|
|
23663
23676
|
},
|
23664
23677
|
{
|
23665
23678
|
"kind": "method",
|
23666
|
-
"name": "
|
23679
|
+
"name": "buildSpeechKeyVerificationDetails",
|
23667
23680
|
"privacy": "public",
|
23668
23681
|
"static": true,
|
23669
23682
|
"return": {
|
23670
23683
|
"type": {
|
23671
23684
|
"text": "KeyVerificationDetails"
|
23672
23685
|
}
|
23673
|
-
}
|
23674
|
-
|
23675
|
-
|
23676
|
-
|
23677
|
-
|
23678
|
-
|
23679
|
-
|
23680
|
-
|
23681
|
-
|
23682
|
-
|
23683
|
-
"name": "CohereUtils",
|
23684
|
-
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23685
|
-
}
|
23686
|
-
}
|
23687
|
-
]
|
23688
|
-
},
|
23689
|
-
{
|
23690
|
-
"kind": "javascript-module",
|
23691
|
-
"path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
|
23692
|
-
"declarations": [
|
23693
|
-
{
|
23694
|
-
"kind": "class",
|
23695
|
-
"description": "",
|
23696
|
-
"name": "HuggingFaceUtils",
|
23697
|
-
"members": [
|
23686
|
+
},
|
23687
|
+
"parameters": [
|
23688
|
+
{
|
23689
|
+
"name": "region",
|
23690
|
+
"type": {
|
23691
|
+
"text": "string"
|
23692
|
+
}
|
23693
|
+
}
|
23694
|
+
]
|
23695
|
+
},
|
23698
23696
|
{
|
23699
23697
|
"kind": "method",
|
23700
|
-
"name": "
|
23698
|
+
"name": "buildSummarizationHeader",
|
23701
23699
|
"privacy": "public",
|
23702
23700
|
"static": true,
|
23703
23701
|
"parameters": [
|
@@ -23711,7 +23709,7 @@
|
|
23711
23709
|
},
|
23712
23710
|
{
|
23713
23711
|
"kind": "method",
|
23714
|
-
"name": "
|
23712
|
+
"name": "handleLanguageVerificationResult",
|
23715
23713
|
"privacy": "private",
|
23716
23714
|
"static": true,
|
23717
23715
|
"parameters": [
|
@@ -23743,66 +23741,17 @@
|
|
23743
23741
|
},
|
23744
23742
|
{
|
23745
23743
|
"kind": "method",
|
23746
|
-
"name": "
|
23744
|
+
"name": "buildLanguageKeyVerificationDetails",
|
23747
23745
|
"privacy": "public",
|
23748
23746
|
"static": true,
|
23749
23747
|
"return": {
|
23750
23748
|
"type": {
|
23751
23749
|
"text": "KeyVerificationDetails"
|
23752
23750
|
}
|
23753
|
-
}
|
23754
|
-
}
|
23755
|
-
]
|
23756
|
-
}
|
23757
|
-
],
|
23758
|
-
"exports": [
|
23759
|
-
{
|
23760
|
-
"kind": "js",
|
23761
|
-
"name": "HuggingFaceUtils",
|
23762
|
-
"declaration": {
|
23763
|
-
"name": "HuggingFaceUtils",
|
23764
|
-
"module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
|
23765
|
-
}
|
23766
|
-
}
|
23767
|
-
]
|
23768
|
-
},
|
23769
|
-
{
|
23770
|
-
"kind": "javascript-module",
|
23771
|
-
"path": "src/services/azure/utils/azureUtils.ts",
|
23772
|
-
"declarations": [
|
23773
|
-
{
|
23774
|
-
"kind": "class",
|
23775
|
-
"description": "",
|
23776
|
-
"name": "AzureUtils",
|
23777
|
-
"members": [
|
23778
|
-
{
|
23779
|
-
"kind": "method",
|
23780
|
-
"name": "buildTextToSpeechHeaders",
|
23781
|
-
"privacy": "public",
|
23782
|
-
"static": true,
|
23783
|
-
"parameters": [
|
23784
|
-
{
|
23785
|
-
"name": "outputFormat",
|
23786
|
-
"type": {
|
23787
|
-
"text": "string"
|
23788
|
-
}
|
23789
|
-
},
|
23790
|
-
{
|
23791
|
-
"name": "key",
|
23792
|
-
"type": {
|
23793
|
-
"text": "string"
|
23794
|
-
}
|
23795
|
-
}
|
23796
|
-
]
|
23797
|
-
},
|
23798
|
-
{
|
23799
|
-
"kind": "method",
|
23800
|
-
"name": "buildSpeechToTextHeaders",
|
23801
|
-
"privacy": "public",
|
23802
|
-
"static": true,
|
23751
|
+
},
|
23803
23752
|
"parameters": [
|
23804
23753
|
{
|
23805
|
-
"name": "
|
23754
|
+
"name": "endpoint",
|
23806
23755
|
"type": {
|
23807
23756
|
"text": "string"
|
23808
23757
|
}
|
@@ -23811,7 +23760,7 @@
|
|
23811
23760
|
},
|
23812
23761
|
{
|
23813
23762
|
"kind": "method",
|
23814
|
-
"name": "
|
23763
|
+
"name": "handleTranslationVerificationResult",
|
23815
23764
|
"privacy": "private",
|
23816
23765
|
"static": true,
|
23817
23766
|
"parameters": [
|
@@ -23843,7 +23792,7 @@
|
|
23843
23792
|
},
|
23844
23793
|
{
|
23845
23794
|
"kind": "method",
|
23846
|
-
"name": "
|
23795
|
+
"name": "buildTranslationKeyVerificationDetails",
|
23847
23796
|
"privacy": "public",
|
23848
23797
|
"static": true,
|
23849
23798
|
"return": {
|
@@ -23854,6 +23803,7 @@
|
|
23854
23803
|
"parameters": [
|
23855
23804
|
{
|
23856
23805
|
"name": "region",
|
23806
|
+
"optional": true,
|
23857
23807
|
"type": {
|
23858
23808
|
"text": "string"
|
23859
23809
|
}
|
@@ -23862,7 +23812,50 @@
|
|
23862
23812
|
},
|
23863
23813
|
{
|
23864
23814
|
"kind": "method",
|
23865
|
-
"name": "
|
23815
|
+
"name": "buildTranslationHeaders",
|
23816
|
+
"privacy": "public",
|
23817
|
+
"static": true,
|
23818
|
+
"parameters": [
|
23819
|
+
{
|
23820
|
+
"name": "region",
|
23821
|
+
"type": {
|
23822
|
+
"text": "string | undefined"
|
23823
|
+
}
|
23824
|
+
},
|
23825
|
+
{
|
23826
|
+
"name": "key",
|
23827
|
+
"type": {
|
23828
|
+
"text": "string"
|
23829
|
+
}
|
23830
|
+
}
|
23831
|
+
]
|
23832
|
+
}
|
23833
|
+
]
|
23834
|
+
}
|
23835
|
+
],
|
23836
|
+
"exports": [
|
23837
|
+
{
|
23838
|
+
"kind": "js",
|
23839
|
+
"name": "AzureUtils",
|
23840
|
+
"declaration": {
|
23841
|
+
"name": "AzureUtils",
|
23842
|
+
"module": "src/services/azure/utils/azureUtils.ts"
|
23843
|
+
}
|
23844
|
+
}
|
23845
|
+
]
|
23846
|
+
},
|
23847
|
+
{
|
23848
|
+
"kind": "javascript-module",
|
23849
|
+
"path": "src/services/cohere/utils/cohereUtils.ts",
|
23850
|
+
"declarations": [
|
23851
|
+
{
|
23852
|
+
"kind": "class",
|
23853
|
+
"description": "",
|
23854
|
+
"name": "CohereUtils",
|
23855
|
+
"members": [
|
23856
|
+
{
|
23857
|
+
"kind": "method",
|
23858
|
+
"name": "buildHeaders",
|
23866
23859
|
"privacy": "public",
|
23867
23860
|
"static": true,
|
23868
23861
|
"parameters": [
|
@@ -23876,7 +23869,7 @@
|
|
23876
23869
|
},
|
23877
23870
|
{
|
23878
23871
|
"kind": "method",
|
23879
|
-
"name": "
|
23872
|
+
"name": "handleVerificationResult",
|
23880
23873
|
"privacy": "private",
|
23881
23874
|
"static": true,
|
23882
23875
|
"parameters": [
|
@@ -23908,17 +23901,46 @@
|
|
23908
23901
|
},
|
23909
23902
|
{
|
23910
23903
|
"kind": "method",
|
23911
|
-
"name": "
|
23904
|
+
"name": "buildKeyVerificationDetails",
|
23905
|
+
"privacy": "public",
|
23906
|
+
"static": true,
|
23907
|
+
"return": {
|
23908
|
+
"type": {
|
23909
|
+
"text": "KeyVerificationDetails"
|
23910
|
+
}
|
23911
|
+
}
|
23912
|
+
}
|
23913
|
+
]
|
23914
|
+
}
|
23915
|
+
],
|
23916
|
+
"exports": [
|
23917
|
+
{
|
23918
|
+
"kind": "js",
|
23919
|
+
"name": "CohereUtils",
|
23920
|
+
"declaration": {
|
23921
|
+
"name": "CohereUtils",
|
23922
|
+
"module": "src/services/cohere/utils/cohereUtils.ts"
|
23923
|
+
}
|
23924
|
+
}
|
23925
|
+
]
|
23926
|
+
},
|
23927
|
+
{
|
23928
|
+
"kind": "javascript-module",
|
23929
|
+
"path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
|
23930
|
+
"declarations": [
|
23931
|
+
{
|
23932
|
+
"kind": "class",
|
23933
|
+
"description": "",
|
23934
|
+
"name": "HuggingFaceUtils",
|
23935
|
+
"members": [
|
23936
|
+
{
|
23937
|
+
"kind": "method",
|
23938
|
+
"name": "buildHeaders",
|
23912
23939
|
"privacy": "public",
|
23913
23940
|
"static": true,
|
23914
|
-
"return": {
|
23915
|
-
"type": {
|
23916
|
-
"text": "KeyVerificationDetails"
|
23917
|
-
}
|
23918
|
-
},
|
23919
23941
|
"parameters": [
|
23920
23942
|
{
|
23921
|
-
"name": "
|
23943
|
+
"name": "key",
|
23922
23944
|
"type": {
|
23923
23945
|
"text": "string"
|
23924
23946
|
}
|
@@ -23927,7 +23949,7 @@
|
|
23927
23949
|
},
|
23928
23950
|
{
|
23929
23951
|
"kind": "method",
|
23930
|
-
"name": "
|
23952
|
+
"name": "handleVerificationResult",
|
23931
23953
|
"privacy": "private",
|
23932
23954
|
"static": true,
|
23933
23955
|
"parameters": [
|
@@ -23959,43 +23981,14 @@
|
|
23959
23981
|
},
|
23960
23982
|
{
|
23961
23983
|
"kind": "method",
|
23962
|
-
"name": "
|
23984
|
+
"name": "buildKeyVerificationDetails",
|
23963
23985
|
"privacy": "public",
|
23964
23986
|
"static": true,
|
23965
23987
|
"return": {
|
23966
23988
|
"type": {
|
23967
23989
|
"text": "KeyVerificationDetails"
|
23968
23990
|
}
|
23969
|
-
}
|
23970
|
-
"parameters": [
|
23971
|
-
{
|
23972
|
-
"name": "region",
|
23973
|
-
"optional": true,
|
23974
|
-
"type": {
|
23975
|
-
"text": "string"
|
23976
|
-
}
|
23977
|
-
}
|
23978
|
-
]
|
23979
|
-
},
|
23980
|
-
{
|
23981
|
-
"kind": "method",
|
23982
|
-
"name": "buildTranslationHeaders",
|
23983
|
-
"privacy": "public",
|
23984
|
-
"static": true,
|
23985
|
-
"parameters": [
|
23986
|
-
{
|
23987
|
-
"name": "region",
|
23988
|
-
"type": {
|
23989
|
-
"text": "string | undefined"
|
23990
|
-
}
|
23991
|
-
},
|
23992
|
-
{
|
23993
|
-
"name": "key",
|
23994
|
-
"type": {
|
23995
|
-
"text": "string"
|
23996
|
-
}
|
23997
|
-
}
|
23998
|
-
]
|
23991
|
+
}
|
23999
23992
|
}
|
24000
23993
|
]
|
24001
23994
|
}
|
@@ -24003,10 +23996,10 @@
|
|
24003
23996
|
"exports": [
|
24004
23997
|
{
|
24005
23998
|
"kind": "js",
|
24006
|
-
"name": "
|
23999
|
+
"name": "HuggingFaceUtils",
|
24007
24000
|
"declaration": {
|
24008
|
-
"name": "
|
24009
|
-
"module": "src/services/
|
24001
|
+
"name": "HuggingFaceUtils",
|
24002
|
+
"module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
|
24010
24003
|
}
|
24011
24004
|
}
|
24012
24005
|
]
|
@@ -24444,105 +24437,6 @@
|
|
24444
24437
|
}
|
24445
24438
|
]
|
24446
24439
|
},
|
24447
|
-
{
|
24448
|
-
"kind": "javascript-module",
|
24449
|
-
"path": "src/views/chat/introPanel/introPanel.ts",
|
24450
|
-
"declarations": [
|
24451
|
-
{
|
24452
|
-
"kind": "class",
|
24453
|
-
"description": "",
|
24454
|
-
"name": "IntroPanel",
|
24455
|
-
"members": [
|
24456
|
-
{
|
24457
|
-
"kind": "field",
|
24458
|
-
"name": "_elementRef",
|
24459
|
-
"type": {
|
24460
|
-
"text": "HTMLElement | undefined"
|
24461
|
-
}
|
24462
|
-
},
|
24463
|
-
{
|
24464
|
-
"kind": "field",
|
24465
|
-
"name": "_isDisplayed",
|
24466
|
-
"type": {
|
24467
|
-
"text": "boolean"
|
24468
|
-
},
|
24469
|
-
"privacy": "private",
|
24470
|
-
"default": "false"
|
24471
|
-
},
|
24472
|
-
{
|
24473
|
-
"kind": "method",
|
24474
|
-
"name": "createIntroPanel",
|
24475
|
-
"privacy": "private",
|
24476
|
-
"static": true,
|
24477
|
-
"parameters": [
|
24478
|
-
{
|
24479
|
-
"name": "introPanelStyle",
|
24480
|
-
"optional": true,
|
24481
|
-
"type": {
|
24482
|
-
"text": "CustomStyle"
|
24483
|
-
}
|
24484
|
-
}
|
24485
|
-
]
|
24486
|
-
},
|
24487
|
-
{
|
24488
|
-
"kind": "method",
|
24489
|
-
"name": "createIntroPanelWithChild",
|
24490
|
-
"privacy": "private",
|
24491
|
-
"parameters": [
|
24492
|
-
{
|
24493
|
-
"name": "childElement",
|
24494
|
-
"type": {
|
24495
|
-
"text": "HTMLElement"
|
24496
|
-
}
|
24497
|
-
},
|
24498
|
-
{
|
24499
|
-
"name": "introPanelStyle",
|
24500
|
-
"optional": true,
|
24501
|
-
"type": {
|
24502
|
-
"text": "CustomStyle"
|
24503
|
-
}
|
24504
|
-
}
|
24505
|
-
]
|
24506
|
-
},
|
24507
|
-
{
|
24508
|
-
"kind": "method",
|
24509
|
-
"name": "createInternalIntroPanel",
|
24510
|
-
"privacy": "private",
|
24511
|
-
"parameters": [
|
24512
|
-
{
|
24513
|
-
"name": "introPanelMarkUp",
|
24514
|
-
"type": {
|
24515
|
-
"text": "string"
|
24516
|
-
}
|
24517
|
-
},
|
24518
|
-
{
|
24519
|
-
"name": "introPanelStyle",
|
24520
|
-
"optional": true,
|
24521
|
-
"type": {
|
24522
|
-
"text": "CustomStyle"
|
24523
|
-
}
|
24524
|
-
}
|
24525
|
-
]
|
24526
|
-
},
|
24527
|
-
{
|
24528
|
-
"kind": "method",
|
24529
|
-
"name": "hide",
|
24530
|
-
"privacy": "public"
|
24531
|
-
}
|
24532
|
-
]
|
24533
|
-
}
|
24534
|
-
],
|
24535
|
-
"exports": [
|
24536
|
-
{
|
24537
|
-
"kind": "js",
|
24538
|
-
"name": "IntroPanel",
|
24539
|
-
"declaration": {
|
24540
|
-
"name": "IntroPanel",
|
24541
|
-
"module": "src/views/chat/introPanel/introPanel.ts"
|
24542
|
-
}
|
24543
|
-
}
|
24544
|
-
]
|
24545
|
-
},
|
24546
24440
|
{
|
24547
24441
|
"kind": "javascript-module",
|
24548
24442
|
"path": "src/views/chat/messages/avatar.ts",
|
@@ -25981,6 +25875,105 @@
|
|
25981
25875
|
}
|
25982
25876
|
]
|
25983
25877
|
},
|
25878
|
+
{
|
25879
|
+
"kind": "javascript-module",
|
25880
|
+
"path": "src/views/chat/introPanel/introPanel.ts",
|
25881
|
+
"declarations": [
|
25882
|
+
{
|
25883
|
+
"kind": "class",
|
25884
|
+
"description": "",
|
25885
|
+
"name": "IntroPanel",
|
25886
|
+
"members": [
|
25887
|
+
{
|
25888
|
+
"kind": "field",
|
25889
|
+
"name": "_elementRef",
|
25890
|
+
"type": {
|
25891
|
+
"text": "HTMLElement | undefined"
|
25892
|
+
}
|
25893
|
+
},
|
25894
|
+
{
|
25895
|
+
"kind": "field",
|
25896
|
+
"name": "_isDisplayed",
|
25897
|
+
"type": {
|
25898
|
+
"text": "boolean"
|
25899
|
+
},
|
25900
|
+
"privacy": "private",
|
25901
|
+
"default": "false"
|
25902
|
+
},
|
25903
|
+
{
|
25904
|
+
"kind": "method",
|
25905
|
+
"name": "createIntroPanel",
|
25906
|
+
"privacy": "private",
|
25907
|
+
"static": true,
|
25908
|
+
"parameters": [
|
25909
|
+
{
|
25910
|
+
"name": "introPanelStyle",
|
25911
|
+
"optional": true,
|
25912
|
+
"type": {
|
25913
|
+
"text": "CustomStyle"
|
25914
|
+
}
|
25915
|
+
}
|
25916
|
+
]
|
25917
|
+
},
|
25918
|
+
{
|
25919
|
+
"kind": "method",
|
25920
|
+
"name": "createIntroPanelWithChild",
|
25921
|
+
"privacy": "private",
|
25922
|
+
"parameters": [
|
25923
|
+
{
|
25924
|
+
"name": "childElement",
|
25925
|
+
"type": {
|
25926
|
+
"text": "HTMLElement"
|
25927
|
+
}
|
25928
|
+
},
|
25929
|
+
{
|
25930
|
+
"name": "introPanelStyle",
|
25931
|
+
"optional": true,
|
25932
|
+
"type": {
|
25933
|
+
"text": "CustomStyle"
|
25934
|
+
}
|
25935
|
+
}
|
25936
|
+
]
|
25937
|
+
},
|
25938
|
+
{
|
25939
|
+
"kind": "method",
|
25940
|
+
"name": "createInternalIntroPanel",
|
25941
|
+
"privacy": "private",
|
25942
|
+
"parameters": [
|
25943
|
+
{
|
25944
|
+
"name": "introPanelMarkUp",
|
25945
|
+
"type": {
|
25946
|
+
"text": "string"
|
25947
|
+
}
|
25948
|
+
},
|
25949
|
+
{
|
25950
|
+
"name": "introPanelStyle",
|
25951
|
+
"optional": true,
|
25952
|
+
"type": {
|
25953
|
+
"text": "CustomStyle"
|
25954
|
+
}
|
25955
|
+
}
|
25956
|
+
]
|
25957
|
+
},
|
25958
|
+
{
|
25959
|
+
"kind": "method",
|
25960
|
+
"name": "hide",
|
25961
|
+
"privacy": "public"
|
25962
|
+
}
|
25963
|
+
]
|
25964
|
+
}
|
25965
|
+
],
|
25966
|
+
"exports": [
|
25967
|
+
{
|
25968
|
+
"kind": "js",
|
25969
|
+
"name": "IntroPanel",
|
25970
|
+
"declaration": {
|
25971
|
+
"name": "IntroPanel",
|
25972
|
+
"module": "src/views/chat/introPanel/introPanel.ts"
|
25973
|
+
}
|
25974
|
+
}
|
25975
|
+
]
|
25976
|
+
},
|
25984
25977
|
{
|
25985
25978
|
"kind": "javascript-module",
|
25986
25979
|
"path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
|