deep-chat-dev 9.0.168 → 9.0.170

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.
@@ -907,6 +907,336 @@
907
907
  }
908
908
  ]
909
909
  },
910
+ {
911
+ "kind": "javascript-module",
912
+ "path": "src/types/APIKey.ts",
913
+ "declarations": [],
914
+ "exports": []
915
+ },
916
+ {
917
+ "kind": "javascript-module",
918
+ "path": "src/types/GCP.ts",
919
+ "declarations": [],
920
+ "exports": []
921
+ },
922
+ {
923
+ "kind": "javascript-module",
924
+ "path": "src/types/assemblyAI.ts",
925
+ "declarations": [],
926
+ "exports": []
927
+ },
928
+ {
929
+ "kind": "javascript-module",
930
+ "path": "src/types/assemblyAIResult.ts",
931
+ "declarations": [],
932
+ "exports": []
933
+ },
934
+ {
935
+ "kind": "javascript-module",
936
+ "path": "src/types/avatars.ts",
937
+ "declarations": [],
938
+ "exports": []
939
+ },
940
+ {
941
+ "kind": "javascript-module",
942
+ "path": "src/types/azure.ts",
943
+ "declarations": [],
944
+ "exports": []
945
+ },
946
+ {
947
+ "kind": "javascript-module",
948
+ "path": "src/types/azureResult.ts",
949
+ "declarations": [],
950
+ "exports": []
951
+ },
952
+ {
953
+ "kind": "javascript-module",
954
+ "path": "src/types/button.ts",
955
+ "declarations": [],
956
+ "exports": []
957
+ },
958
+ {
959
+ "kind": "javascript-module",
960
+ "path": "src/types/buttonInternal.ts",
961
+ "declarations": [],
962
+ "exports": []
963
+ },
964
+ {
965
+ "kind": "javascript-module",
966
+ "path": "src/types/buttonTypes.ts",
967
+ "declarations": [],
968
+ "exports": []
969
+ },
970
+ {
971
+ "kind": "javascript-module",
972
+ "path": "src/types/camera.ts",
973
+ "declarations": [],
974
+ "exports": []
975
+ },
976
+ {
977
+ "kind": "javascript-module",
978
+ "path": "src/types/chatLimits.ts",
979
+ "declarations": [],
980
+ "exports": []
981
+ },
982
+ {
983
+ "kind": "javascript-module",
984
+ "path": "src/types/cohere.ts",
985
+ "declarations": [],
986
+ "exports": []
987
+ },
988
+ {
989
+ "kind": "javascript-module",
990
+ "path": "src/types/cohereResult.ts",
991
+ "declarations": [],
992
+ "exports": []
993
+ },
994
+ {
995
+ "kind": "javascript-module",
996
+ "path": "src/types/connect.ts",
997
+ "declarations": [],
998
+ "exports": []
999
+ },
1000
+ {
1001
+ "kind": "javascript-module",
1002
+ "path": "src/types/demo.ts",
1003
+ "declarations": [],
1004
+ "exports": []
1005
+ },
1006
+ {
1007
+ "kind": "javascript-module",
1008
+ "path": "src/types/directConnection.ts",
1009
+ "declarations": [],
1010
+ "exports": []
1011
+ },
1012
+ {
1013
+ "kind": "javascript-module",
1014
+ "path": "src/types/dropupStyles.ts",
1015
+ "declarations": [],
1016
+ "exports": []
1017
+ },
1018
+ {
1019
+ "kind": "javascript-module",
1020
+ "path": "src/types/error.ts",
1021
+ "declarations": [],
1022
+ "exports": []
1023
+ },
1024
+ {
1025
+ "kind": "javascript-module",
1026
+ "path": "src/types/fileAttachments.ts",
1027
+ "declarations": [],
1028
+ "exports": []
1029
+ },
1030
+ {
1031
+ "kind": "javascript-module",
1032
+ "path": "src/types/fileServiceConfigs.ts",
1033
+ "declarations": [],
1034
+ "exports": []
1035
+ },
1036
+ {
1037
+ "kind": "javascript-module",
1038
+ "path": "src/types/fileTypes.ts",
1039
+ "declarations": [],
1040
+ "exports": []
1041
+ },
1042
+ {
1043
+ "kind": "javascript-module",
1044
+ "path": "src/types/genericInputButton.ts",
1045
+ "declarations": [],
1046
+ "exports": []
1047
+ },
1048
+ {
1049
+ "kind": "javascript-module",
1050
+ "path": "src/types/handler.ts",
1051
+ "declarations": [],
1052
+ "exports": []
1053
+ },
1054
+ {
1055
+ "kind": "javascript-module",
1056
+ "path": "src/types/headers.ts",
1057
+ "declarations": [],
1058
+ "exports": []
1059
+ },
1060
+ {
1061
+ "kind": "javascript-module",
1062
+ "path": "src/types/html.ts",
1063
+ "declarations": [],
1064
+ "exports": []
1065
+ },
1066
+ {
1067
+ "kind": "javascript-module",
1068
+ "path": "src/types/huggingFace.ts",
1069
+ "declarations": [],
1070
+ "exports": []
1071
+ },
1072
+ {
1073
+ "kind": "javascript-module",
1074
+ "path": "src/types/huggingFaceResult.ts",
1075
+ "declarations": [],
1076
+ "exports": []
1077
+ },
1078
+ {
1079
+ "kind": "javascript-module",
1080
+ "path": "src/types/insertKeyViewStyles.ts",
1081
+ "declarations": [],
1082
+ "exports": []
1083
+ },
1084
+ {
1085
+ "kind": "javascript-module",
1086
+ "path": "src/types/interceptors.ts",
1087
+ "declarations": [],
1088
+ "exports": []
1089
+ },
1090
+ {
1091
+ "kind": "javascript-module",
1092
+ "path": "src/types/keyVerificationDetails.ts",
1093
+ "declarations": [],
1094
+ "exports": []
1095
+ },
1096
+ {
1097
+ "kind": "javascript-module",
1098
+ "path": "src/types/messageFile.ts",
1099
+ "declarations": [],
1100
+ "exports": []
1101
+ },
1102
+ {
1103
+ "kind": "javascript-module",
1104
+ "path": "src/types/messages.ts",
1105
+ "declarations": [],
1106
+ "exports": []
1107
+ },
1108
+ {
1109
+ "kind": "javascript-module",
1110
+ "path": "src/types/messagesInternal.ts",
1111
+ "declarations": [],
1112
+ "exports": []
1113
+ },
1114
+ {
1115
+ "kind": "javascript-module",
1116
+ "path": "src/types/microphone.ts",
1117
+ "declarations": [],
1118
+ "exports": []
1119
+ },
1120
+ {
1121
+ "kind": "javascript-module",
1122
+ "path": "src/types/mistral.ts",
1123
+ "declarations": [],
1124
+ "exports": []
1125
+ },
1126
+ {
1127
+ "kind": "javascript-module",
1128
+ "path": "src/types/names.ts",
1129
+ "declarations": [],
1130
+ "exports": []
1131
+ },
1132
+ {
1133
+ "kind": "javascript-module",
1134
+ "path": "src/types/object.ts",
1135
+ "declarations": [],
1136
+ "exports": []
1137
+ },
1138
+ {
1139
+ "kind": "javascript-module",
1140
+ "path": "src/types/openAI.ts",
1141
+ "declarations": [],
1142
+ "exports": []
1143
+ },
1144
+ {
1145
+ "kind": "javascript-module",
1146
+ "path": "src/types/openAIInternal.ts",
1147
+ "declarations": [],
1148
+ "exports": []
1149
+ },
1150
+ {
1151
+ "kind": "javascript-module",
1152
+ "path": "src/types/openAIResult.ts",
1153
+ "declarations": [],
1154
+ "exports": []
1155
+ },
1156
+ {
1157
+ "kind": "javascript-module",
1158
+ "path": "src/types/permittedErrorMessage.ts",
1159
+ "declarations": [],
1160
+ "exports": []
1161
+ },
1162
+ {
1163
+ "kind": "javascript-module",
1164
+ "path": "src/types/response.ts",
1165
+ "declarations": [],
1166
+ "exports": []
1167
+ },
1168
+ {
1169
+ "kind": "javascript-module",
1170
+ "path": "src/types/responseInternal.ts",
1171
+ "declarations": [],
1172
+ "exports": []
1173
+ },
1174
+ {
1175
+ "kind": "javascript-module",
1176
+ "path": "src/types/stabilityAI.ts",
1177
+ "declarations": [],
1178
+ "exports": []
1179
+ },
1180
+ {
1181
+ "kind": "javascript-module",
1182
+ "path": "src/types/stabilityAIResult.ts",
1183
+ "declarations": [],
1184
+ "exports": []
1185
+ },
1186
+ {
1187
+ "kind": "javascript-module",
1188
+ "path": "src/types/stream.ts",
1189
+ "declarations": [],
1190
+ "exports": []
1191
+ },
1192
+ {
1193
+ "kind": "javascript-module",
1194
+ "path": "src/types/styles.ts",
1195
+ "declarations": [],
1196
+ "exports": []
1197
+ },
1198
+ {
1199
+ "kind": "javascript-module",
1200
+ "path": "src/types/submitButton.ts",
1201
+ "declarations": [],
1202
+ "exports": []
1203
+ },
1204
+ {
1205
+ "kind": "javascript-module",
1206
+ "path": "src/types/textInput.ts",
1207
+ "declarations": [],
1208
+ "exports": []
1209
+ },
1210
+ {
1211
+ "kind": "javascript-module",
1212
+ "path": "src/types/textToSpeech.ts",
1213
+ "declarations": [],
1214
+ "exports": []
1215
+ },
1216
+ {
1217
+ "kind": "javascript-module",
1218
+ "path": "src/types/typeConverters.ts",
1219
+ "declarations": [],
1220
+ "exports": []
1221
+ },
1222
+ {
1223
+ "kind": "javascript-module",
1224
+ "path": "src/types/utilityTypes.ts",
1225
+ "declarations": [],
1226
+ "exports": []
1227
+ },
1228
+ {
1229
+ "kind": "javascript-module",
1230
+ "path": "src/types/validateInput.ts",
1231
+ "declarations": [],
1232
+ "exports": []
1233
+ },
1234
+ {
1235
+ "kind": "javascript-module",
1236
+ "path": "src/types/validationHandler.ts",
1237
+ "declarations": [],
1238
+ "exports": []
1239
+ },
910
1240
  {
911
1241
  "kind": "javascript-module",
912
1242
  "path": "src/webModel/webModel.ts",
@@ -2019,333 +2349,46 @@
2019
2349
  },
2020
2350
  {
2021
2351
  "kind": "javascript-module",
2022
- "path": "src/types/APIKey.ts",
2023
- "declarations": [],
2024
- "exports": []
2025
- },
2026
- {
2027
- "kind": "javascript-module",
2028
- "path": "src/types/GCP.ts",
2029
- "declarations": [],
2030
- "exports": []
2031
- },
2032
- {
2033
- "kind": "javascript-module",
2034
- "path": "src/types/assemblyAI.ts",
2035
- "declarations": [],
2036
- "exports": []
2037
- },
2038
- {
2039
- "kind": "javascript-module",
2040
- "path": "src/types/assemblyAIResult.ts",
2041
- "declarations": [],
2042
- "exports": []
2043
- },
2044
- {
2045
- "kind": "javascript-module",
2046
- "path": "src/types/avatars.ts",
2047
- "declarations": [],
2048
- "exports": []
2049
- },
2050
- {
2051
- "kind": "javascript-module",
2052
- "path": "src/types/azure.ts",
2053
- "declarations": [],
2054
- "exports": []
2055
- },
2056
- {
2057
- "kind": "javascript-module",
2058
- "path": "src/types/azureResult.ts",
2059
- "declarations": [],
2060
- "exports": []
2061
- },
2062
- {
2063
- "kind": "javascript-module",
2064
- "path": "src/types/button.ts",
2065
- "declarations": [],
2066
- "exports": []
2067
- },
2068
- {
2069
- "kind": "javascript-module",
2070
- "path": "src/types/buttonInternal.ts",
2071
- "declarations": [],
2072
- "exports": []
2073
- },
2074
- {
2075
- "kind": "javascript-module",
2076
- "path": "src/types/buttonTypes.ts",
2077
- "declarations": [],
2078
- "exports": []
2079
- },
2080
- {
2081
- "kind": "javascript-module",
2082
- "path": "src/types/camera.ts",
2083
- "declarations": [],
2084
- "exports": []
2085
- },
2086
- {
2087
- "kind": "javascript-module",
2088
- "path": "src/types/chatLimits.ts",
2089
- "declarations": [],
2090
- "exports": []
2091
- },
2092
- {
2093
- "kind": "javascript-module",
2094
- "path": "src/types/cohere.ts",
2095
- "declarations": [],
2096
- "exports": []
2097
- },
2098
- {
2099
- "kind": "javascript-module",
2100
- "path": "src/types/cohereResult.ts",
2101
- "declarations": [],
2102
- "exports": []
2103
- },
2104
- {
2105
- "kind": "javascript-module",
2106
- "path": "src/types/connect.ts",
2107
- "declarations": [],
2108
- "exports": []
2109
- },
2110
- {
2111
- "kind": "javascript-module",
2112
- "path": "src/types/demo.ts",
2113
- "declarations": [],
2114
- "exports": []
2115
- },
2116
- {
2117
- "kind": "javascript-module",
2118
- "path": "src/types/directConnection.ts",
2119
- "declarations": [],
2120
- "exports": []
2121
- },
2122
- {
2123
- "kind": "javascript-module",
2124
- "path": "src/types/dropupStyles.ts",
2125
- "declarations": [],
2126
- "exports": []
2127
- },
2128
- {
2129
- "kind": "javascript-module",
2130
- "path": "src/types/error.ts",
2131
- "declarations": [],
2132
- "exports": []
2133
- },
2134
- {
2135
- "kind": "javascript-module",
2136
- "path": "src/types/fileAttachments.ts",
2137
- "declarations": [],
2138
- "exports": []
2139
- },
2140
- {
2141
- "kind": "javascript-module",
2142
- "path": "src/types/fileServiceConfigs.ts",
2143
- "declarations": [],
2144
- "exports": []
2145
- },
2146
- {
2147
- "kind": "javascript-module",
2148
- "path": "src/types/fileTypes.ts",
2149
- "declarations": [],
2150
- "exports": []
2151
- },
2152
- {
2153
- "kind": "javascript-module",
2154
- "path": "src/types/genericInputButton.ts",
2155
- "declarations": [],
2156
- "exports": []
2157
- },
2158
- {
2159
- "kind": "javascript-module",
2160
- "path": "src/types/handler.ts",
2161
- "declarations": [],
2162
- "exports": []
2163
- },
2164
- {
2165
- "kind": "javascript-module",
2166
- "path": "src/types/headers.ts",
2167
- "declarations": [],
2168
- "exports": []
2169
- },
2170
- {
2171
- "kind": "javascript-module",
2172
- "path": "src/types/html.ts",
2173
- "declarations": [],
2174
- "exports": []
2175
- },
2176
- {
2177
- "kind": "javascript-module",
2178
- "path": "src/types/huggingFace.ts",
2179
- "declarations": [],
2180
- "exports": []
2181
- },
2182
- {
2183
- "kind": "javascript-module",
2184
- "path": "src/types/huggingFaceResult.ts",
2185
- "declarations": [],
2186
- "exports": []
2187
- },
2188
- {
2189
- "kind": "javascript-module",
2190
- "path": "src/types/insertKeyViewStyles.ts",
2191
- "declarations": [],
2192
- "exports": []
2193
- },
2194
- {
2195
- "kind": "javascript-module",
2196
- "path": "src/types/interceptors.ts",
2197
- "declarations": [],
2198
- "exports": []
2199
- },
2200
- {
2201
- "kind": "javascript-module",
2202
- "path": "src/types/keyVerificationDetails.ts",
2203
- "declarations": [],
2204
- "exports": []
2205
- },
2206
- {
2207
- "kind": "javascript-module",
2208
- "path": "src/types/messageFile.ts",
2209
- "declarations": [],
2210
- "exports": []
2211
- },
2212
- {
2213
- "kind": "javascript-module",
2214
- "path": "src/types/messages.ts",
2215
- "declarations": [],
2216
- "exports": []
2217
- },
2218
- {
2219
- "kind": "javascript-module",
2220
- "path": "src/types/messagesInternal.ts",
2221
- "declarations": [],
2222
- "exports": []
2223
- },
2224
- {
2225
- "kind": "javascript-module",
2226
- "path": "src/types/microphone.ts",
2227
- "declarations": [],
2228
- "exports": []
2229
- },
2230
- {
2231
- "kind": "javascript-module",
2232
- "path": "src/types/mistral.ts",
2233
- "declarations": [],
2234
- "exports": []
2235
- },
2236
- {
2237
- "kind": "javascript-module",
2238
- "path": "src/types/names.ts",
2239
- "declarations": [],
2240
- "exports": []
2241
- },
2242
- {
2243
- "kind": "javascript-module",
2244
- "path": "src/types/object.ts",
2245
- "declarations": [],
2246
- "exports": []
2247
- },
2248
- {
2249
- "kind": "javascript-module",
2250
- "path": "src/types/openAI.ts",
2251
- "declarations": [],
2252
- "exports": []
2253
- },
2254
- {
2255
- "kind": "javascript-module",
2256
- "path": "src/types/openAIInternal.ts",
2257
- "declarations": [],
2258
- "exports": []
2259
- },
2260
- {
2261
- "kind": "javascript-module",
2262
- "path": "src/types/openAIResult.ts",
2263
- "declarations": [],
2264
- "exports": []
2265
- },
2266
- {
2267
- "kind": "javascript-module",
2268
- "path": "src/types/permittedErrorMessage.ts",
2269
- "declarations": [],
2270
- "exports": []
2271
- },
2272
- {
2273
- "kind": "javascript-module",
2274
- "path": "src/types/response.ts",
2275
- "declarations": [],
2276
- "exports": []
2277
- },
2278
- {
2279
- "kind": "javascript-module",
2280
- "path": "src/types/responseInternal.ts",
2281
- "declarations": [],
2282
- "exports": []
2283
- },
2284
- {
2285
- "kind": "javascript-module",
2286
- "path": "src/types/stabilityAI.ts",
2287
- "declarations": [],
2288
- "exports": []
2289
- },
2290
- {
2291
- "kind": "javascript-module",
2292
- "path": "src/types/stabilityAIResult.ts",
2293
- "declarations": [],
2294
- "exports": []
2295
- },
2296
- {
2297
- "kind": "javascript-module",
2298
- "path": "src/types/stream.ts",
2299
- "declarations": [],
2300
- "exports": []
2301
- },
2302
- {
2303
- "kind": "javascript-module",
2304
- "path": "src/types/styles.ts",
2305
- "declarations": [],
2306
- "exports": []
2307
- },
2308
- {
2309
- "kind": "javascript-module",
2310
- "path": "src/types/submitButton.ts",
2311
- "declarations": [],
2312
- "exports": []
2313
- },
2314
- {
2315
- "kind": "javascript-module",
2316
- "path": "src/types/textInput.ts",
2317
- "declarations": [],
2318
- "exports": []
2319
- },
2320
- {
2321
- "kind": "javascript-module",
2322
- "path": "src/types/textToSpeech.ts",
2323
- "declarations": [],
2324
- "exports": []
2325
- },
2326
- {
2327
- "kind": "javascript-module",
2328
- "path": "src/types/typeConverters.ts",
2329
- "declarations": [],
2330
- "exports": []
2331
- },
2332
- {
2333
- "kind": "javascript-module",
2334
- "path": "src/types/utilityTypes.ts",
2335
- "declarations": [],
2336
- "exports": []
2337
- },
2338
- {
2339
- "kind": "javascript-module",
2340
- "path": "src/types/validateInput.ts",
2341
- "declarations": [],
2342
- "exports": []
2343
- },
2344
- {
2345
- "kind": "javascript-module",
2346
- "path": "src/types/validationHandler.ts",
2347
- "declarations": [],
2348
- "exports": []
2352
+ "path": "src/views/error/errorView.ts",
2353
+ "declarations": [
2354
+ {
2355
+ "kind": "class",
2356
+ "description": "",
2357
+ "name": "ErrorView",
2358
+ "members": [
2359
+ {
2360
+ "kind": "method",
2361
+ "name": "render",
2362
+ "privacy": "public",
2363
+ "static": true,
2364
+ "parameters": [
2365
+ {
2366
+ "name": "containerElement",
2367
+ "type": {
2368
+ "text": "HTMLElement"
2369
+ }
2370
+ },
2371
+ {
2372
+ "name": "text",
2373
+ "type": {
2374
+ "text": "string"
2375
+ }
2376
+ }
2377
+ ]
2378
+ }
2379
+ ]
2380
+ }
2381
+ ],
2382
+ "exports": [
2383
+ {
2384
+ "kind": "js",
2385
+ "name": "ErrorView",
2386
+ "declaration": {
2387
+ "name": "ErrorView",
2388
+ "module": "src/views/error/errorView.ts"
2389
+ }
2390
+ }
2391
+ ]
2349
2392
  },
2350
2393
  {
2351
2394
  "kind": "javascript-module",
@@ -2430,49 +2473,6 @@
2430
2473
  }
2431
2474
  ]
2432
2475
  },
2433
- {
2434
- "kind": "javascript-module",
2435
- "path": "src/views/error/errorView.ts",
2436
- "declarations": [
2437
- {
2438
- "kind": "class",
2439
- "description": "",
2440
- "name": "ErrorView",
2441
- "members": [
2442
- {
2443
- "kind": "method",
2444
- "name": "render",
2445
- "privacy": "public",
2446
- "static": true,
2447
- "parameters": [
2448
- {
2449
- "name": "containerElement",
2450
- "type": {
2451
- "text": "HTMLElement"
2452
- }
2453
- },
2454
- {
2455
- "name": "text",
2456
- "type": {
2457
- "text": "string"
2458
- }
2459
- }
2460
- ]
2461
- }
2462
- ]
2463
- }
2464
- ],
2465
- "exports": [
2466
- {
2467
- "kind": "js",
2468
- "name": "ErrorView",
2469
- "declaration": {
2470
- "name": "ErrorView",
2471
- "module": "src/views/error/errorView.ts"
2472
- }
2473
- }
2474
- ]
2475
- },
2476
2476
  {
2477
2477
  "kind": "javascript-module",
2478
2478
  "path": "src/views/insertKey/insertKeyView.ts",
@@ -9871,84 +9871,95 @@
9871
9871
  },
9872
9872
  {
9873
9873
  "kind": "javascript-module",
9874
- "path": "src/services/mistral/mistralO.ts",
9874
+ "path": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts",
9875
9875
  "declarations": [
9876
9876
  {
9877
9877
  "kind": "class",
9878
9878
  "description": "",
9879
- "name": "MistralIO",
9879
+ "name": "HuggingFaceAudioClassificationIO",
9880
9880
  "members": [
9881
9881
  {
9882
- "kind": "field",
9883
- "name": "insertKeyPlaceholderText",
9884
- "type": {
9885
- "text": "string"
9882
+ "kind": "method",
9883
+ "name": "extractPollResultData",
9884
+ "return": {
9885
+ "type": {
9886
+ "text": "PollResult"
9887
+ }
9886
9888
  },
9887
- "default": "'Mistral API Key'",
9888
- "inheritedFrom": {
9889
- "name": "DirectServiceIO",
9890
- "module": "src/services/utils/directServiceIO.ts"
9891
- }
9889
+ "parameters": [
9890
+ {
9891
+ "name": "result",
9892
+ "type": {
9893
+ "text": "HuggingFaceClassificationResult"
9894
+ }
9895
+ }
9896
+ ]
9892
9897
  },
9893
9898
  {
9894
9899
  "kind": "field",
9895
- "name": "keyHelpUrl",
9900
+ "name": "isTextInputDisabled",
9896
9901
  "type": {
9897
- "text": "string"
9902
+ "text": "boolean"
9898
9903
  },
9899
- "default": "'https://console.mistral.ai/api-keys/'",
9904
+ "default": "true",
9900
9905
  "inheritedFrom": {
9901
- "name": "DirectServiceIO",
9902
- "module": "src/services/utils/directServiceIO.ts"
9906
+ "name": "HuggingFaceFileIO",
9907
+ "module": "src/services/huggingFace/huggingFaceFileIO.ts"
9903
9908
  }
9904
9909
  },
9905
- {
9906
- "kind": "field",
9907
- "name": "url",
9908
- "type": {
9909
- "text": "string"
9910
- },
9911
- "default": "'https://api.mistral.ai/v1/chat/completions'"
9912
- },
9913
- {
9914
- "kind": "field",
9915
- "name": "permittedErrorPrefixes",
9916
- "type": {
9917
- "text": "array"
9918
- },
9919
- "default": "['invalid']"
9920
- },
9921
9910
  {
9922
9911
  "kind": "method",
9923
- "name": "cleanConfig",
9912
+ "name": "canSendFile",
9924
9913
  "privacy": "private",
9914
+ "static": true,
9925
9915
  "parameters": [
9926
9916
  {
9927
- "name": "config",
9917
+ "name": "_",
9918
+ "optional": true,
9928
9919
  "type": {
9929
- "text": "Mistral & APIKey"
9920
+ "text": "string"
9921
+ }
9922
+ },
9923
+ {
9924
+ "name": "files",
9925
+ "optional": true,
9926
+ "type": {
9927
+ "text": "File[]"
9930
9928
  }
9931
9929
  }
9932
- ]
9930
+ ],
9931
+ "inheritedFrom": {
9932
+ "name": "HuggingFaceFileIO",
9933
+ "module": "src/services/huggingFace/huggingFaceFileIO.ts"
9934
+ }
9933
9935
  },
9934
9936
  {
9935
9937
  "kind": "method",
9936
9938
  "name": "preprocessBody",
9937
- "privacy": "private",
9938
9939
  "parameters": [
9939
9940
  {
9940
- "name": "body",
9941
+ "name": "_",
9941
9942
  "type": {
9942
- "text": "CohereChatConfig"
9943
+ "text": "{}"
9943
9944
  }
9944
9945
  },
9945
9946
  {
9946
- "name": "pMessages",
9947
+ "name": "__",
9947
9948
  "type": {
9948
9949
  "text": "MessageContentI[]"
9949
9950
  }
9951
+ },
9952
+ {
9953
+ "name": "files",
9954
+ "type": {
9955
+ "text": "File[]"
9956
+ }
9950
9957
  }
9951
- ]
9958
+ ],
9959
+ "inheritedFrom": {
9960
+ "name": "HuggingFaceIO",
9961
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
9962
+ }
9952
9963
  },
9953
9964
  {
9954
9965
  "kind": "method",
@@ -9961,10 +9972,17 @@
9961
9972
  }
9962
9973
  },
9963
9974
  {
9964
- "name": "pMessages",
9975
+ "name": "_",
9965
9976
  "type": {
9966
9977
  "text": "MessageContentI[]"
9967
9978
  }
9979
+ },
9980
+ {
9981
+ "name": "files",
9982
+ "optional": true,
9983
+ "type": {
9984
+ "text": "File[]"
9985
+ }
9968
9986
  }
9969
9987
  ],
9970
9988
  "inheritedFrom": {
@@ -9973,21 +9991,36 @@
9973
9991
  }
9974
9992
  },
9975
9993
  {
9976
- "kind": "method",
9977
- "name": "extractResultData",
9978
- "return": {
9979
- "type": {
9980
- "text": "Promise<Response>"
9981
- }
9982
- },
9994
+ "kind": "field",
9995
+ "name": "canSendMessage",
9996
+ "privacy": "private",
9997
+ "static": true,
9983
9998
  "parameters": [
9984
9999
  {
9985
- "name": "result",
10000
+ "name": "text",
10001
+ "optional": true,
9986
10002
  "type": {
9987
- "text": "CohereChatResult"
10003
+ "text": "string"
10004
+ }
10005
+ },
10006
+ {
10007
+ "name": "files",
10008
+ "optional": true,
10009
+ "type": {
10010
+ "text": "File[]"
10011
+ }
10012
+ },
10013
+ {
10014
+ "name": "isProgrammatic",
10015
+ "optional": true,
10016
+ "type": {
10017
+ "text": "boolean"
9988
10018
  }
9989
10019
  }
9990
10020
  ],
10021
+ "type": {
10022
+ "text": "ValidateInput"
10023
+ },
9991
10024
  "inheritedFrom": {
9992
10025
  "name": "BaseServiceIO",
9993
10026
  "module": "src/services/utils/baseServiceIO.ts"
@@ -9995,23 +10028,87 @@
9995
10028
  },
9996
10029
  {
9997
10030
  "kind": "field",
9998
- "name": "maxMessages",
10031
+ "name": "insertKeyPlaceholderText",
9999
10032
  "type": {
10000
- "text": "number | undefined"
10033
+ "text": "string"
10001
10034
  },
10002
- "default": "-1",
10035
+ "default": "'Hugging Face Token'",
10003
10036
  "inheritedFrom": {
10004
- "name": "BaseServiceIO",
10005
- "module": "src/services/utils/baseServiceIO.ts"
10037
+ "name": "DirectServiceIO",
10038
+ "module": "src/services/utils/directServiceIO.ts"
10006
10039
  }
10007
10040
  },
10008
10041
  {
10009
10042
  "kind": "field",
10010
- "name": "model",
10043
+ "name": "keyHelpUrl",
10011
10044
  "type": {
10012
10045
  "text": "string"
10013
10046
  },
10014
- "default": "'open-mistral-7b'"
10047
+ "default": "'https://huggingface.co/settings/tokens'",
10048
+ "inheritedFrom": {
10049
+ "name": "DirectServiceIO",
10050
+ "module": "src/services/utils/directServiceIO.ts"
10051
+ }
10052
+ },
10053
+ {
10054
+ "kind": "field",
10055
+ "name": "URL_PREFIX",
10056
+ "type": {
10057
+ "text": "string"
10058
+ },
10059
+ "privacy": "private",
10060
+ "static": true,
10061
+ "readonly": true,
10062
+ "default": "'https://api-inference.huggingface.co/models/'",
10063
+ "inheritedFrom": {
10064
+ "name": "HuggingFaceIO",
10065
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
10066
+ }
10067
+ },
10068
+ {
10069
+ "kind": "field",
10070
+ "name": "introPanelMarkUp",
10071
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
10072
+ "inheritedFrom": {
10073
+ "name": "HuggingFaceIO",
10074
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
10075
+ }
10076
+ },
10077
+ {
10078
+ "kind": "field",
10079
+ "name": "permittedErrorPrefixes",
10080
+ "type": {
10081
+ "text": "array"
10082
+ },
10083
+ "default": "['Authorization header']",
10084
+ "inheritedFrom": {
10085
+ "name": "HuggingFaceIO",
10086
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
10087
+ }
10088
+ },
10089
+ {
10090
+ "kind": "field",
10091
+ "name": "url",
10092
+ "type": {
10093
+ "text": "string"
10094
+ },
10095
+ "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
10096
+ "inheritedFrom": {
10097
+ "name": "HuggingFaceIO",
10098
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
10099
+ }
10100
+ },
10101
+ {
10102
+ "kind": "field",
10103
+ "name": "textInputPlaceholderText",
10104
+ "type": {
10105
+ "text": "string"
10106
+ },
10107
+ "default": "textInputPlaceholderText",
10108
+ "inheritedFrom": {
10109
+ "name": "HuggingFaceIO",
10110
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
10111
+ }
10015
10112
  },
10016
10113
  {
10017
10114
  "kind": "field",
@@ -10209,35 +10306,11 @@
10209
10306
  },
10210
10307
  {
10211
10308
  "kind": "field",
10212
- "name": "canSendMessage",
10213
- "privacy": "private",
10214
- "static": true,
10215
- "parameters": [
10216
- {
10217
- "name": "text",
10218
- "optional": true,
10219
- "type": {
10220
- "text": "string"
10221
- }
10222
- },
10223
- {
10224
- "name": "files",
10225
- "optional": true,
10226
- "type": {
10227
- "text": "File[]"
10228
- }
10229
- },
10230
- {
10231
- "name": "isProgrammatic",
10232
- "optional": true,
10233
- "type": {
10234
- "text": "boolean"
10235
- }
10236
- }
10237
- ],
10309
+ "name": "fileTypes",
10238
10310
  "type": {
10239
- "text": "ValidateInput"
10311
+ "text": "ServiceFileTypes"
10240
10312
  },
10313
+ "default": "{}",
10241
10314
  "inheritedFrom": {
10242
10315
  "name": "BaseServiceIO",
10243
10316
  "module": "src/services/utils/baseServiceIO.ts"
@@ -10245,11 +10318,10 @@
10245
10318
  },
10246
10319
  {
10247
10320
  "kind": "field",
10248
- "name": "fileTypes",
10321
+ "name": "camera",
10249
10322
  "type": {
10250
- "text": "ServiceFileTypes"
10323
+ "text": "CameraFilesServiceConfig | undefined"
10251
10324
  },
10252
- "default": "{}",
10253
10325
  "inheritedFrom": {
10254
10326
  "name": "BaseServiceIO",
10255
10327
  "module": "src/services/utils/baseServiceIO.ts"
@@ -10257,9 +10329,9 @@
10257
10329
  },
10258
10330
  {
10259
10331
  "kind": "field",
10260
- "name": "camera",
10332
+ "name": "recordAudio",
10261
10333
  "type": {
10262
- "text": "CameraFilesServiceConfig | undefined"
10334
+ "text": "MicrophoneFilesServiceConfig | undefined"
10263
10335
  },
10264
10336
  "inheritedFrom": {
10265
10337
  "name": "BaseServiceIO",
@@ -10268,9 +10340,9 @@
10268
10340
  },
10269
10341
  {
10270
10342
  "kind": "field",
10271
- "name": "recordAudio",
10343
+ "name": "totalMessagesMaxCharLength",
10272
10344
  "type": {
10273
- "text": "MicrophoneFilesServiceConfig | undefined"
10345
+ "text": "number | undefined"
10274
10346
  },
10275
10347
  "inheritedFrom": {
10276
10348
  "name": "BaseServiceIO",
@@ -10279,7 +10351,7 @@
10279
10351
  },
10280
10352
  {
10281
10353
  "kind": "field",
10282
- "name": "totalMessagesMaxCharLength",
10354
+ "name": "maxMessages",
10283
10355
  "type": {
10284
10356
  "text": "number | undefined"
10285
10357
  },
@@ -10483,6 +10555,27 @@
10483
10555
  "module": "src/services/utils/baseServiceIO.ts"
10484
10556
  }
10485
10557
  },
10558
+ {
10559
+ "kind": "method",
10560
+ "name": "extractResultData",
10561
+ "return": {
10562
+ "type": {
10563
+ "text": "Promise<Response | {makingAnotherRequest: true}>"
10564
+ }
10565
+ },
10566
+ "parameters": [
10567
+ {
10568
+ "name": "result",
10569
+ "type": {
10570
+ "text": "any | Response"
10571
+ }
10572
+ }
10573
+ ],
10574
+ "inheritedFrom": {
10575
+ "name": "BaseServiceIO",
10576
+ "module": "src/services/utils/baseServiceIO.ts"
10577
+ }
10578
+ },
10486
10579
  {
10487
10580
  "kind": "method",
10488
10581
  "name": "isWebModel",
@@ -10494,30 +10587,30 @@
10494
10587
  }
10495
10588
  ],
10496
10589
  "superclass": {
10497
- "name": "DirectServiceIO",
10498
- "module": "/src/services/utils/directServiceIO"
10590
+ "name": "HuggingFaceFileIO",
10591
+ "module": "/src/services/huggingFace/huggingFaceFileIO"
10499
10592
  }
10500
10593
  }
10501
10594
  ],
10502
10595
  "exports": [
10503
10596
  {
10504
10597
  "kind": "js",
10505
- "name": "MistralIO",
10598
+ "name": "HuggingFaceAudioClassificationIO",
10506
10599
  "declaration": {
10507
- "name": "MistralIO",
10508
- "module": "src/services/mistral/mistralO.ts"
10600
+ "name": "HuggingFaceAudioClassificationIO",
10601
+ "module": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts"
10509
10602
  }
10510
10603
  }
10511
10604
  ]
10512
10605
  },
10513
10606
  {
10514
10607
  "kind": "javascript-module",
10515
- "path": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts",
10608
+ "path": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts",
10516
10609
  "declarations": [
10517
10610
  {
10518
10611
  "kind": "class",
10519
10612
  "description": "",
10520
- "name": "HuggingFaceAudioClassificationIO",
10613
+ "name": "HuggingFaceAudioRecognitionIO",
10521
10614
  "members": [
10522
10615
  {
10523
10616
  "kind": "method",
@@ -10531,7 +10624,7 @@
10531
10624
  {
10532
10625
  "name": "result",
10533
10626
  "type": {
10534
- "text": "HuggingFaceClassificationResult"
10627
+ "text": "HuggingFaceAudioRecognitionResult"
10535
10628
  }
10536
10629
  }
10537
10630
  ]
@@ -11236,99 +11329,51 @@
11236
11329
  "exports": [
11237
11330
  {
11238
11331
  "kind": "js",
11239
- "name": "HuggingFaceAudioClassificationIO",
11332
+ "name": "HuggingFaceAudioRecognitionIO",
11240
11333
  "declaration": {
11241
- "name": "HuggingFaceAudioClassificationIO",
11242
- "module": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts"
11334
+ "name": "HuggingFaceAudioRecognitionIO",
11335
+ "module": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts"
11243
11336
  }
11244
11337
  }
11245
11338
  ]
11246
11339
  },
11247
11340
  {
11248
11341
  "kind": "javascript-module",
11249
- "path": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts",
11342
+ "path": "src/services/huggingFace/huggingFaceConversationIO.ts",
11250
11343
  "declarations": [
11251
11344
  {
11252
11345
  "kind": "class",
11253
11346
  "description": "",
11254
- "name": "HuggingFaceAudioRecognitionIO",
11347
+ "name": "HuggingFaceConversationIO",
11255
11348
  "members": [
11256
11349
  {
11257
11350
  "kind": "method",
11258
- "name": "extractPollResultData",
11259
- "return": {
11260
- "type": {
11261
- "text": "PollResult"
11262
- }
11263
- },
11264
- "parameters": [
11265
- {
11266
- "name": "result",
11267
- "type": {
11268
- "text": "HuggingFaceAudioRecognitionResult"
11269
- }
11270
- }
11271
- ]
11272
- },
11273
- {
11274
- "kind": "field",
11275
- "name": "isTextInputDisabled",
11276
- "type": {
11277
- "text": "boolean"
11278
- },
11279
- "default": "true",
11280
- "inheritedFrom": {
11281
- "name": "HuggingFaceFileIO",
11282
- "module": "src/services/huggingFace/huggingFaceFileIO.ts"
11283
- }
11284
- },
11285
- {
11286
- "kind": "method",
11287
- "name": "canSendFile",
11351
+ "name": "processMessages",
11288
11352
  "privacy": "private",
11289
- "static": true,
11290
11353
  "parameters": [
11291
11354
  {
11292
- "name": "_",
11293
- "optional": true,
11294
- "type": {
11295
- "text": "string"
11296
- }
11297
- },
11298
- {
11299
- "name": "files",
11300
- "optional": true,
11355
+ "name": "messages",
11301
11356
  "type": {
11302
- "text": "File[]"
11357
+ "text": "MessageContentI[]"
11303
11358
  }
11304
11359
  }
11305
- ],
11306
- "inheritedFrom": {
11307
- "name": "HuggingFaceFileIO",
11308
- "module": "src/services/huggingFace/huggingFaceFileIO.ts"
11309
- }
11360
+ ]
11310
11361
  },
11311
11362
  {
11312
11363
  "kind": "method",
11313
11364
  "name": "preprocessBody",
11314
11365
  "parameters": [
11315
11366
  {
11316
- "name": "_",
11367
+ "name": "body",
11317
11368
  "type": {
11318
- "text": "{}"
11369
+ "text": "HuggingFaceQuestionAnswerConfig"
11319
11370
  }
11320
11371
  },
11321
11372
  {
11322
- "name": "__",
11373
+ "name": "messages",
11323
11374
  "type": {
11324
11375
  "text": "MessageContentI[]"
11325
11376
  }
11326
- },
11327
- {
11328
- "name": "files",
11329
- "type": {
11330
- "text": "File[]"
11331
- }
11332
11377
  }
11333
11378
  ],
11334
11379
  "inheritedFrom": {
@@ -11338,25 +11383,17 @@
11338
11383
  },
11339
11384
  {
11340
11385
  "kind": "method",
11341
- "name": "callServiceAPI",
11386
+ "name": "extractResultData",
11387
+ "return": {
11388
+ "type": {
11389
+ "text": "Promise<Response>"
11390
+ }
11391
+ },
11342
11392
  "parameters": [
11343
11393
  {
11344
- "name": "messages",
11345
- "type": {
11346
- "text": "Messages"
11347
- }
11348
- },
11349
- {
11350
- "name": "_",
11351
- "type": {
11352
- "text": "MessageContentI[]"
11353
- }
11354
- },
11355
- {
11356
- "name": "files",
11357
- "optional": true,
11394
+ "name": "result",
11358
11395
  "type": {
11359
- "text": "File[]"
11396
+ "text": "HuggingFaceConversationResult"
11360
11397
  }
11361
11398
  }
11362
11399
  ],
@@ -11367,35 +11404,11 @@
11367
11404
  },
11368
11405
  {
11369
11406
  "kind": "field",
11370
- "name": "canSendMessage",
11371
- "privacy": "private",
11372
- "static": true,
11373
- "parameters": [
11374
- {
11375
- "name": "text",
11376
- "optional": true,
11377
- "type": {
11378
- "text": "string"
11379
- }
11380
- },
11381
- {
11382
- "name": "files",
11383
- "optional": true,
11384
- "type": {
11385
- "text": "File[]"
11386
- }
11387
- },
11388
- {
11389
- "name": "isProgrammatic",
11390
- "optional": true,
11391
- "type": {
11392
- "text": "boolean"
11393
- }
11394
- }
11395
- ],
11407
+ "name": "maxMessages",
11396
11408
  "type": {
11397
- "text": "ValidateInput"
11409
+ "text": "number | undefined"
11398
11410
  },
11411
+ "default": "-1",
11399
11412
  "inheritedFrom": {
11400
11413
  "name": "BaseServiceIO",
11401
11414
  "module": "src/services/utils/baseServiceIO.ts"
@@ -11485,6 +11498,35 @@
11485
11498
  "module": "src/services/huggingFace/huggingFaceIO.ts"
11486
11499
  }
11487
11500
  },
11501
+ {
11502
+ "kind": "method",
11503
+ "name": "callServiceAPI",
11504
+ "parameters": [
11505
+ {
11506
+ "name": "messages",
11507
+ "type": {
11508
+ "text": "Messages"
11509
+ }
11510
+ },
11511
+ {
11512
+ "name": "pMessages",
11513
+ "type": {
11514
+ "text": "MessageContentI[]"
11515
+ }
11516
+ },
11517
+ {
11518
+ "name": "files",
11519
+ "optional": true,
11520
+ "type": {
11521
+ "text": "File[]"
11522
+ }
11523
+ }
11524
+ ],
11525
+ "inheritedFrom": {
11526
+ "name": "BaseServiceIO",
11527
+ "module": "src/services/utils/baseServiceIO.ts"
11528
+ }
11529
+ },
11488
11530
  {
11489
11531
  "kind": "field",
11490
11532
  "name": "key",
@@ -11681,11 +11723,35 @@
11681
11723
  },
11682
11724
  {
11683
11725
  "kind": "field",
11684
- "name": "fileTypes",
11726
+ "name": "canSendMessage",
11727
+ "privacy": "private",
11728
+ "static": true,
11729
+ "parameters": [
11730
+ {
11731
+ "name": "text",
11732
+ "optional": true,
11733
+ "type": {
11734
+ "text": "string"
11735
+ }
11736
+ },
11737
+ {
11738
+ "name": "files",
11739
+ "optional": true,
11740
+ "type": {
11741
+ "text": "File[]"
11742
+ }
11743
+ },
11744
+ {
11745
+ "name": "isProgrammatic",
11746
+ "optional": true,
11747
+ "type": {
11748
+ "text": "boolean"
11749
+ }
11750
+ }
11751
+ ],
11685
11752
  "type": {
11686
- "text": "ServiceFileTypes"
11753
+ "text": "ValidateInput"
11687
11754
  },
11688
- "default": "{}",
11689
11755
  "inheritedFrom": {
11690
11756
  "name": "BaseServiceIO",
11691
11757
  "module": "src/services/utils/baseServiceIO.ts"
@@ -11693,10 +11759,11 @@
11693
11759
  },
11694
11760
  {
11695
11761
  "kind": "field",
11696
- "name": "camera",
11762
+ "name": "fileTypes",
11697
11763
  "type": {
11698
- "text": "CameraFilesServiceConfig | undefined"
11764
+ "text": "ServiceFileTypes"
11699
11765
  },
11766
+ "default": "{}",
11700
11767
  "inheritedFrom": {
11701
11768
  "name": "BaseServiceIO",
11702
11769
  "module": "src/services/utils/baseServiceIO.ts"
@@ -11704,9 +11771,9 @@
11704
11771
  },
11705
11772
  {
11706
11773
  "kind": "field",
11707
- "name": "recordAudio",
11774
+ "name": "camera",
11708
11775
  "type": {
11709
- "text": "MicrophoneFilesServiceConfig | undefined"
11776
+ "text": "CameraFilesServiceConfig | undefined"
11710
11777
  },
11711
11778
  "inheritedFrom": {
11712
11779
  "name": "BaseServiceIO",
@@ -11715,9 +11782,9 @@
11715
11782
  },
11716
11783
  {
11717
11784
  "kind": "field",
11718
- "name": "totalMessagesMaxCharLength",
11785
+ "name": "recordAudio",
11719
11786
  "type": {
11720
- "text": "number | undefined"
11787
+ "text": "MicrophoneFilesServiceConfig | undefined"
11721
11788
  },
11722
11789
  "inheritedFrom": {
11723
11790
  "name": "BaseServiceIO",
@@ -11726,7 +11793,7 @@
11726
11793
  },
11727
11794
  {
11728
11795
  "kind": "field",
11729
- "name": "maxMessages",
11796
+ "name": "totalMessagesMaxCharLength",
11730
11797
  "type": {
11731
11798
  "text": "number | undefined"
11732
11799
  },
@@ -11930,27 +11997,6 @@
11930
11997
  "module": "src/services/utils/baseServiceIO.ts"
11931
11998
  }
11932
11999
  },
11933
- {
11934
- "kind": "method",
11935
- "name": "extractResultData",
11936
- "return": {
11937
- "type": {
11938
- "text": "Promise<Response | {makingAnotherRequest: true}>"
11939
- }
11940
- },
11941
- "parameters": [
11942
- {
11943
- "name": "result",
11944
- "type": {
11945
- "text": "any | Response"
11946
- }
11947
- }
11948
- ],
11949
- "inheritedFrom": {
11950
- "name": "BaseServiceIO",
11951
- "module": "src/services/utils/baseServiceIO.ts"
11952
- }
11953
- },
11954
12000
  {
11955
12001
  "kind": "method",
11956
12002
  "name": "isWebModel",
@@ -11962,40 +12008,57 @@
11962
12008
  }
11963
12009
  ],
11964
12010
  "superclass": {
11965
- "name": "HuggingFaceFileIO",
11966
- "module": "/src/services/huggingFace/huggingFaceFileIO"
12011
+ "name": "HuggingFaceIO",
12012
+ "module": "/src/services/huggingFace/huggingFaceIO"
11967
12013
  }
11968
12014
  }
11969
12015
  ],
11970
12016
  "exports": [
11971
12017
  {
11972
12018
  "kind": "js",
11973
- "name": "HuggingFaceAudioRecognitionIO",
12019
+ "name": "HuggingFaceConversationIO",
11974
12020
  "declaration": {
11975
- "name": "HuggingFaceAudioRecognitionIO",
11976
- "module": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts"
12021
+ "name": "HuggingFaceConversationIO",
12022
+ "module": "src/services/huggingFace/huggingFaceConversationIO.ts"
11977
12023
  }
11978
12024
  }
11979
12025
  ]
11980
12026
  },
11981
12027
  {
11982
12028
  "kind": "javascript-module",
11983
- "path": "src/services/huggingFace/huggingFaceConversationIO.ts",
12029
+ "path": "src/services/huggingFace/huggingFaceFileIO.ts",
11984
12030
  "declarations": [
11985
12031
  {
11986
12032
  "kind": "class",
11987
12033
  "description": "",
11988
- "name": "HuggingFaceConversationIO",
12034
+ "name": "HuggingFaceFileIO",
11989
12035
  "members": [
12036
+ {
12037
+ "kind": "field",
12038
+ "name": "isTextInputDisabled",
12039
+ "type": {
12040
+ "text": "boolean"
12041
+ },
12042
+ "default": "true"
12043
+ },
11990
12044
  {
11991
12045
  "kind": "method",
11992
- "name": "processMessages",
12046
+ "name": "canSendFile",
11993
12047
  "privacy": "private",
12048
+ "static": true,
11994
12049
  "parameters": [
11995
12050
  {
11996
- "name": "messages",
12051
+ "name": "_",
12052
+ "optional": true,
11997
12053
  "type": {
11998
- "text": "MessageContentI[]"
12054
+ "text": "string"
12055
+ }
12056
+ },
12057
+ {
12058
+ "name": "files",
12059
+ "optional": true,
12060
+ "type": {
12061
+ "text": "File[]"
11999
12062
  }
12000
12063
  }
12001
12064
  ]
@@ -12005,16 +12068,22 @@
12005
12068
  "name": "preprocessBody",
12006
12069
  "parameters": [
12007
12070
  {
12008
- "name": "body",
12071
+ "name": "_",
12009
12072
  "type": {
12010
- "text": "HuggingFaceQuestionAnswerConfig"
12073
+ "text": "{}"
12011
12074
  }
12012
12075
  },
12013
12076
  {
12014
- "name": "messages",
12077
+ "name": "__",
12015
12078
  "type": {
12016
12079
  "text": "MessageContentI[]"
12017
12080
  }
12081
+ },
12082
+ {
12083
+ "name": "files",
12084
+ "type": {
12085
+ "text": "File[]"
12086
+ }
12018
12087
  }
12019
12088
  ],
12020
12089
  "inheritedFrom": {
@@ -12024,17 +12093,25 @@
12024
12093
  },
12025
12094
  {
12026
12095
  "kind": "method",
12027
- "name": "extractResultData",
12028
- "return": {
12029
- "type": {
12030
- "text": "Promise<Response>"
12031
- }
12032
- },
12096
+ "name": "callServiceAPI",
12033
12097
  "parameters": [
12034
12098
  {
12035
- "name": "result",
12099
+ "name": "messages",
12036
12100
  "type": {
12037
- "text": "HuggingFaceConversationResult"
12101
+ "text": "Messages"
12102
+ }
12103
+ },
12104
+ {
12105
+ "name": "_",
12106
+ "type": {
12107
+ "text": "MessageContentI[]"
12108
+ }
12109
+ },
12110
+ {
12111
+ "name": "files",
12112
+ "optional": true,
12113
+ "type": {
12114
+ "text": "File[]"
12038
12115
  }
12039
12116
  }
12040
12117
  ],
@@ -12045,11 +12122,35 @@
12045
12122
  },
12046
12123
  {
12047
12124
  "kind": "field",
12048
- "name": "maxMessages",
12125
+ "name": "canSendMessage",
12126
+ "privacy": "private",
12127
+ "static": true,
12128
+ "parameters": [
12129
+ {
12130
+ "name": "text",
12131
+ "optional": true,
12132
+ "type": {
12133
+ "text": "string"
12134
+ }
12135
+ },
12136
+ {
12137
+ "name": "files",
12138
+ "optional": true,
12139
+ "type": {
12140
+ "text": "File[]"
12141
+ }
12142
+ },
12143
+ {
12144
+ "name": "isProgrammatic",
12145
+ "optional": true,
12146
+ "type": {
12147
+ "text": "boolean"
12148
+ }
12149
+ }
12150
+ ],
12049
12151
  "type": {
12050
- "text": "number | undefined"
12152
+ "text": "ValidateInput"
12051
12153
  },
12052
- "default": "-1",
12053
12154
  "inheritedFrom": {
12054
12155
  "name": "BaseServiceIO",
12055
12156
  "module": "src/services/utils/baseServiceIO.ts"
@@ -12139,35 +12240,6 @@
12139
12240
  "module": "src/services/huggingFace/huggingFaceIO.ts"
12140
12241
  }
12141
12242
  },
12142
- {
12143
- "kind": "method",
12144
- "name": "callServiceAPI",
12145
- "parameters": [
12146
- {
12147
- "name": "messages",
12148
- "type": {
12149
- "text": "Messages"
12150
- }
12151
- },
12152
- {
12153
- "name": "pMessages",
12154
- "type": {
12155
- "text": "MessageContentI[]"
12156
- }
12157
- },
12158
- {
12159
- "name": "files",
12160
- "optional": true,
12161
- "type": {
12162
- "text": "File[]"
12163
- }
12164
- }
12165
- ],
12166
- "inheritedFrom": {
12167
- "name": "BaseServiceIO",
12168
- "module": "src/services/utils/baseServiceIO.ts"
12169
- }
12170
- },
12171
12243
  {
12172
12244
  "kind": "field",
12173
12245
  "name": "key",
@@ -12364,35 +12436,11 @@
12364
12436
  },
12365
12437
  {
12366
12438
  "kind": "field",
12367
- "name": "canSendMessage",
12368
- "privacy": "private",
12369
- "static": true,
12370
- "parameters": [
12371
- {
12372
- "name": "text",
12373
- "optional": true,
12374
- "type": {
12375
- "text": "string"
12376
- }
12377
- },
12378
- {
12379
- "name": "files",
12380
- "optional": true,
12381
- "type": {
12382
- "text": "File[]"
12383
- }
12384
- },
12385
- {
12386
- "name": "isProgrammatic",
12387
- "optional": true,
12388
- "type": {
12389
- "text": "boolean"
12390
- }
12391
- }
12392
- ],
12439
+ "name": "fileTypes",
12393
12440
  "type": {
12394
- "text": "ValidateInput"
12441
+ "text": "ServiceFileTypes"
12395
12442
  },
12443
+ "default": "{}",
12396
12444
  "inheritedFrom": {
12397
12445
  "name": "BaseServiceIO",
12398
12446
  "module": "src/services/utils/baseServiceIO.ts"
@@ -12400,11 +12448,10 @@
12400
12448
  },
12401
12449
  {
12402
12450
  "kind": "field",
12403
- "name": "fileTypes",
12451
+ "name": "camera",
12404
12452
  "type": {
12405
- "text": "ServiceFileTypes"
12453
+ "text": "CameraFilesServiceConfig | undefined"
12406
12454
  },
12407
- "default": "{}",
12408
12455
  "inheritedFrom": {
12409
12456
  "name": "BaseServiceIO",
12410
12457
  "module": "src/services/utils/baseServiceIO.ts"
@@ -12412,9 +12459,9 @@
12412
12459
  },
12413
12460
  {
12414
12461
  "kind": "field",
12415
- "name": "camera",
12462
+ "name": "recordAudio",
12416
12463
  "type": {
12417
- "text": "CameraFilesServiceConfig | undefined"
12464
+ "text": "MicrophoneFilesServiceConfig | undefined"
12418
12465
  },
12419
12466
  "inheritedFrom": {
12420
12467
  "name": "BaseServiceIO",
@@ -12423,9 +12470,9 @@
12423
12470
  },
12424
12471
  {
12425
12472
  "kind": "field",
12426
- "name": "recordAudio",
12473
+ "name": "totalMessagesMaxCharLength",
12427
12474
  "type": {
12428
- "text": "MicrophoneFilesServiceConfig | undefined"
12475
+ "text": "number | undefined"
12429
12476
  },
12430
12477
  "inheritedFrom": {
12431
12478
  "name": "BaseServiceIO",
@@ -12434,7 +12481,7 @@
12434
12481
  },
12435
12482
  {
12436
12483
  "kind": "field",
12437
- "name": "totalMessagesMaxCharLength",
12484
+ "name": "maxMessages",
12438
12485
  "type": {
12439
12486
  "text": "number | undefined"
12440
12487
  },
@@ -12638,6 +12685,27 @@
12638
12685
  "module": "src/services/utils/baseServiceIO.ts"
12639
12686
  }
12640
12687
  },
12688
+ {
12689
+ "kind": "method",
12690
+ "name": "extractResultData",
12691
+ "return": {
12692
+ "type": {
12693
+ "text": "Promise<Response | {makingAnotherRequest: true}>"
12694
+ }
12695
+ },
12696
+ "parameters": [
12697
+ {
12698
+ "name": "result",
12699
+ "type": {
12700
+ "text": "any | Response"
12701
+ }
12702
+ }
12703
+ ],
12704
+ "inheritedFrom": {
12705
+ "name": "BaseServiceIO",
12706
+ "module": "src/services/utils/baseServiceIO.ts"
12707
+ }
12708
+ },
12641
12709
  {
12642
12710
  "kind": "method",
12643
12711
  "name": "isWebModel",
@@ -12657,141 +12725,60 @@
12657
12725
  "exports": [
12658
12726
  {
12659
12727
  "kind": "js",
12660
- "name": "HuggingFaceConversationIO",
12728
+ "name": "HuggingFaceFileIO",
12661
12729
  "declaration": {
12662
- "name": "HuggingFaceConversationIO",
12663
- "module": "src/services/huggingFace/huggingFaceConversationIO.ts"
12730
+ "name": "HuggingFaceFileIO",
12731
+ "module": "src/services/huggingFace/huggingFaceFileIO.ts"
12664
12732
  }
12665
12733
  }
12666
12734
  ]
12667
12735
  },
12668
12736
  {
12669
12737
  "kind": "javascript-module",
12670
- "path": "src/services/huggingFace/huggingFaceFileIO.ts",
12738
+ "path": "src/services/huggingFace/huggingFaceFillMaskIO.ts",
12671
12739
  "declarations": [
12672
12740
  {
12673
12741
  "kind": "class",
12674
12742
  "description": "",
12675
- "name": "HuggingFaceFileIO",
12743
+ "name": "HuggingFaceFillMaskIO",
12676
12744
  "members": [
12677
12745
  {
12678
12746
  "kind": "field",
12679
- "name": "isTextInputDisabled",
12680
- "type": {
12681
- "text": "boolean"
12682
- },
12683
- "default": "true"
12684
- },
12685
- {
12686
- "kind": "method",
12687
- "name": "canSendFile",
12688
- "privacy": "private",
12689
- "static": true,
12690
- "parameters": [
12691
- {
12692
- "name": "_",
12693
- "optional": true,
12694
- "type": {
12695
- "text": "string"
12696
- }
12697
- },
12698
- {
12699
- "name": "files",
12700
- "optional": true,
12701
- "type": {
12702
- "text": "File[]"
12703
- }
12704
- }
12705
- ]
12706
- },
12707
- {
12708
- "kind": "method",
12709
- "name": "preprocessBody",
12710
- "parameters": [
12711
- {
12712
- "name": "_",
12713
- "type": {
12714
- "text": "{}"
12715
- }
12716
- },
12717
- {
12718
- "name": "__",
12719
- "type": {
12720
- "text": "MessageContentI[]"
12721
- }
12722
- },
12723
- {
12724
- "name": "files",
12725
- "type": {
12726
- "text": "File[]"
12727
- }
12728
- }
12729
- ],
12747
+ "name": "introPanelMarkUp",
12748
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].</p>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
12730
12749
  "inheritedFrom": {
12731
12750
  "name": "HuggingFaceIO",
12732
12751
  "module": "src/services/huggingFace/huggingFaceIO.ts"
12733
12752
  }
12734
12753
  },
12735
12754
  {
12736
- "kind": "method",
12737
- "name": "callServiceAPI",
12738
- "parameters": [
12739
- {
12740
- "name": "messages",
12741
- "type": {
12742
- "text": "Messages"
12743
- }
12744
- },
12745
- {
12746
- "name": "_",
12747
- "type": {
12748
- "text": "MessageContentI[]"
12749
- }
12750
- },
12751
- {
12752
- "name": "files",
12753
- "optional": true,
12754
- "type": {
12755
- "text": "File[]"
12756
- }
12757
- }
12758
- ],
12755
+ "kind": "field",
12756
+ "name": "permittedErrorPrefixes",
12757
+ "type": {
12758
+ "text": "array"
12759
+ },
12760
+ "default": "['Authorization header', 'No mask_token']",
12759
12761
  "inheritedFrom": {
12760
- "name": "BaseServiceIO",
12761
- "module": "src/services/utils/baseServiceIO.ts"
12762
+ "name": "HuggingFaceIO",
12763
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
12762
12764
  }
12763
12765
  },
12764
12766
  {
12765
- "kind": "field",
12766
- "name": "canSendMessage",
12767
- "privacy": "private",
12768
- "static": true,
12767
+ "kind": "method",
12768
+ "name": "extractResultData",
12769
+ "return": {
12770
+ "type": {
12771
+ "text": "Promise<Response>"
12772
+ }
12773
+ },
12769
12774
  "parameters": [
12770
12775
  {
12771
- "name": "text",
12772
- "optional": true,
12773
- "type": {
12774
- "text": "string"
12775
- }
12776
- },
12777
- {
12778
- "name": "files",
12779
- "optional": true,
12780
- "type": {
12781
- "text": "File[]"
12782
- }
12783
- },
12784
- {
12785
- "name": "isProgrammatic",
12786
- "optional": true,
12776
+ "name": "result",
12787
12777
  "type": {
12788
- "text": "boolean"
12778
+ "text": "HuggingFaceFillMaskResult"
12789
12779
  }
12790
12780
  }
12791
12781
  ],
12792
- "type": {
12793
- "text": "ValidateInput"
12794
- },
12795
12782
  "inheritedFrom": {
12796
12783
  "name": "BaseServiceIO",
12797
12784
  "module": "src/services/utils/baseServiceIO.ts"
@@ -12838,8 +12825,11 @@
12838
12825
  },
12839
12826
  {
12840
12827
  "kind": "field",
12841
- "name": "introPanelMarkUp",
12842
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
12828
+ "name": "url",
12829
+ "type": {
12830
+ "text": "string"
12831
+ },
12832
+ "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
12843
12833
  "inheritedFrom": {
12844
12834
  "name": "HuggingFaceIO",
12845
12835
  "module": "src/services/huggingFace/huggingFaceIO.ts"
@@ -12847,38 +12837,72 @@
12847
12837
  },
12848
12838
  {
12849
12839
  "kind": "field",
12850
- "name": "permittedErrorPrefixes",
12840
+ "name": "textInputPlaceholderText",
12851
12841
  "type": {
12852
- "text": "array"
12842
+ "text": "string"
12853
12843
  },
12854
- "default": "['Authorization header']",
12844
+ "default": "textInputPlaceholderText",
12855
12845
  "inheritedFrom": {
12856
12846
  "name": "HuggingFaceIO",
12857
12847
  "module": "src/services/huggingFace/huggingFaceIO.ts"
12858
12848
  }
12859
12849
  },
12860
12850
  {
12861
- "kind": "field",
12862
- "name": "url",
12863
- "type": {
12864
- "text": "string"
12865
- },
12866
- "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
12851
+ "kind": "method",
12852
+ "name": "preprocessBody",
12853
+ "parameters": [
12854
+ {
12855
+ "name": "body",
12856
+ "type": {
12857
+ "text": "HuggingFaceServiceConfigObj"
12858
+ }
12859
+ },
12860
+ {
12861
+ "name": "messages",
12862
+ "type": {
12863
+ "text": "MessageContentI[]"
12864
+ }
12865
+ },
12866
+ {
12867
+ "name": "_",
12868
+ "optional": true,
12869
+ "type": {
12870
+ "text": "File[]"
12871
+ }
12872
+ }
12873
+ ],
12867
12874
  "inheritedFrom": {
12868
12875
  "name": "HuggingFaceIO",
12869
12876
  "module": "src/services/huggingFace/huggingFaceIO.ts"
12870
12877
  }
12871
12878
  },
12872
12879
  {
12873
- "kind": "field",
12874
- "name": "textInputPlaceholderText",
12875
- "type": {
12876
- "text": "string"
12877
- },
12878
- "default": "textInputPlaceholderText",
12880
+ "kind": "method",
12881
+ "name": "callServiceAPI",
12882
+ "parameters": [
12883
+ {
12884
+ "name": "messages",
12885
+ "type": {
12886
+ "text": "Messages"
12887
+ }
12888
+ },
12889
+ {
12890
+ "name": "pMessages",
12891
+ "type": {
12892
+ "text": "MessageContentI[]"
12893
+ }
12894
+ },
12895
+ {
12896
+ "name": "files",
12897
+ "optional": true,
12898
+ "type": {
12899
+ "text": "File[]"
12900
+ }
12901
+ }
12902
+ ],
12879
12903
  "inheritedFrom": {
12880
- "name": "HuggingFaceIO",
12881
- "module": "src/services/huggingFace/huggingFaceIO.ts"
12904
+ "name": "BaseServiceIO",
12905
+ "module": "src/services/utils/baseServiceIO.ts"
12882
12906
  }
12883
12907
  },
12884
12908
  {
@@ -13075,6 +13099,42 @@
13075
13099
  "module": "src/services/utils/baseServiceIO.ts"
13076
13100
  }
13077
13101
  },
13102
+ {
13103
+ "kind": "field",
13104
+ "name": "canSendMessage",
13105
+ "privacy": "private",
13106
+ "static": true,
13107
+ "parameters": [
13108
+ {
13109
+ "name": "text",
13110
+ "optional": true,
13111
+ "type": {
13112
+ "text": "string"
13113
+ }
13114
+ },
13115
+ {
13116
+ "name": "files",
13117
+ "optional": true,
13118
+ "type": {
13119
+ "text": "File[]"
13120
+ }
13121
+ },
13122
+ {
13123
+ "name": "isProgrammatic",
13124
+ "optional": true,
13125
+ "type": {
13126
+ "text": "boolean"
13127
+ }
13128
+ }
13129
+ ],
13130
+ "type": {
13131
+ "text": "ValidateInput"
13132
+ },
13133
+ "inheritedFrom": {
13134
+ "name": "BaseServiceIO",
13135
+ "module": "src/services/utils/baseServiceIO.ts"
13136
+ }
13137
+ },
13078
13138
  {
13079
13139
  "kind": "field",
13080
13140
  "name": "fileTypes",
@@ -13326,27 +13386,6 @@
13326
13386
  "module": "src/services/utils/baseServiceIO.ts"
13327
13387
  }
13328
13388
  },
13329
- {
13330
- "kind": "method",
13331
- "name": "extractResultData",
13332
- "return": {
13333
- "type": {
13334
- "text": "Promise<Response | {makingAnotherRequest: true}>"
13335
- }
13336
- },
13337
- "parameters": [
13338
- {
13339
- "name": "result",
13340
- "type": {
13341
- "text": "any | Response"
13342
- }
13343
- }
13344
- ],
13345
- "inheritedFrom": {
13346
- "name": "BaseServiceIO",
13347
- "module": "src/services/utils/baseServiceIO.ts"
13348
- }
13349
- },
13350
13389
  {
13351
13390
  "kind": "method",
13352
13391
  "name": "isWebModel",
@@ -13366,65 +13405,23 @@
13366
13405
  "exports": [
13367
13406
  {
13368
13407
  "kind": "js",
13369
- "name": "HuggingFaceFileIO",
13408
+ "name": "HuggingFaceFillMaskIO",
13370
13409
  "declaration": {
13371
- "name": "HuggingFaceFileIO",
13372
- "module": "src/services/huggingFace/huggingFaceFileIO.ts"
13410
+ "name": "HuggingFaceFillMaskIO",
13411
+ "module": "src/services/huggingFace/huggingFaceFillMaskIO.ts"
13373
13412
  }
13374
13413
  }
13375
13414
  ]
13376
13415
  },
13377
13416
  {
13378
13417
  "kind": "javascript-module",
13379
- "path": "src/services/huggingFace/huggingFaceFillMaskIO.ts",
13418
+ "path": "src/services/huggingFace/huggingFaceIO.ts",
13380
13419
  "declarations": [
13381
13420
  {
13382
13421
  "kind": "class",
13383
13422
  "description": "",
13384
- "name": "HuggingFaceFillMaskIO",
13423
+ "name": "HuggingFaceIO",
13385
13424
  "members": [
13386
- {
13387
- "kind": "field",
13388
- "name": "introPanelMarkUp",
13389
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].</p>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
13390
- "inheritedFrom": {
13391
- "name": "HuggingFaceIO",
13392
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13393
- }
13394
- },
13395
- {
13396
- "kind": "field",
13397
- "name": "permittedErrorPrefixes",
13398
- "type": {
13399
- "text": "array"
13400
- },
13401
- "default": "['Authorization header', 'No mask_token']",
13402
- "inheritedFrom": {
13403
- "name": "HuggingFaceIO",
13404
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13405
- }
13406
- },
13407
- {
13408
- "kind": "method",
13409
- "name": "extractResultData",
13410
- "return": {
13411
- "type": {
13412
- "text": "Promise<Response>"
13413
- }
13414
- },
13415
- "parameters": [
13416
- {
13417
- "name": "result",
13418
- "type": {
13419
- "text": "HuggingFaceFillMaskResult"
13420
- }
13421
- }
13422
- ],
13423
- "inheritedFrom": {
13424
- "name": "BaseServiceIO",
13425
- "module": "src/services/utils/baseServiceIO.ts"
13426
- }
13427
- },
13428
13425
  {
13429
13426
  "kind": "field",
13430
13427
  "name": "insertKeyPlaceholderText",
@@ -13458,11 +13455,20 @@
13458
13455
  "privacy": "private",
13459
13456
  "static": true,
13460
13457
  "readonly": true,
13461
- "default": "'https://api-inference.huggingface.co/models/'",
13462
- "inheritedFrom": {
13463
- "name": "HuggingFaceIO",
13464
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13465
- }
13458
+ "default": "'https://api-inference.huggingface.co/models/'"
13459
+ },
13460
+ {
13461
+ "kind": "field",
13462
+ "name": "introPanelMarkUp",
13463
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`"
13464
+ },
13465
+ {
13466
+ "kind": "field",
13467
+ "name": "permittedErrorPrefixes",
13468
+ "type": {
13469
+ "text": "array"
13470
+ },
13471
+ "default": "['Authorization header']"
13466
13472
  },
13467
13473
  {
13468
13474
  "kind": "field",
@@ -13470,11 +13476,7 @@
13470
13476
  "type": {
13471
13477
  "text": "string"
13472
13478
  },
13473
- "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
13474
- "inheritedFrom": {
13475
- "name": "HuggingFaceIO",
13476
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13477
- }
13479
+ "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`"
13478
13480
  },
13479
13481
  {
13480
13482
  "kind": "field",
@@ -13482,11 +13484,7 @@
13482
13484
  "type": {
13483
13485
  "text": "string"
13484
13486
  },
13485
- "default": "textInputPlaceholderText",
13486
- "inheritedFrom": {
13487
- "name": "HuggingFaceIO",
13488
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13489
- }
13487
+ "default": "textInputPlaceholderText"
13490
13488
  },
13491
13489
  {
13492
13490
  "kind": "method",
@@ -13511,11 +13509,7 @@
13511
13509
  "text": "File[]"
13512
13510
  }
13513
13511
  }
13514
- ],
13515
- "inheritedFrom": {
13516
- "name": "HuggingFaceIO",
13517
- "module": "src/services/huggingFace/huggingFaceIO.ts"
13518
- }
13512
+ ]
13519
13513
  },
13520
13514
  {
13521
13515
  "kind": "method",
@@ -14027,6 +14021,27 @@
14027
14021
  "module": "src/services/utils/baseServiceIO.ts"
14028
14022
  }
14029
14023
  },
14024
+ {
14025
+ "kind": "method",
14026
+ "name": "extractResultData",
14027
+ "return": {
14028
+ "type": {
14029
+ "text": "Promise<Response | {makingAnotherRequest: true}>"
14030
+ }
14031
+ },
14032
+ "parameters": [
14033
+ {
14034
+ "name": "result",
14035
+ "type": {
14036
+ "text": "any | Response"
14037
+ }
14038
+ }
14039
+ ],
14040
+ "inheritedFrom": {
14041
+ "name": "BaseServiceIO",
14042
+ "module": "src/services/utils/baseServiceIO.ts"
14043
+ }
14044
+ },
14030
14045
  {
14031
14046
  "kind": "method",
14032
14047
  "name": "isWebModel",
@@ -14038,31 +14053,179 @@
14038
14053
  }
14039
14054
  ],
14040
14055
  "superclass": {
14041
- "name": "HuggingFaceIO",
14042
- "module": "/src/services/huggingFace/huggingFaceIO"
14056
+ "name": "DirectServiceIO",
14057
+ "module": "/src/services/utils/directServiceIO"
14043
14058
  }
14044
14059
  }
14045
14060
  ],
14046
14061
  "exports": [
14047
14062
  {
14048
14063
  "kind": "js",
14049
- "name": "HuggingFaceFillMaskIO",
14064
+ "name": "HuggingFaceIO",
14050
14065
  "declaration": {
14051
- "name": "HuggingFaceFillMaskIO",
14052
- "module": "src/services/huggingFace/huggingFaceFillMaskIO.ts"
14066
+ "name": "HuggingFaceIO",
14067
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14053
14068
  }
14054
14069
  }
14055
14070
  ]
14056
14071
  },
14057
14072
  {
14058
14073
  "kind": "javascript-module",
14059
- "path": "src/services/huggingFace/huggingFaceIO.ts",
14074
+ "path": "src/services/huggingFace/huggingFaceImageClassificationIO.ts",
14060
14075
  "declarations": [
14061
14076
  {
14062
14077
  "kind": "class",
14063
14078
  "description": "",
14064
- "name": "HuggingFaceIO",
14079
+ "name": "HuggingFaceImageClassificationIO",
14065
14080
  "members": [
14081
+ {
14082
+ "kind": "method",
14083
+ "name": "extractPollResultData",
14084
+ "return": {
14085
+ "type": {
14086
+ "text": "PollResult"
14087
+ }
14088
+ },
14089
+ "parameters": [
14090
+ {
14091
+ "name": "result",
14092
+ "type": {
14093
+ "text": "HuggingFaceClassificationResult"
14094
+ }
14095
+ }
14096
+ ]
14097
+ },
14098
+ {
14099
+ "kind": "field",
14100
+ "name": "isTextInputDisabled",
14101
+ "type": {
14102
+ "text": "boolean"
14103
+ },
14104
+ "default": "true",
14105
+ "inheritedFrom": {
14106
+ "name": "HuggingFaceFileIO",
14107
+ "module": "src/services/huggingFace/huggingFaceFileIO.ts"
14108
+ }
14109
+ },
14110
+ {
14111
+ "kind": "method",
14112
+ "name": "canSendFile",
14113
+ "privacy": "private",
14114
+ "static": true,
14115
+ "parameters": [
14116
+ {
14117
+ "name": "_",
14118
+ "optional": true,
14119
+ "type": {
14120
+ "text": "string"
14121
+ }
14122
+ },
14123
+ {
14124
+ "name": "files",
14125
+ "optional": true,
14126
+ "type": {
14127
+ "text": "File[]"
14128
+ }
14129
+ }
14130
+ ],
14131
+ "inheritedFrom": {
14132
+ "name": "HuggingFaceFileIO",
14133
+ "module": "src/services/huggingFace/huggingFaceFileIO.ts"
14134
+ }
14135
+ },
14136
+ {
14137
+ "kind": "method",
14138
+ "name": "preprocessBody",
14139
+ "parameters": [
14140
+ {
14141
+ "name": "_",
14142
+ "type": {
14143
+ "text": "{}"
14144
+ }
14145
+ },
14146
+ {
14147
+ "name": "__",
14148
+ "type": {
14149
+ "text": "MessageContentI[]"
14150
+ }
14151
+ },
14152
+ {
14153
+ "name": "files",
14154
+ "type": {
14155
+ "text": "File[]"
14156
+ }
14157
+ }
14158
+ ],
14159
+ "inheritedFrom": {
14160
+ "name": "HuggingFaceIO",
14161
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14162
+ }
14163
+ },
14164
+ {
14165
+ "kind": "method",
14166
+ "name": "callServiceAPI",
14167
+ "parameters": [
14168
+ {
14169
+ "name": "messages",
14170
+ "type": {
14171
+ "text": "Messages"
14172
+ }
14173
+ },
14174
+ {
14175
+ "name": "_",
14176
+ "type": {
14177
+ "text": "MessageContentI[]"
14178
+ }
14179
+ },
14180
+ {
14181
+ "name": "files",
14182
+ "optional": true,
14183
+ "type": {
14184
+ "text": "File[]"
14185
+ }
14186
+ }
14187
+ ],
14188
+ "inheritedFrom": {
14189
+ "name": "BaseServiceIO",
14190
+ "module": "src/services/utils/baseServiceIO.ts"
14191
+ }
14192
+ },
14193
+ {
14194
+ "kind": "field",
14195
+ "name": "canSendMessage",
14196
+ "privacy": "private",
14197
+ "static": true,
14198
+ "parameters": [
14199
+ {
14200
+ "name": "text",
14201
+ "optional": true,
14202
+ "type": {
14203
+ "text": "string"
14204
+ }
14205
+ },
14206
+ {
14207
+ "name": "files",
14208
+ "optional": true,
14209
+ "type": {
14210
+ "text": "File[]"
14211
+ }
14212
+ },
14213
+ {
14214
+ "name": "isProgrammatic",
14215
+ "optional": true,
14216
+ "type": {
14217
+ "text": "boolean"
14218
+ }
14219
+ }
14220
+ ],
14221
+ "type": {
14222
+ "text": "ValidateInput"
14223
+ },
14224
+ "inheritedFrom": {
14225
+ "name": "BaseServiceIO",
14226
+ "module": "src/services/utils/baseServiceIO.ts"
14227
+ }
14228
+ },
14066
14229
  {
14067
14230
  "kind": "field",
14068
14231
  "name": "insertKeyPlaceholderText",
@@ -14096,12 +14259,20 @@
14096
14259
  "privacy": "private",
14097
14260
  "static": true,
14098
14261
  "readonly": true,
14099
- "default": "'https://api-inference.huggingface.co/models/'"
14262
+ "default": "'https://api-inference.huggingface.co/models/'",
14263
+ "inheritedFrom": {
14264
+ "name": "HuggingFaceIO",
14265
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14266
+ }
14100
14267
  },
14101
14268
  {
14102
14269
  "kind": "field",
14103
14270
  "name": "introPanelMarkUp",
14104
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`"
14271
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
14272
+ "inheritedFrom": {
14273
+ "name": "HuggingFaceIO",
14274
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14275
+ }
14105
14276
  },
14106
14277
  {
14107
14278
  "kind": "field",
@@ -14109,7 +14280,11 @@
14109
14280
  "type": {
14110
14281
  "text": "array"
14111
14282
  },
14112
- "default": "['Authorization header']"
14283
+ "default": "['Authorization header']",
14284
+ "inheritedFrom": {
14285
+ "name": "HuggingFaceIO",
14286
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14287
+ }
14113
14288
  },
14114
14289
  {
14115
14290
  "kind": "field",
@@ -14117,7 +14292,11 @@
14117
14292
  "type": {
14118
14293
  "text": "string"
14119
14294
  },
14120
- "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`"
14295
+ "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
14296
+ "inheritedFrom": {
14297
+ "name": "HuggingFaceIO",
14298
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14299
+ }
14121
14300
  },
14122
14301
  {
14123
14302
  "kind": "field",
@@ -14125,60 +14304,10 @@
14125
14304
  "type": {
14126
14305
  "text": "string"
14127
14306
  },
14128
- "default": "textInputPlaceholderText"
14129
- },
14130
- {
14131
- "kind": "method",
14132
- "name": "preprocessBody",
14133
- "parameters": [
14134
- {
14135
- "name": "body",
14136
- "type": {
14137
- "text": "HuggingFaceServiceConfigObj"
14138
- }
14139
- },
14140
- {
14141
- "name": "messages",
14142
- "type": {
14143
- "text": "MessageContentI[]"
14144
- }
14145
- },
14146
- {
14147
- "name": "_",
14148
- "optional": true,
14149
- "type": {
14150
- "text": "File[]"
14151
- }
14152
- }
14153
- ]
14154
- },
14155
- {
14156
- "kind": "method",
14157
- "name": "callServiceAPI",
14158
- "parameters": [
14159
- {
14160
- "name": "messages",
14161
- "type": {
14162
- "text": "Messages"
14163
- }
14164
- },
14165
- {
14166
- "name": "pMessages",
14167
- "type": {
14168
- "text": "MessageContentI[]"
14169
- }
14170
- },
14171
- {
14172
- "name": "files",
14173
- "optional": true,
14174
- "type": {
14175
- "text": "File[]"
14176
- }
14177
- }
14178
- ],
14307
+ "default": "textInputPlaceholderText",
14179
14308
  "inheritedFrom": {
14180
- "name": "BaseServiceIO",
14181
- "module": "src/services/utils/baseServiceIO.ts"
14309
+ "name": "HuggingFaceIO",
14310
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14182
14311
  }
14183
14312
  },
14184
14313
  {
@@ -14375,42 +14504,6 @@
14375
14504
  "module": "src/services/utils/baseServiceIO.ts"
14376
14505
  }
14377
14506
  },
14378
- {
14379
- "kind": "field",
14380
- "name": "canSendMessage",
14381
- "privacy": "private",
14382
- "static": true,
14383
- "parameters": [
14384
- {
14385
- "name": "text",
14386
- "optional": true,
14387
- "type": {
14388
- "text": "string"
14389
- }
14390
- },
14391
- {
14392
- "name": "files",
14393
- "optional": true,
14394
- "type": {
14395
- "text": "File[]"
14396
- }
14397
- },
14398
- {
14399
- "name": "isProgrammatic",
14400
- "optional": true,
14401
- "type": {
14402
- "text": "boolean"
14403
- }
14404
- }
14405
- ],
14406
- "type": {
14407
- "text": "ValidateInput"
14408
- },
14409
- "inheritedFrom": {
14410
- "name": "BaseServiceIO",
14411
- "module": "src/services/utils/baseServiceIO.ts"
14412
- }
14413
- },
14414
14507
  {
14415
14508
  "kind": "field",
14416
14509
  "name": "fileTypes",
@@ -14694,85 +14787,51 @@
14694
14787
  }
14695
14788
  ],
14696
14789
  "superclass": {
14697
- "name": "DirectServiceIO",
14698
- "module": "/src/services/utils/directServiceIO"
14790
+ "name": "HuggingFaceFileIO",
14791
+ "module": "/src/services/huggingFace/huggingFaceFileIO"
14699
14792
  }
14700
14793
  }
14701
14794
  ],
14702
14795
  "exports": [
14703
14796
  {
14704
14797
  "kind": "js",
14705
- "name": "HuggingFaceIO",
14798
+ "name": "HuggingFaceImageClassificationIO",
14706
14799
  "declaration": {
14707
- "name": "HuggingFaceIO",
14708
- "module": "src/services/huggingFace/huggingFaceIO.ts"
14800
+ "name": "HuggingFaceImageClassificationIO",
14801
+ "module": "src/services/huggingFace/huggingFaceImageClassificationIO.ts"
14709
14802
  }
14710
14803
  }
14711
14804
  ]
14712
14805
  },
14713
14806
  {
14714
14807
  "kind": "javascript-module",
14715
- "path": "src/services/huggingFace/huggingFaceImageClassificationIO.ts",
14808
+ "path": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts",
14716
14809
  "declarations": [
14717
14810
  {
14718
14811
  "kind": "class",
14719
14812
  "description": "",
14720
- "name": "HuggingFaceImageClassificationIO",
14813
+ "name": "HuggingFaceQuestionAnswerIO",
14721
14814
  "members": [
14722
- {
14723
- "kind": "method",
14724
- "name": "extractPollResultData",
14725
- "return": {
14726
- "type": {
14727
- "text": "PollResult"
14728
- }
14729
- },
14730
- "parameters": [
14731
- {
14732
- "name": "result",
14733
- "type": {
14734
- "text": "HuggingFaceClassificationResult"
14735
- }
14736
- }
14737
- ]
14738
- },
14739
14815
  {
14740
14816
  "kind": "field",
14741
- "name": "isTextInputDisabled",
14817
+ "name": "permittedErrorPrefixes",
14742
14818
  "type": {
14743
- "text": "boolean"
14819
+ "text": "array"
14744
14820
  },
14745
- "default": "true",
14821
+ "default": "['Authorization header', 'Error in']",
14746
14822
  "inheritedFrom": {
14747
- "name": "HuggingFaceFileIO",
14748
- "module": "src/services/huggingFace/huggingFaceFileIO.ts"
14823
+ "name": "HuggingFaceIO",
14824
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
14749
14825
  }
14750
14826
  },
14751
14827
  {
14752
- "kind": "method",
14753
- "name": "canSendFile",
14828
+ "kind": "field",
14829
+ "name": "context",
14830
+ "type": {
14831
+ "text": "string"
14832
+ },
14754
14833
  "privacy": "private",
14755
- "static": true,
14756
- "parameters": [
14757
- {
14758
- "name": "_",
14759
- "optional": true,
14760
- "type": {
14761
- "text": "string"
14762
- }
14763
- },
14764
- {
14765
- "name": "files",
14766
- "optional": true,
14767
- "type": {
14768
- "text": "File[]"
14769
- }
14770
- }
14771
- ],
14772
- "inheritedFrom": {
14773
- "name": "HuggingFaceFileIO",
14774
- "module": "src/services/huggingFace/huggingFaceFileIO.ts"
14775
- }
14834
+ "readonly": true
14776
14835
  },
14777
14836
  {
14778
14837
  "kind": "method",
@@ -14781,20 +14840,14 @@
14781
14840
  {
14782
14841
  "name": "_",
14783
14842
  "type": {
14784
- "text": "{}"
14843
+ "text": "HuggingFaceQuestionAnswerConfig"
14785
14844
  }
14786
14845
  },
14787
14846
  {
14788
- "name": "__",
14847
+ "name": "messages",
14789
14848
  "type": {
14790
14849
  "text": "MessageContentI[]"
14791
14850
  }
14792
- },
14793
- {
14794
- "name": "files",
14795
- "type": {
14796
- "text": "File[]"
14797
- }
14798
14851
  }
14799
14852
  ],
14800
14853
  "inheritedFrom": {
@@ -14804,64 +14857,20 @@
14804
14857
  },
14805
14858
  {
14806
14859
  "kind": "method",
14807
- "name": "callServiceAPI",
14808
- "parameters": [
14809
- {
14810
- "name": "messages",
14811
- "type": {
14812
- "text": "Messages"
14813
- }
14814
- },
14815
- {
14816
- "name": "_",
14817
- "type": {
14818
- "text": "MessageContentI[]"
14819
- }
14820
- },
14821
- {
14822
- "name": "files",
14823
- "optional": true,
14824
- "type": {
14825
- "text": "File[]"
14826
- }
14860
+ "name": "extractResultData",
14861
+ "return": {
14862
+ "type": {
14863
+ "text": "Promise<Response>"
14827
14864
  }
14828
- ],
14829
- "inheritedFrom": {
14830
- "name": "BaseServiceIO",
14831
- "module": "src/services/utils/baseServiceIO.ts"
14832
- }
14833
- },
14834
- {
14835
- "kind": "field",
14836
- "name": "canSendMessage",
14837
- "privacy": "private",
14838
- "static": true,
14865
+ },
14839
14866
  "parameters": [
14840
14867
  {
14841
- "name": "text",
14842
- "optional": true,
14843
- "type": {
14844
- "text": "string"
14845
- }
14846
- },
14847
- {
14848
- "name": "files",
14849
- "optional": true,
14850
- "type": {
14851
- "text": "File[]"
14852
- }
14853
- },
14854
- {
14855
- "name": "isProgrammatic",
14856
- "optional": true,
14868
+ "name": "result",
14857
14869
  "type": {
14858
- "text": "boolean"
14870
+ "text": "HuggingFaceQuestionAnswerResult"
14859
14871
  }
14860
14872
  }
14861
14873
  ],
14862
- "type": {
14863
- "text": "ValidateInput"
14864
- },
14865
14874
  "inheritedFrom": {
14866
14875
  "name": "BaseServiceIO",
14867
14876
  "module": "src/services/utils/baseServiceIO.ts"
@@ -14915,18 +14924,6 @@
14915
14924
  "module": "src/services/huggingFace/huggingFaceIO.ts"
14916
14925
  }
14917
14926
  },
14918
- {
14919
- "kind": "field",
14920
- "name": "permittedErrorPrefixes",
14921
- "type": {
14922
- "text": "array"
14923
- },
14924
- "default": "['Authorization header']",
14925
- "inheritedFrom": {
14926
- "name": "HuggingFaceIO",
14927
- "module": "src/services/huggingFace/huggingFaceIO.ts"
14928
- }
14929
- },
14930
14927
  {
14931
14928
  "kind": "field",
14932
14929
  "name": "url",
@@ -14951,6 +14948,35 @@
14951
14948
  "module": "src/services/huggingFace/huggingFaceIO.ts"
14952
14949
  }
14953
14950
  },
14951
+ {
14952
+ "kind": "method",
14953
+ "name": "callServiceAPI",
14954
+ "parameters": [
14955
+ {
14956
+ "name": "messages",
14957
+ "type": {
14958
+ "text": "Messages"
14959
+ }
14960
+ },
14961
+ {
14962
+ "name": "pMessages",
14963
+ "type": {
14964
+ "text": "MessageContentI[]"
14965
+ }
14966
+ },
14967
+ {
14968
+ "name": "files",
14969
+ "optional": true,
14970
+ "type": {
14971
+ "text": "File[]"
14972
+ }
14973
+ }
14974
+ ],
14975
+ "inheritedFrom": {
14976
+ "name": "BaseServiceIO",
14977
+ "module": "src/services/utils/baseServiceIO.ts"
14978
+ }
14979
+ },
14954
14980
  {
14955
14981
  "kind": "field",
14956
14982
  "name": "key",
@@ -15145,6 +15171,42 @@
15145
15171
  "module": "src/services/utils/baseServiceIO.ts"
15146
15172
  }
15147
15173
  },
15174
+ {
15175
+ "kind": "field",
15176
+ "name": "canSendMessage",
15177
+ "privacy": "private",
15178
+ "static": true,
15179
+ "parameters": [
15180
+ {
15181
+ "name": "text",
15182
+ "optional": true,
15183
+ "type": {
15184
+ "text": "string"
15185
+ }
15186
+ },
15187
+ {
15188
+ "name": "files",
15189
+ "optional": true,
15190
+ "type": {
15191
+ "text": "File[]"
15192
+ }
15193
+ },
15194
+ {
15195
+ "name": "isProgrammatic",
15196
+ "optional": true,
15197
+ "type": {
15198
+ "text": "boolean"
15199
+ }
15200
+ }
15201
+ ],
15202
+ "type": {
15203
+ "text": "ValidateInput"
15204
+ },
15205
+ "inheritedFrom": {
15206
+ "name": "BaseServiceIO",
15207
+ "module": "src/services/utils/baseServiceIO.ts"
15208
+ }
15209
+ },
15148
15210
  {
15149
15211
  "kind": "field",
15150
15212
  "name": "fileTypes",
@@ -15396,27 +15458,6 @@
15396
15458
  "module": "src/services/utils/baseServiceIO.ts"
15397
15459
  }
15398
15460
  },
15399
- {
15400
- "kind": "method",
15401
- "name": "extractResultData",
15402
- "return": {
15403
- "type": {
15404
- "text": "Promise<Response | {makingAnotherRequest: true}>"
15405
- }
15406
- },
15407
- "parameters": [
15408
- {
15409
- "name": "result",
15410
- "type": {
15411
- "text": "any | Response"
15412
- }
15413
- }
15414
- ],
15415
- "inheritedFrom": {
15416
- "name": "BaseServiceIO",
15417
- "module": "src/services/utils/baseServiceIO.ts"
15418
- }
15419
- },
15420
15461
  {
15421
15462
  "kind": "method",
15422
15463
  "name": "isWebModel",
@@ -15428,74 +15469,31 @@
15428
15469
  }
15429
15470
  ],
15430
15471
  "superclass": {
15431
- "name": "HuggingFaceFileIO",
15432
- "module": "/src/services/huggingFace/huggingFaceFileIO"
15472
+ "name": "HuggingFaceIO",
15473
+ "module": "/src/services/huggingFace/huggingFaceIO"
15433
15474
  }
15434
15475
  }
15435
15476
  ],
15436
15477
  "exports": [
15437
15478
  {
15438
15479
  "kind": "js",
15439
- "name": "HuggingFaceImageClassificationIO",
15480
+ "name": "HuggingFaceQuestionAnswerIO",
15440
15481
  "declaration": {
15441
- "name": "HuggingFaceImageClassificationIO",
15442
- "module": "src/services/huggingFace/huggingFaceImageClassificationIO.ts"
15482
+ "name": "HuggingFaceQuestionAnswerIO",
15483
+ "module": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts"
15443
15484
  }
15444
15485
  }
15445
15486
  ]
15446
15487
  },
15447
15488
  {
15448
15489
  "kind": "javascript-module",
15449
- "path": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts",
15490
+ "path": "src/services/huggingFace/huggingFaceSummarizationIO.ts",
15450
15491
  "declarations": [
15451
15492
  {
15452
15493
  "kind": "class",
15453
15494
  "description": "",
15454
- "name": "HuggingFaceQuestionAnswerIO",
15495
+ "name": "HuggingFaceSummarizationIO",
15455
15496
  "members": [
15456
- {
15457
- "kind": "field",
15458
- "name": "permittedErrorPrefixes",
15459
- "type": {
15460
- "text": "array"
15461
- },
15462
- "default": "['Authorization header', 'Error in']",
15463
- "inheritedFrom": {
15464
- "name": "HuggingFaceIO",
15465
- "module": "src/services/huggingFace/huggingFaceIO.ts"
15466
- }
15467
- },
15468
- {
15469
- "kind": "field",
15470
- "name": "context",
15471
- "type": {
15472
- "text": "string"
15473
- },
15474
- "privacy": "private",
15475
- "readonly": true
15476
- },
15477
- {
15478
- "kind": "method",
15479
- "name": "preprocessBody",
15480
- "parameters": [
15481
- {
15482
- "name": "_",
15483
- "type": {
15484
- "text": "HuggingFaceQuestionAnswerConfig"
15485
- }
15486
- },
15487
- {
15488
- "name": "messages",
15489
- "type": {
15490
- "text": "MessageContentI[]"
15491
- }
15492
- }
15493
- ],
15494
- "inheritedFrom": {
15495
- "name": "HuggingFaceIO",
15496
- "module": "src/services/huggingFace/huggingFaceIO.ts"
15497
- }
15498
- },
15499
15497
  {
15500
15498
  "kind": "method",
15501
15499
  "name": "extractResultData",
@@ -15508,7 +15506,7 @@
15508
15506
  {
15509
15507
  "name": "result",
15510
15508
  "type": {
15511
- "text": "HuggingFaceQuestionAnswerResult"
15509
+ "text": "HuggingFaceSummarizationResult"
15512
15510
  }
15513
15511
  }
15514
15512
  ],
@@ -15565,6 +15563,18 @@
15565
15563
  "module": "src/services/huggingFace/huggingFaceIO.ts"
15566
15564
  }
15567
15565
  },
15566
+ {
15567
+ "kind": "field",
15568
+ "name": "permittedErrorPrefixes",
15569
+ "type": {
15570
+ "text": "array"
15571
+ },
15572
+ "default": "['Authorization header']",
15573
+ "inheritedFrom": {
15574
+ "name": "HuggingFaceIO",
15575
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
15576
+ }
15577
+ },
15568
15578
  {
15569
15579
  "kind": "field",
15570
15580
  "name": "url",
@@ -15589,6 +15599,35 @@
15589
15599
  "module": "src/services/huggingFace/huggingFaceIO.ts"
15590
15600
  }
15591
15601
  },
15602
+ {
15603
+ "kind": "method",
15604
+ "name": "preprocessBody",
15605
+ "parameters": [
15606
+ {
15607
+ "name": "body",
15608
+ "type": {
15609
+ "text": "HuggingFaceServiceConfigObj"
15610
+ }
15611
+ },
15612
+ {
15613
+ "name": "messages",
15614
+ "type": {
15615
+ "text": "MessageContentI[]"
15616
+ }
15617
+ },
15618
+ {
15619
+ "name": "_",
15620
+ "optional": true,
15621
+ "type": {
15622
+ "text": "File[]"
15623
+ }
15624
+ }
15625
+ ],
15626
+ "inheritedFrom": {
15627
+ "name": "HuggingFaceIO",
15628
+ "module": "src/services/huggingFace/huggingFaceIO.ts"
15629
+ }
15630
+ },
15592
15631
  {
15593
15632
  "kind": "method",
15594
15633
  "name": "callServiceAPI",
@@ -16118,22 +16157,22 @@
16118
16157
  "exports": [
16119
16158
  {
16120
16159
  "kind": "js",
16121
- "name": "HuggingFaceQuestionAnswerIO",
16160
+ "name": "HuggingFaceSummarizationIO",
16122
16161
  "declaration": {
16123
- "name": "HuggingFaceQuestionAnswerIO",
16124
- "module": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts"
16162
+ "name": "HuggingFaceSummarizationIO",
16163
+ "module": "src/services/huggingFace/huggingFaceSummarizationIO.ts"
16125
16164
  }
16126
16165
  }
16127
16166
  ]
16128
16167
  },
16129
16168
  {
16130
16169
  "kind": "javascript-module",
16131
- "path": "src/services/huggingFace/huggingFaceSummarizationIO.ts",
16170
+ "path": "src/services/huggingFace/huggingFaceTextGenerationIO.ts",
16132
16171
  "declarations": [
16133
16172
  {
16134
16173
  "kind": "class",
16135
16174
  "description": "",
16136
- "name": "HuggingFaceSummarizationIO",
16175
+ "name": "HuggingFaceTextGenerationIO",
16137
16176
  "members": [
16138
16177
  {
16139
16178
  "kind": "method",
@@ -16147,7 +16186,7 @@
16147
16186
  {
16148
16187
  "name": "result",
16149
16188
  "type": {
16150
- "text": "HuggingFaceSummarizationResult"
16189
+ "text": "HuggingFaceTextGenerationResult"
16151
16190
  }
16152
16191
  }
16153
16192
  ],
@@ -16798,22 +16837,22 @@
16798
16837
  "exports": [
16799
16838
  {
16800
16839
  "kind": "js",
16801
- "name": "HuggingFaceSummarizationIO",
16840
+ "name": "HuggingFaceTextGenerationIO",
16802
16841
  "declaration": {
16803
- "name": "HuggingFaceSummarizationIO",
16804
- "module": "src/services/huggingFace/huggingFaceSummarizationIO.ts"
16842
+ "name": "HuggingFaceTextGenerationIO",
16843
+ "module": "src/services/huggingFace/huggingFaceTextGenerationIO.ts"
16805
16844
  }
16806
16845
  }
16807
16846
  ]
16808
16847
  },
16809
16848
  {
16810
16849
  "kind": "javascript-module",
16811
- "path": "src/services/huggingFace/huggingFaceTextGenerationIO.ts",
16850
+ "path": "src/services/huggingFace/huggingFaceTranslationIO.ts",
16812
16851
  "declarations": [
16813
16852
  {
16814
16853
  "kind": "class",
16815
16854
  "description": "",
16816
- "name": "HuggingFaceTextGenerationIO",
16855
+ "name": "HuggingFaceTranslationIO",
16817
16856
  "members": [
16818
16857
  {
16819
16858
  "kind": "method",
@@ -16827,7 +16866,7 @@
16827
16866
  {
16828
16867
  "name": "result",
16829
16868
  "type": {
16830
- "text": "HuggingFaceTextGenerationResult"
16869
+ "text": "HuggingFaceTranslationResult"
16831
16870
  }
16832
16871
  }
16833
16872
  ],
@@ -17478,51 +17517,30 @@
17478
17517
  "exports": [
17479
17518
  {
17480
17519
  "kind": "js",
17481
- "name": "HuggingFaceTextGenerationIO",
17520
+ "name": "HuggingFaceTranslationIO",
17482
17521
  "declaration": {
17483
- "name": "HuggingFaceTextGenerationIO",
17484
- "module": "src/services/huggingFace/huggingFaceTextGenerationIO.ts"
17522
+ "name": "HuggingFaceTranslationIO",
17523
+ "module": "src/services/huggingFace/huggingFaceTranslationIO.ts"
17485
17524
  }
17486
17525
  }
17487
17526
  ]
17488
17527
  },
17489
17528
  {
17490
17529
  "kind": "javascript-module",
17491
- "path": "src/services/huggingFace/huggingFaceTranslationIO.ts",
17530
+ "path": "src/services/mistral/mistralO.ts",
17492
17531
  "declarations": [
17493
17532
  {
17494
17533
  "kind": "class",
17495
17534
  "description": "",
17496
- "name": "HuggingFaceTranslationIO",
17535
+ "name": "MistralIO",
17497
17536
  "members": [
17498
- {
17499
- "kind": "method",
17500
- "name": "extractResultData",
17501
- "return": {
17502
- "type": {
17503
- "text": "Promise<Response>"
17504
- }
17505
- },
17506
- "parameters": [
17507
- {
17508
- "name": "result",
17509
- "type": {
17510
- "text": "HuggingFaceTranslationResult"
17511
- }
17512
- }
17513
- ],
17514
- "inheritedFrom": {
17515
- "name": "BaseServiceIO",
17516
- "module": "src/services/utils/baseServiceIO.ts"
17517
- }
17518
- },
17519
17537
  {
17520
17538
  "kind": "field",
17521
17539
  "name": "insertKeyPlaceholderText",
17522
17540
  "type": {
17523
17541
  "text": "string"
17524
17542
  },
17525
- "default": "'Hugging Face Token'",
17543
+ "default": "'Mistral API Key'",
17526
17544
  "inheritedFrom": {
17527
17545
  "name": "DirectServiceIO",
17528
17546
  "module": "src/services/utils/directServiceIO.ts"
@@ -17534,7 +17552,7 @@
17534
17552
  "type": {
17535
17553
  "text": "string"
17536
17554
  },
17537
- "default": "'https://huggingface.co/settings/tokens'",
17555
+ "default": "'https://console.mistral.ai/api-keys/'",
17538
17556
  "inheritedFrom": {
17539
17557
  "name": "DirectServiceIO",
17540
17558
  "module": "src/services/utils/directServiceIO.ts"
@@ -17542,27 +17560,11 @@
17542
17560
  },
17543
17561
  {
17544
17562
  "kind": "field",
17545
- "name": "URL_PREFIX",
17563
+ "name": "url",
17546
17564
  "type": {
17547
17565
  "text": "string"
17548
17566
  },
17549
- "privacy": "private",
17550
- "static": true,
17551
- "readonly": true,
17552
- "default": "'https://api-inference.huggingface.co/models/'",
17553
- "inheritedFrom": {
17554
- "name": "HuggingFaceIO",
17555
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17556
- }
17557
- },
17558
- {
17559
- "kind": "field",
17560
- "name": "introPanelMarkUp",
17561
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>`",
17562
- "inheritedFrom": {
17563
- "name": "HuggingFaceIO",
17564
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17565
- }
17567
+ "default": "'https://api.mistral.ai/v1/chat/completions'"
17566
17568
  },
17567
17569
  {
17568
17570
  "kind": "field",
@@ -17570,64 +17572,39 @@
17570
17572
  "type": {
17571
17573
  "text": "array"
17572
17574
  },
17573
- "default": "['Authorization header']",
17574
- "inheritedFrom": {
17575
- "name": "HuggingFaceIO",
17576
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17577
- }
17578
- },
17579
- {
17580
- "kind": "field",
17581
- "name": "url",
17582
- "type": {
17583
- "text": "string"
17584
- },
17585
- "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`",
17586
- "inheritedFrom": {
17587
- "name": "HuggingFaceIO",
17588
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17589
- }
17575
+ "default": "['invalid']"
17590
17576
  },
17591
17577
  {
17592
- "kind": "field",
17593
- "name": "textInputPlaceholderText",
17594
- "type": {
17595
- "text": "string"
17596
- },
17597
- "default": "textInputPlaceholderText",
17598
- "inheritedFrom": {
17599
- "name": "HuggingFaceIO",
17600
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17601
- }
17578
+ "kind": "method",
17579
+ "name": "cleanConfig",
17580
+ "privacy": "private",
17581
+ "parameters": [
17582
+ {
17583
+ "name": "config",
17584
+ "type": {
17585
+ "text": "Mistral & APIKey"
17586
+ }
17587
+ }
17588
+ ]
17602
17589
  },
17603
17590
  {
17604
17591
  "kind": "method",
17605
17592
  "name": "preprocessBody",
17593
+ "privacy": "private",
17606
17594
  "parameters": [
17607
17595
  {
17608
17596
  "name": "body",
17609
17597
  "type": {
17610
- "text": "HuggingFaceServiceConfigObj"
17598
+ "text": "CohereChatConfig"
17611
17599
  }
17612
17600
  },
17613
17601
  {
17614
- "name": "messages",
17602
+ "name": "pMessages",
17615
17603
  "type": {
17616
17604
  "text": "MessageContentI[]"
17617
17605
  }
17618
- },
17619
- {
17620
- "name": "_",
17621
- "optional": true,
17622
- "type": {
17623
- "text": "File[]"
17624
- }
17625
17606
  }
17626
- ],
17627
- "inheritedFrom": {
17628
- "name": "HuggingFaceIO",
17629
- "module": "src/services/huggingFace/huggingFaceIO.ts"
17630
- }
17607
+ ]
17631
17608
  },
17632
17609
  {
17633
17610
  "kind": "method",
@@ -17644,12 +17621,26 @@
17644
17621
  "type": {
17645
17622
  "text": "MessageContentI[]"
17646
17623
  }
17647
- },
17624
+ }
17625
+ ],
17626
+ "inheritedFrom": {
17627
+ "name": "BaseServiceIO",
17628
+ "module": "src/services/utils/baseServiceIO.ts"
17629
+ }
17630
+ },
17631
+ {
17632
+ "kind": "method",
17633
+ "name": "extractResultData",
17634
+ "return": {
17635
+ "type": {
17636
+ "text": "Promise<Response>"
17637
+ }
17638
+ },
17639
+ "parameters": [
17648
17640
  {
17649
- "name": "files",
17650
- "optional": true,
17641
+ "name": "result",
17651
17642
  "type": {
17652
- "text": "File[]"
17643
+ "text": "CohereChatResult"
17653
17644
  }
17654
17645
  }
17655
17646
  ],
@@ -17658,6 +17649,26 @@
17658
17649
  "module": "src/services/utils/baseServiceIO.ts"
17659
17650
  }
17660
17651
  },
17652
+ {
17653
+ "kind": "field",
17654
+ "name": "maxMessages",
17655
+ "type": {
17656
+ "text": "number | undefined"
17657
+ },
17658
+ "default": "-1",
17659
+ "inheritedFrom": {
17660
+ "name": "BaseServiceIO",
17661
+ "module": "src/services/utils/baseServiceIO.ts"
17662
+ }
17663
+ },
17664
+ {
17665
+ "kind": "field",
17666
+ "name": "model",
17667
+ "type": {
17668
+ "text": "string"
17669
+ },
17670
+ "default": "'open-mistral-7b'"
17671
+ },
17661
17672
  {
17662
17673
  "kind": "field",
17663
17674
  "name": "key",
@@ -17933,17 +17944,6 @@
17933
17944
  "module": "src/services/utils/baseServiceIO.ts"
17934
17945
  }
17935
17946
  },
17936
- {
17937
- "kind": "field",
17938
- "name": "maxMessages",
17939
- "type": {
17940
- "text": "number | undefined"
17941
- },
17942
- "inheritedFrom": {
17943
- "name": "BaseServiceIO",
17944
- "module": "src/services/utils/baseServiceIO.ts"
17945
- }
17946
- },
17947
17947
  {
17948
17948
  "kind": "field",
17949
17949
  "name": "demo",
@@ -18150,18 +18150,18 @@
18150
18150
  }
18151
18151
  ],
18152
18152
  "superclass": {
18153
- "name": "HuggingFaceIO",
18154
- "module": "/src/services/huggingFace/huggingFaceIO"
18153
+ "name": "DirectServiceIO",
18154
+ "module": "/src/services/utils/directServiceIO"
18155
18155
  }
18156
18156
  }
18157
18157
  ],
18158
18158
  "exports": [
18159
18159
  {
18160
18160
  "kind": "js",
18161
- "name": "HuggingFaceTranslationIO",
18161
+ "name": "MistralIO",
18162
18162
  "declaration": {
18163
- "name": "HuggingFaceTranslationIO",
18164
- "module": "src/services/huggingFace/huggingFaceTranslationIO.ts"
18163
+ "name": "MistralIO",
18164
+ "module": "src/services/mistral/mistralO.ts"
18165
18165
  }
18166
18166
  }
18167
18167
  ]
@@ -29404,351 +29404,6 @@
29404
29404
  }
29405
29405
  ]
29406
29406
  },
29407
- {
29408
- "kind": "javascript-module",
29409
- "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
29410
- "declarations": [
29411
- {
29412
- "kind": "class",
29413
- "description": "",
29414
- "name": "AssemblyAIUtils",
29415
- "members": [
29416
- {
29417
- "kind": "method",
29418
- "name": "poll",
29419
- "privacy": "public",
29420
- "static": true,
29421
- "parameters": [
29422
- {
29423
- "name": "api_token",
29424
- "type": {
29425
- "text": "string"
29426
- }
29427
- },
29428
- {
29429
- "name": "audio_url",
29430
- "type": {
29431
- "text": "string"
29432
- }
29433
- }
29434
- ]
29435
- },
29436
- {
29437
- "kind": "method",
29438
- "name": "buildHeaders",
29439
- "privacy": "public",
29440
- "static": true,
29441
- "parameters": [
29442
- {
29443
- "name": "key",
29444
- "type": {
29445
- "text": "string"
29446
- }
29447
- }
29448
- ]
29449
- },
29450
- {
29451
- "kind": "method",
29452
- "name": "handleVerificationResult",
29453
- "privacy": "private",
29454
- "static": true,
29455
- "parameters": [
29456
- {
29457
- "name": "result",
29458
- "type": {
29459
- "text": "object"
29460
- }
29461
- },
29462
- {
29463
- "name": "key",
29464
- "type": {
29465
- "text": "string"
29466
- }
29467
- },
29468
- {
29469
- "name": "onSuccess",
29470
- "type": {
29471
- "text": "(key: string) => void"
29472
- }
29473
- },
29474
- {
29475
- "name": "onFail",
29476
- "type": {
29477
- "text": "(message: string) => void"
29478
- }
29479
- }
29480
- ]
29481
- },
29482
- {
29483
- "kind": "method",
29484
- "name": "buildKeyVerificationDetails",
29485
- "privacy": "public",
29486
- "static": true,
29487
- "return": {
29488
- "type": {
29489
- "text": "KeyVerificationDetails"
29490
- }
29491
- }
29492
- }
29493
- ]
29494
- }
29495
- ],
29496
- "exports": [
29497
- {
29498
- "kind": "js",
29499
- "name": "AssemblyAIUtils",
29500
- "declaration": {
29501
- "name": "AssemblyAIUtils",
29502
- "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
29503
- }
29504
- }
29505
- ]
29506
- },
29507
- {
29508
- "kind": "javascript-module",
29509
- "path": "src/services/azure/utils/azureUtils.ts",
29510
- "declarations": [
29511
- {
29512
- "kind": "class",
29513
- "description": "",
29514
- "name": "AzureUtils",
29515
- "members": [
29516
- {
29517
- "kind": "method",
29518
- "name": "buildTextToSpeechHeaders",
29519
- "privacy": "public",
29520
- "static": true,
29521
- "parameters": [
29522
- {
29523
- "name": "outputFormat",
29524
- "type": {
29525
- "text": "string"
29526
- }
29527
- },
29528
- {
29529
- "name": "key",
29530
- "type": {
29531
- "text": "string"
29532
- }
29533
- }
29534
- ]
29535
- },
29536
- {
29537
- "kind": "method",
29538
- "name": "buildSpeechToTextHeaders",
29539
- "privacy": "public",
29540
- "static": true,
29541
- "parameters": [
29542
- {
29543
- "name": "key",
29544
- "type": {
29545
- "text": "string"
29546
- }
29547
- }
29548
- ]
29549
- },
29550
- {
29551
- "kind": "method",
29552
- "name": "handleSpeechVerificationResult",
29553
- "privacy": "private",
29554
- "static": true,
29555
- "parameters": [
29556
- {
29557
- "name": "result",
29558
- "type": {
29559
- "text": "object"
29560
- }
29561
- },
29562
- {
29563
- "name": "key",
29564
- "type": {
29565
- "text": "string"
29566
- }
29567
- },
29568
- {
29569
- "name": "onSuccess",
29570
- "type": {
29571
- "text": "(key: string) => void"
29572
- }
29573
- },
29574
- {
29575
- "name": "onFail",
29576
- "type": {
29577
- "text": "(message: string) => void"
29578
- }
29579
- }
29580
- ]
29581
- },
29582
- {
29583
- "kind": "method",
29584
- "name": "buildSpeechKeyVerificationDetails",
29585
- "privacy": "public",
29586
- "static": true,
29587
- "return": {
29588
- "type": {
29589
- "text": "KeyVerificationDetails"
29590
- }
29591
- },
29592
- "parameters": [
29593
- {
29594
- "name": "region",
29595
- "type": {
29596
- "text": "string"
29597
- }
29598
- }
29599
- ]
29600
- },
29601
- {
29602
- "kind": "method",
29603
- "name": "buildSummarizationHeader",
29604
- "privacy": "public",
29605
- "static": true,
29606
- "parameters": [
29607
- {
29608
- "name": "key",
29609
- "type": {
29610
- "text": "string"
29611
- }
29612
- }
29613
- ]
29614
- },
29615
- {
29616
- "kind": "method",
29617
- "name": "handleLanguageVerificationResult",
29618
- "privacy": "private",
29619
- "static": true,
29620
- "parameters": [
29621
- {
29622
- "name": "result",
29623
- "type": {
29624
- "text": "object"
29625
- }
29626
- },
29627
- {
29628
- "name": "key",
29629
- "type": {
29630
- "text": "string"
29631
- }
29632
- },
29633
- {
29634
- "name": "onSuccess",
29635
- "type": {
29636
- "text": "(key: string) => void"
29637
- }
29638
- },
29639
- {
29640
- "name": "onFail",
29641
- "type": {
29642
- "text": "(message: string) => void"
29643
- }
29644
- }
29645
- ]
29646
- },
29647
- {
29648
- "kind": "method",
29649
- "name": "buildLanguageKeyVerificationDetails",
29650
- "privacy": "public",
29651
- "static": true,
29652
- "return": {
29653
- "type": {
29654
- "text": "KeyVerificationDetails"
29655
- }
29656
- },
29657
- "parameters": [
29658
- {
29659
- "name": "endpoint",
29660
- "type": {
29661
- "text": "string"
29662
- }
29663
- }
29664
- ]
29665
- },
29666
- {
29667
- "kind": "method",
29668
- "name": "handleTranslationVerificationResult",
29669
- "privacy": "private",
29670
- "static": true,
29671
- "parameters": [
29672
- {
29673
- "name": "result",
29674
- "type": {
29675
- "text": "object"
29676
- }
29677
- },
29678
- {
29679
- "name": "key",
29680
- "type": {
29681
- "text": "string"
29682
- }
29683
- },
29684
- {
29685
- "name": "onSuccess",
29686
- "type": {
29687
- "text": "(key: string) => void"
29688
- }
29689
- },
29690
- {
29691
- "name": "onFail",
29692
- "type": {
29693
- "text": "(message: string) => void"
29694
- }
29695
- }
29696
- ]
29697
- },
29698
- {
29699
- "kind": "method",
29700
- "name": "buildTranslationKeyVerificationDetails",
29701
- "privacy": "public",
29702
- "static": true,
29703
- "return": {
29704
- "type": {
29705
- "text": "KeyVerificationDetails"
29706
- }
29707
- },
29708
- "parameters": [
29709
- {
29710
- "name": "region",
29711
- "optional": true,
29712
- "type": {
29713
- "text": "string"
29714
- }
29715
- }
29716
- ]
29717
- },
29718
- {
29719
- "kind": "method",
29720
- "name": "buildTranslationHeaders",
29721
- "privacy": "public",
29722
- "static": true,
29723
- "parameters": [
29724
- {
29725
- "name": "region",
29726
- "type": {
29727
- "text": "string | undefined"
29728
- }
29729
- },
29730
- {
29731
- "name": "key",
29732
- "type": {
29733
- "text": "string"
29734
- }
29735
- }
29736
- ]
29737
- }
29738
- ]
29739
- }
29740
- ],
29741
- "exports": [
29742
- {
29743
- "kind": "js",
29744
- "name": "AzureUtils",
29745
- "declaration": {
29746
- "name": "AzureUtils",
29747
- "module": "src/services/azure/utils/azureUtils.ts"
29748
- }
29749
- }
29750
- ]
29751
- },
29752
29407
  {
29753
29408
  "kind": "javascript-module",
29754
29409
  "path": "src/views/chat/messages/avatar.ts",
@@ -32406,6 +32061,351 @@
32406
32061
  }
32407
32062
  ]
32408
32063
  },
32064
+ {
32065
+ "kind": "javascript-module",
32066
+ "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
32067
+ "declarations": [
32068
+ {
32069
+ "kind": "class",
32070
+ "description": "",
32071
+ "name": "AssemblyAIUtils",
32072
+ "members": [
32073
+ {
32074
+ "kind": "method",
32075
+ "name": "poll",
32076
+ "privacy": "public",
32077
+ "static": true,
32078
+ "parameters": [
32079
+ {
32080
+ "name": "api_token",
32081
+ "type": {
32082
+ "text": "string"
32083
+ }
32084
+ },
32085
+ {
32086
+ "name": "audio_url",
32087
+ "type": {
32088
+ "text": "string"
32089
+ }
32090
+ }
32091
+ ]
32092
+ },
32093
+ {
32094
+ "kind": "method",
32095
+ "name": "buildHeaders",
32096
+ "privacy": "public",
32097
+ "static": true,
32098
+ "parameters": [
32099
+ {
32100
+ "name": "key",
32101
+ "type": {
32102
+ "text": "string"
32103
+ }
32104
+ }
32105
+ ]
32106
+ },
32107
+ {
32108
+ "kind": "method",
32109
+ "name": "handleVerificationResult",
32110
+ "privacy": "private",
32111
+ "static": true,
32112
+ "parameters": [
32113
+ {
32114
+ "name": "result",
32115
+ "type": {
32116
+ "text": "object"
32117
+ }
32118
+ },
32119
+ {
32120
+ "name": "key",
32121
+ "type": {
32122
+ "text": "string"
32123
+ }
32124
+ },
32125
+ {
32126
+ "name": "onSuccess",
32127
+ "type": {
32128
+ "text": "(key: string) => void"
32129
+ }
32130
+ },
32131
+ {
32132
+ "name": "onFail",
32133
+ "type": {
32134
+ "text": "(message: string) => void"
32135
+ }
32136
+ }
32137
+ ]
32138
+ },
32139
+ {
32140
+ "kind": "method",
32141
+ "name": "buildKeyVerificationDetails",
32142
+ "privacy": "public",
32143
+ "static": true,
32144
+ "return": {
32145
+ "type": {
32146
+ "text": "KeyVerificationDetails"
32147
+ }
32148
+ }
32149
+ }
32150
+ ]
32151
+ }
32152
+ ],
32153
+ "exports": [
32154
+ {
32155
+ "kind": "js",
32156
+ "name": "AssemblyAIUtils",
32157
+ "declaration": {
32158
+ "name": "AssemblyAIUtils",
32159
+ "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
32160
+ }
32161
+ }
32162
+ ]
32163
+ },
32164
+ {
32165
+ "kind": "javascript-module",
32166
+ "path": "src/services/azure/utils/azureUtils.ts",
32167
+ "declarations": [
32168
+ {
32169
+ "kind": "class",
32170
+ "description": "",
32171
+ "name": "AzureUtils",
32172
+ "members": [
32173
+ {
32174
+ "kind": "method",
32175
+ "name": "buildTextToSpeechHeaders",
32176
+ "privacy": "public",
32177
+ "static": true,
32178
+ "parameters": [
32179
+ {
32180
+ "name": "outputFormat",
32181
+ "type": {
32182
+ "text": "string"
32183
+ }
32184
+ },
32185
+ {
32186
+ "name": "key",
32187
+ "type": {
32188
+ "text": "string"
32189
+ }
32190
+ }
32191
+ ]
32192
+ },
32193
+ {
32194
+ "kind": "method",
32195
+ "name": "buildSpeechToTextHeaders",
32196
+ "privacy": "public",
32197
+ "static": true,
32198
+ "parameters": [
32199
+ {
32200
+ "name": "key",
32201
+ "type": {
32202
+ "text": "string"
32203
+ }
32204
+ }
32205
+ ]
32206
+ },
32207
+ {
32208
+ "kind": "method",
32209
+ "name": "handleSpeechVerificationResult",
32210
+ "privacy": "private",
32211
+ "static": true,
32212
+ "parameters": [
32213
+ {
32214
+ "name": "result",
32215
+ "type": {
32216
+ "text": "object"
32217
+ }
32218
+ },
32219
+ {
32220
+ "name": "key",
32221
+ "type": {
32222
+ "text": "string"
32223
+ }
32224
+ },
32225
+ {
32226
+ "name": "onSuccess",
32227
+ "type": {
32228
+ "text": "(key: string) => void"
32229
+ }
32230
+ },
32231
+ {
32232
+ "name": "onFail",
32233
+ "type": {
32234
+ "text": "(message: string) => void"
32235
+ }
32236
+ }
32237
+ ]
32238
+ },
32239
+ {
32240
+ "kind": "method",
32241
+ "name": "buildSpeechKeyVerificationDetails",
32242
+ "privacy": "public",
32243
+ "static": true,
32244
+ "return": {
32245
+ "type": {
32246
+ "text": "KeyVerificationDetails"
32247
+ }
32248
+ },
32249
+ "parameters": [
32250
+ {
32251
+ "name": "region",
32252
+ "type": {
32253
+ "text": "string"
32254
+ }
32255
+ }
32256
+ ]
32257
+ },
32258
+ {
32259
+ "kind": "method",
32260
+ "name": "buildSummarizationHeader",
32261
+ "privacy": "public",
32262
+ "static": true,
32263
+ "parameters": [
32264
+ {
32265
+ "name": "key",
32266
+ "type": {
32267
+ "text": "string"
32268
+ }
32269
+ }
32270
+ ]
32271
+ },
32272
+ {
32273
+ "kind": "method",
32274
+ "name": "handleLanguageVerificationResult",
32275
+ "privacy": "private",
32276
+ "static": true,
32277
+ "parameters": [
32278
+ {
32279
+ "name": "result",
32280
+ "type": {
32281
+ "text": "object"
32282
+ }
32283
+ },
32284
+ {
32285
+ "name": "key",
32286
+ "type": {
32287
+ "text": "string"
32288
+ }
32289
+ },
32290
+ {
32291
+ "name": "onSuccess",
32292
+ "type": {
32293
+ "text": "(key: string) => void"
32294
+ }
32295
+ },
32296
+ {
32297
+ "name": "onFail",
32298
+ "type": {
32299
+ "text": "(message: string) => void"
32300
+ }
32301
+ }
32302
+ ]
32303
+ },
32304
+ {
32305
+ "kind": "method",
32306
+ "name": "buildLanguageKeyVerificationDetails",
32307
+ "privacy": "public",
32308
+ "static": true,
32309
+ "return": {
32310
+ "type": {
32311
+ "text": "KeyVerificationDetails"
32312
+ }
32313
+ },
32314
+ "parameters": [
32315
+ {
32316
+ "name": "endpoint",
32317
+ "type": {
32318
+ "text": "string"
32319
+ }
32320
+ }
32321
+ ]
32322
+ },
32323
+ {
32324
+ "kind": "method",
32325
+ "name": "handleTranslationVerificationResult",
32326
+ "privacy": "private",
32327
+ "static": true,
32328
+ "parameters": [
32329
+ {
32330
+ "name": "result",
32331
+ "type": {
32332
+ "text": "object"
32333
+ }
32334
+ },
32335
+ {
32336
+ "name": "key",
32337
+ "type": {
32338
+ "text": "string"
32339
+ }
32340
+ },
32341
+ {
32342
+ "name": "onSuccess",
32343
+ "type": {
32344
+ "text": "(key: string) => void"
32345
+ }
32346
+ },
32347
+ {
32348
+ "name": "onFail",
32349
+ "type": {
32350
+ "text": "(message: string) => void"
32351
+ }
32352
+ }
32353
+ ]
32354
+ },
32355
+ {
32356
+ "kind": "method",
32357
+ "name": "buildTranslationKeyVerificationDetails",
32358
+ "privacy": "public",
32359
+ "static": true,
32360
+ "return": {
32361
+ "type": {
32362
+ "text": "KeyVerificationDetails"
32363
+ }
32364
+ },
32365
+ "parameters": [
32366
+ {
32367
+ "name": "region",
32368
+ "optional": true,
32369
+ "type": {
32370
+ "text": "string"
32371
+ }
32372
+ }
32373
+ ]
32374
+ },
32375
+ {
32376
+ "kind": "method",
32377
+ "name": "buildTranslationHeaders",
32378
+ "privacy": "public",
32379
+ "static": true,
32380
+ "parameters": [
32381
+ {
32382
+ "name": "region",
32383
+ "type": {
32384
+ "text": "string | undefined"
32385
+ }
32386
+ },
32387
+ {
32388
+ "name": "key",
32389
+ "type": {
32390
+ "text": "string"
32391
+ }
32392
+ }
32393
+ ]
32394
+ }
32395
+ ]
32396
+ }
32397
+ ],
32398
+ "exports": [
32399
+ {
32400
+ "kind": "js",
32401
+ "name": "AzureUtils",
32402
+ "declaration": {
32403
+ "name": "AzureUtils",
32404
+ "module": "src/services/azure/utils/azureUtils.ts"
32405
+ }
32406
+ }
32407
+ ]
32408
+ },
32409
32409
  {
32410
32410
  "kind": "javascript-module",
32411
32411
  "path": "src/services/cohere/utils/cohereUtils.ts",
@@ -32478,10 +32478,90 @@
32478
32478
  "exports": [
32479
32479
  {
32480
32480
  "kind": "js",
32481
- "name": "CohereUtils",
32481
+ "name": "CohereUtils",
32482
+ "declaration": {
32483
+ "name": "CohereUtils",
32484
+ "module": "src/services/cohere/utils/cohereUtils.ts"
32485
+ }
32486
+ }
32487
+ ]
32488
+ },
32489
+ {
32490
+ "kind": "javascript-module",
32491
+ "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
32492
+ "declarations": [
32493
+ {
32494
+ "kind": "class",
32495
+ "description": "",
32496
+ "name": "HuggingFaceUtils",
32497
+ "members": [
32498
+ {
32499
+ "kind": "method",
32500
+ "name": "buildHeaders",
32501
+ "privacy": "public",
32502
+ "static": true,
32503
+ "parameters": [
32504
+ {
32505
+ "name": "key",
32506
+ "type": {
32507
+ "text": "string"
32508
+ }
32509
+ }
32510
+ ]
32511
+ },
32512
+ {
32513
+ "kind": "method",
32514
+ "name": "handleVerificationResult",
32515
+ "privacy": "private",
32516
+ "static": true,
32517
+ "parameters": [
32518
+ {
32519
+ "name": "result",
32520
+ "type": {
32521
+ "text": "object"
32522
+ }
32523
+ },
32524
+ {
32525
+ "name": "key",
32526
+ "type": {
32527
+ "text": "string"
32528
+ }
32529
+ },
32530
+ {
32531
+ "name": "onSuccess",
32532
+ "type": {
32533
+ "text": "(key: string) => void"
32534
+ }
32535
+ },
32536
+ {
32537
+ "name": "onFail",
32538
+ "type": {
32539
+ "text": "(message: string) => void"
32540
+ }
32541
+ }
32542
+ ]
32543
+ },
32544
+ {
32545
+ "kind": "method",
32546
+ "name": "buildKeyVerificationDetails",
32547
+ "privacy": "public",
32548
+ "static": true,
32549
+ "return": {
32550
+ "type": {
32551
+ "text": "KeyVerificationDetails"
32552
+ }
32553
+ }
32554
+ }
32555
+ ]
32556
+ }
32557
+ ],
32558
+ "exports": [
32559
+ {
32560
+ "kind": "js",
32561
+ "name": "HuggingFaceUtils",
32482
32562
  "declaration": {
32483
- "name": "CohereUtils",
32484
- "module": "src/services/cohere/utils/cohereUtils.ts"
32563
+ "name": "HuggingFaceUtils",
32564
+ "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
32485
32565
  }
32486
32566
  }
32487
32567
  ]
@@ -32566,86 +32646,6 @@
32566
32646
  }
32567
32647
  ]
32568
32648
  },
32569
- {
32570
- "kind": "javascript-module",
32571
- "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
32572
- "declarations": [
32573
- {
32574
- "kind": "class",
32575
- "description": "",
32576
- "name": "HuggingFaceUtils",
32577
- "members": [
32578
- {
32579
- "kind": "method",
32580
- "name": "buildHeaders",
32581
- "privacy": "public",
32582
- "static": true,
32583
- "parameters": [
32584
- {
32585
- "name": "key",
32586
- "type": {
32587
- "text": "string"
32588
- }
32589
- }
32590
- ]
32591
- },
32592
- {
32593
- "kind": "method",
32594
- "name": "handleVerificationResult",
32595
- "privacy": "private",
32596
- "static": true,
32597
- "parameters": [
32598
- {
32599
- "name": "result",
32600
- "type": {
32601
- "text": "object"
32602
- }
32603
- },
32604
- {
32605
- "name": "key",
32606
- "type": {
32607
- "text": "string"
32608
- }
32609
- },
32610
- {
32611
- "name": "onSuccess",
32612
- "type": {
32613
- "text": "(key: string) => void"
32614
- }
32615
- },
32616
- {
32617
- "name": "onFail",
32618
- "type": {
32619
- "text": "(message: string) => void"
32620
- }
32621
- }
32622
- ]
32623
- },
32624
- {
32625
- "kind": "method",
32626
- "name": "buildKeyVerificationDetails",
32627
- "privacy": "public",
32628
- "static": true,
32629
- "return": {
32630
- "type": {
32631
- "text": "KeyVerificationDetails"
32632
- }
32633
- }
32634
- }
32635
- ]
32636
- }
32637
- ],
32638
- "exports": [
32639
- {
32640
- "kind": "js",
32641
- "name": "HuggingFaceUtils",
32642
- "declaration": {
32643
- "name": "HuggingFaceUtils",
32644
- "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
32645
- }
32646
- }
32647
- ]
32648
- },
32649
32649
  {
32650
32650
  "kind": "javascript-module",
32651
32651
  "path": "src/services/openAI/utils/openAIAssistantUtils.ts",
@@ -34134,6 +34134,180 @@
34134
34134
  }
34135
34135
  ]
34136
34136
  },
34137
+ {
34138
+ "kind": "javascript-module",
34139
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
34140
+ "declarations": [
34141
+ {
34142
+ "kind": "class",
34143
+ "description": "",
34144
+ "name": "FileAttachments",
34145
+ "members": [
34146
+ {
34147
+ "kind": "field",
34148
+ "name": "_fileAttachmentsTypes",
34149
+ "type": {
34150
+ "text": "FileAttachmentsType[]"
34151
+ },
34152
+ "privacy": "private",
34153
+ "readonly": true,
34154
+ "default": "[]"
34155
+ },
34156
+ {
34157
+ "kind": "field",
34158
+ "name": "elementRef",
34159
+ "type": {
34160
+ "text": "HTMLElement"
34161
+ },
34162
+ "readonly": true
34163
+ },
34164
+ {
34165
+ "kind": "method",
34166
+ "name": "addType",
34167
+ "parameters": [
34168
+ {
34169
+ "name": "deepChat",
34170
+ "type": {
34171
+ "text": "DeepChat"
34172
+ }
34173
+ },
34174
+ {
34175
+ "name": "files",
34176
+ "type": {
34177
+ "text": "FileAttachmentsT"
34178
+ }
34179
+ },
34180
+ {
34181
+ "name": "type",
34182
+ "type": {
34183
+ "text": "keyof ServiceFileTypes"
34184
+ }
34185
+ }
34186
+ ]
34187
+ },
34188
+ {
34189
+ "kind": "method",
34190
+ "name": "createAttachmentContainer",
34191
+ "privacy": "private"
34192
+ },
34193
+ {
34194
+ "kind": "method",
34195
+ "name": "toggleContainerDisplay",
34196
+ "privacy": "private",
34197
+ "parameters": [
34198
+ {
34199
+ "name": "display",
34200
+ "type": {
34201
+ "text": "boolean"
34202
+ }
34203
+ }
34204
+ ]
34205
+ },
34206
+ {
34207
+ "kind": "method",
34208
+ "name": "getAllFileData"
34209
+ },
34210
+ {
34211
+ "kind": "method",
34212
+ "name": "completePlaceholders"
34213
+ },
34214
+ {
34215
+ "kind": "method",
34216
+ "name": "addFilesToType",
34217
+ "privacy": "public",
34218
+ "static": true,
34219
+ "parameters": [
34220
+ {
34221
+ "name": "files",
34222
+ "type": {
34223
+ "text": "File[]"
34224
+ }
34225
+ },
34226
+ {
34227
+ "name": "fileAttachmentTypes",
34228
+ "type": {
34229
+ "text": "FileAttachmentsType[]"
34230
+ }
34231
+ }
34232
+ ]
34233
+ },
34234
+ {
34235
+ "kind": "method",
34236
+ "name": "addFilesToAnyType",
34237
+ "parameters": [
34238
+ {
34239
+ "name": "files",
34240
+ "type": {
34241
+ "text": "File[]"
34242
+ }
34243
+ }
34244
+ ]
34245
+ },
34246
+ {
34247
+ "kind": "method",
34248
+ "name": "removeAllFiles"
34249
+ },
34250
+ {
34251
+ "kind": "method",
34252
+ "name": "getNumberOfTypes"
34253
+ }
34254
+ ]
34255
+ }
34256
+ ],
34257
+ "exports": [
34258
+ {
34259
+ "kind": "js",
34260
+ "name": "FileAttachments",
34261
+ "declaration": {
34262
+ "name": "FileAttachments",
34263
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
34264
+ }
34265
+ }
34266
+ ]
34267
+ },
34268
+ {
34269
+ "kind": "javascript-module",
34270
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
34271
+ "declarations": [
34272
+ {
34273
+ "kind": "class",
34274
+ "description": "",
34275
+ "name": "NewFileName",
34276
+ "members": [
34277
+ {
34278
+ "kind": "method",
34279
+ "name": "getFileName",
34280
+ "privacy": "public",
34281
+ "static": true,
34282
+ "parameters": [
34283
+ {
34284
+ "name": "prefix",
34285
+ "type": {
34286
+ "text": "string"
34287
+ }
34288
+ },
34289
+ {
34290
+ "name": "extension",
34291
+ "type": {
34292
+ "text": "string"
34293
+ }
34294
+ }
34295
+ ]
34296
+ }
34297
+ ]
34298
+ }
34299
+ ],
34300
+ "exports": [
34301
+ {
34302
+ "kind": "js",
34303
+ "name": "NewFileName",
34304
+ "declaration": {
34305
+ "name": "NewFileName",
34306
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
34307
+ }
34308
+ }
34309
+ ]
34310
+ },
34137
34311
  {
34138
34312
  "kind": "javascript-module",
34139
34313
  "path": "src/views/chat/input/dropup/dropup.ts",
@@ -35343,180 +35517,6 @@
35343
35517
  }
35344
35518
  ]
35345
35519
  },
35346
- {
35347
- "kind": "javascript-module",
35348
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
35349
- "declarations": [
35350
- {
35351
- "kind": "class",
35352
- "description": "",
35353
- "name": "FileAttachments",
35354
- "members": [
35355
- {
35356
- "kind": "field",
35357
- "name": "_fileAttachmentsTypes",
35358
- "type": {
35359
- "text": "FileAttachmentsType[]"
35360
- },
35361
- "privacy": "private",
35362
- "readonly": true,
35363
- "default": "[]"
35364
- },
35365
- {
35366
- "kind": "field",
35367
- "name": "elementRef",
35368
- "type": {
35369
- "text": "HTMLElement"
35370
- },
35371
- "readonly": true
35372
- },
35373
- {
35374
- "kind": "method",
35375
- "name": "addType",
35376
- "parameters": [
35377
- {
35378
- "name": "deepChat",
35379
- "type": {
35380
- "text": "DeepChat"
35381
- }
35382
- },
35383
- {
35384
- "name": "files",
35385
- "type": {
35386
- "text": "FileAttachmentsT"
35387
- }
35388
- },
35389
- {
35390
- "name": "type",
35391
- "type": {
35392
- "text": "keyof ServiceFileTypes"
35393
- }
35394
- }
35395
- ]
35396
- },
35397
- {
35398
- "kind": "method",
35399
- "name": "createAttachmentContainer",
35400
- "privacy": "private"
35401
- },
35402
- {
35403
- "kind": "method",
35404
- "name": "toggleContainerDisplay",
35405
- "privacy": "private",
35406
- "parameters": [
35407
- {
35408
- "name": "display",
35409
- "type": {
35410
- "text": "boolean"
35411
- }
35412
- }
35413
- ]
35414
- },
35415
- {
35416
- "kind": "method",
35417
- "name": "getAllFileData"
35418
- },
35419
- {
35420
- "kind": "method",
35421
- "name": "completePlaceholders"
35422
- },
35423
- {
35424
- "kind": "method",
35425
- "name": "addFilesToType",
35426
- "privacy": "public",
35427
- "static": true,
35428
- "parameters": [
35429
- {
35430
- "name": "files",
35431
- "type": {
35432
- "text": "File[]"
35433
- }
35434
- },
35435
- {
35436
- "name": "fileAttachmentTypes",
35437
- "type": {
35438
- "text": "FileAttachmentsType[]"
35439
- }
35440
- }
35441
- ]
35442
- },
35443
- {
35444
- "kind": "method",
35445
- "name": "addFilesToAnyType",
35446
- "parameters": [
35447
- {
35448
- "name": "files",
35449
- "type": {
35450
- "text": "File[]"
35451
- }
35452
- }
35453
- ]
35454
- },
35455
- {
35456
- "kind": "method",
35457
- "name": "removeAllFiles"
35458
- },
35459
- {
35460
- "kind": "method",
35461
- "name": "getNumberOfTypes"
35462
- }
35463
- ]
35464
- }
35465
- ],
35466
- "exports": [
35467
- {
35468
- "kind": "js",
35469
- "name": "FileAttachments",
35470
- "declaration": {
35471
- "name": "FileAttachments",
35472
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
35473
- }
35474
- }
35475
- ]
35476
- },
35477
- {
35478
- "kind": "javascript-module",
35479
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
35480
- "declarations": [
35481
- {
35482
- "kind": "class",
35483
- "description": "",
35484
- "name": "NewFileName",
35485
- "members": [
35486
- {
35487
- "kind": "method",
35488
- "name": "getFileName",
35489
- "privacy": "public",
35490
- "static": true,
35491
- "parameters": [
35492
- {
35493
- "name": "prefix",
35494
- "type": {
35495
- "text": "string"
35496
- }
35497
- },
35498
- {
35499
- "name": "extension",
35500
- "type": {
35501
- "text": "string"
35502
- }
35503
- }
35504
- ]
35505
- }
35506
- ]
35507
- }
35508
- ],
35509
- "exports": [
35510
- {
35511
- "kind": "js",
35512
- "name": "NewFileName",
35513
- "declaration": {
35514
- "name": "NewFileName",
35515
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
35516
- }
35517
- }
35518
- ]
35519
- },
35520
35520
  {
35521
35521
  "kind": "javascript-module",
35522
35522
  "path": "src/views/chat/input/validation/validationHandler.ts",
@@ -36173,6 +36173,80 @@
36173
36173
  }
36174
36174
  ]
36175
36175
  },
36176
+ {
36177
+ "kind": "javascript-module",
36178
+ "path": "src/views/chat/messages/textToSpeech/textToSpeech.ts",
36179
+ "declarations": [
36180
+ {
36181
+ "kind": "class",
36182
+ "description": "",
36183
+ "name": "TextToSpeech",
36184
+ "members": [
36185
+ {
36186
+ "kind": "field",
36187
+ "name": "LOAD_VOICES_MS",
36188
+ "type": {
36189
+ "text": "number"
36190
+ },
36191
+ "privacy": "private",
36192
+ "static": true,
36193
+ "readonly": true,
36194
+ "default": "200"
36195
+ },
36196
+ {
36197
+ "kind": "method",
36198
+ "name": "speak",
36199
+ "privacy": "public",
36200
+ "static": true,
36201
+ "parameters": [
36202
+ {
36203
+ "name": "text",
36204
+ "type": {
36205
+ "text": "string"
36206
+ }
36207
+ },
36208
+ {
36209
+ "name": "config",
36210
+ "type": {
36211
+ "text": "ProcessedTextToSpeechConfig"
36212
+ }
36213
+ }
36214
+ ]
36215
+ },
36216
+ {
36217
+ "kind": "method",
36218
+ "name": "processConfig",
36219
+ "privacy": "public",
36220
+ "static": true,
36221
+ "parameters": [
36222
+ {
36223
+ "name": "config",
36224
+ "type": {
36225
+ "text": "boolean | TextToSpeechConfig"
36226
+ }
36227
+ },
36228
+ {
36229
+ "name": "set",
36230
+ "type": {
36231
+ "text": "(config: ProcessedTextToSpeechConfig) => void"
36232
+ }
36233
+ }
36234
+ ]
36235
+ }
36236
+ ]
36237
+ }
36238
+ ],
36239
+ "exports": [
36240
+ {
36241
+ "kind": "js",
36242
+ "name": "TextToSpeech",
36243
+ "declaration": {
36244
+ "name": "TextToSpeech",
36245
+ "module": "src/views/chat/messages/textToSpeech/textToSpeech.ts"
36246
+ }
36247
+ }
36248
+ ]
36249
+ },
36176
36250
  {
36177
36251
  "kind": "javascript-module",
36178
36252
  "path": "src/views/chat/messages/stream/messageStream.ts",
@@ -36448,80 +36522,6 @@
36448
36522
  }
36449
36523
  ]
36450
36524
  },
36451
- {
36452
- "kind": "javascript-module",
36453
- "path": "src/views/chat/messages/textToSpeech/textToSpeech.ts",
36454
- "declarations": [
36455
- {
36456
- "kind": "class",
36457
- "description": "",
36458
- "name": "TextToSpeech",
36459
- "members": [
36460
- {
36461
- "kind": "field",
36462
- "name": "LOAD_VOICES_MS",
36463
- "type": {
36464
- "text": "number"
36465
- },
36466
- "privacy": "private",
36467
- "static": true,
36468
- "readonly": true,
36469
- "default": "200"
36470
- },
36471
- {
36472
- "kind": "method",
36473
- "name": "speak",
36474
- "privacy": "public",
36475
- "static": true,
36476
- "parameters": [
36477
- {
36478
- "name": "text",
36479
- "type": {
36480
- "text": "string"
36481
- }
36482
- },
36483
- {
36484
- "name": "config",
36485
- "type": {
36486
- "text": "ProcessedTextToSpeechConfig"
36487
- }
36488
- }
36489
- ]
36490
- },
36491
- {
36492
- "kind": "method",
36493
- "name": "processConfig",
36494
- "privacy": "public",
36495
- "static": true,
36496
- "parameters": [
36497
- {
36498
- "name": "config",
36499
- "type": {
36500
- "text": "boolean | TextToSpeechConfig"
36501
- }
36502
- },
36503
- {
36504
- "name": "set",
36505
- "type": {
36506
- "text": "(config: ProcessedTextToSpeechConfig) => void"
36507
- }
36508
- }
36509
- ]
36510
- }
36511
- ]
36512
- }
36513
- ],
36514
- "exports": [
36515
- {
36516
- "kind": "js",
36517
- "name": "TextToSpeech",
36518
- "declaration": {
36519
- "name": "TextToSpeech",
36520
- "module": "src/views/chat/messages/textToSpeech/textToSpeech.ts"
36521
- }
36522
- }
36523
- ]
36524
- },
36525
36525
  {
36526
36526
  "kind": "javascript-module",
36527
36527
  "path": "src/views/chat/input/buttons/camera/cameraButton.ts",