deep-chat-dev 9.0.183 → 9.0.184

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.
@@ -914,6 +914,342 @@
914
914
  }
915
915
  ]
916
916
  },
917
+ {
918
+ "kind": "javascript-module",
919
+ "path": "src/types/APIKey.ts",
920
+ "declarations": [],
921
+ "exports": []
922
+ },
923
+ {
924
+ "kind": "javascript-module",
925
+ "path": "src/types/GCP.ts",
926
+ "declarations": [],
927
+ "exports": []
928
+ },
929
+ {
930
+ "kind": "javascript-module",
931
+ "path": "src/types/assemblyAI.ts",
932
+ "declarations": [],
933
+ "exports": []
934
+ },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/types/assemblyAIResult.ts",
938
+ "declarations": [],
939
+ "exports": []
940
+ },
941
+ {
942
+ "kind": "javascript-module",
943
+ "path": "src/types/avatars.ts",
944
+ "declarations": [],
945
+ "exports": []
946
+ },
947
+ {
948
+ "kind": "javascript-module",
949
+ "path": "src/types/azure.ts",
950
+ "declarations": [],
951
+ "exports": []
952
+ },
953
+ {
954
+ "kind": "javascript-module",
955
+ "path": "src/types/azureResult.ts",
956
+ "declarations": [],
957
+ "exports": []
958
+ },
959
+ {
960
+ "kind": "javascript-module",
961
+ "path": "src/types/button.ts",
962
+ "declarations": [],
963
+ "exports": []
964
+ },
965
+ {
966
+ "kind": "javascript-module",
967
+ "path": "src/types/buttonInternal.ts",
968
+ "declarations": [],
969
+ "exports": []
970
+ },
971
+ {
972
+ "kind": "javascript-module",
973
+ "path": "src/types/buttonTypes.ts",
974
+ "declarations": [],
975
+ "exports": []
976
+ },
977
+ {
978
+ "kind": "javascript-module",
979
+ "path": "src/types/camera.ts",
980
+ "declarations": [],
981
+ "exports": []
982
+ },
983
+ {
984
+ "kind": "javascript-module",
985
+ "path": "src/types/chatLimits.ts",
986
+ "declarations": [],
987
+ "exports": []
988
+ },
989
+ {
990
+ "kind": "javascript-module",
991
+ "path": "src/types/cohere.ts",
992
+ "declarations": [],
993
+ "exports": []
994
+ },
995
+ {
996
+ "kind": "javascript-module",
997
+ "path": "src/types/cohereResult.ts",
998
+ "declarations": [],
999
+ "exports": []
1000
+ },
1001
+ {
1002
+ "kind": "javascript-module",
1003
+ "path": "src/types/connect.ts",
1004
+ "declarations": [],
1005
+ "exports": []
1006
+ },
1007
+ {
1008
+ "kind": "javascript-module",
1009
+ "path": "src/types/demo.ts",
1010
+ "declarations": [],
1011
+ "exports": []
1012
+ },
1013
+ {
1014
+ "kind": "javascript-module",
1015
+ "path": "src/types/directConnection.ts",
1016
+ "declarations": [],
1017
+ "exports": []
1018
+ },
1019
+ {
1020
+ "kind": "javascript-module",
1021
+ "path": "src/types/dropupStyles.ts",
1022
+ "declarations": [],
1023
+ "exports": []
1024
+ },
1025
+ {
1026
+ "kind": "javascript-module",
1027
+ "path": "src/types/error.ts",
1028
+ "declarations": [],
1029
+ "exports": []
1030
+ },
1031
+ {
1032
+ "kind": "javascript-module",
1033
+ "path": "src/types/errorInternal.ts",
1034
+ "declarations": [],
1035
+ "exports": []
1036
+ },
1037
+ {
1038
+ "kind": "javascript-module",
1039
+ "path": "src/types/fileAttachments.ts",
1040
+ "declarations": [],
1041
+ "exports": []
1042
+ },
1043
+ {
1044
+ "kind": "javascript-module",
1045
+ "path": "src/types/fileServiceConfigs.ts",
1046
+ "declarations": [],
1047
+ "exports": []
1048
+ },
1049
+ {
1050
+ "kind": "javascript-module",
1051
+ "path": "src/types/fileTypes.ts",
1052
+ "declarations": [],
1053
+ "exports": []
1054
+ },
1055
+ {
1056
+ "kind": "javascript-module",
1057
+ "path": "src/types/genericInputButton.ts",
1058
+ "declarations": [],
1059
+ "exports": []
1060
+ },
1061
+ {
1062
+ "kind": "javascript-module",
1063
+ "path": "src/types/handler.ts",
1064
+ "declarations": [],
1065
+ "exports": []
1066
+ },
1067
+ {
1068
+ "kind": "javascript-module",
1069
+ "path": "src/types/headers.ts",
1070
+ "declarations": [],
1071
+ "exports": []
1072
+ },
1073
+ {
1074
+ "kind": "javascript-module",
1075
+ "path": "src/types/html.ts",
1076
+ "declarations": [],
1077
+ "exports": []
1078
+ },
1079
+ {
1080
+ "kind": "javascript-module",
1081
+ "path": "src/types/huggingFace.ts",
1082
+ "declarations": [],
1083
+ "exports": []
1084
+ },
1085
+ {
1086
+ "kind": "javascript-module",
1087
+ "path": "src/types/huggingFaceResult.ts",
1088
+ "declarations": [],
1089
+ "exports": []
1090
+ },
1091
+ {
1092
+ "kind": "javascript-module",
1093
+ "path": "src/types/insertKeyViewStyles.ts",
1094
+ "declarations": [],
1095
+ "exports": []
1096
+ },
1097
+ {
1098
+ "kind": "javascript-module",
1099
+ "path": "src/types/interceptors.ts",
1100
+ "declarations": [],
1101
+ "exports": []
1102
+ },
1103
+ {
1104
+ "kind": "javascript-module",
1105
+ "path": "src/types/keyVerificationDetails.ts",
1106
+ "declarations": [],
1107
+ "exports": []
1108
+ },
1109
+ {
1110
+ "kind": "javascript-module",
1111
+ "path": "src/types/messageFile.ts",
1112
+ "declarations": [],
1113
+ "exports": []
1114
+ },
1115
+ {
1116
+ "kind": "javascript-module",
1117
+ "path": "src/types/messages.ts",
1118
+ "declarations": [],
1119
+ "exports": []
1120
+ },
1121
+ {
1122
+ "kind": "javascript-module",
1123
+ "path": "src/types/messagesInternal.ts",
1124
+ "declarations": [],
1125
+ "exports": []
1126
+ },
1127
+ {
1128
+ "kind": "javascript-module",
1129
+ "path": "src/types/microphone.ts",
1130
+ "declarations": [],
1131
+ "exports": []
1132
+ },
1133
+ {
1134
+ "kind": "javascript-module",
1135
+ "path": "src/types/mistral.ts",
1136
+ "declarations": [],
1137
+ "exports": []
1138
+ },
1139
+ {
1140
+ "kind": "javascript-module",
1141
+ "path": "src/types/names.ts",
1142
+ "declarations": [],
1143
+ "exports": []
1144
+ },
1145
+ {
1146
+ "kind": "javascript-module",
1147
+ "path": "src/types/object.ts",
1148
+ "declarations": [],
1149
+ "exports": []
1150
+ },
1151
+ {
1152
+ "kind": "javascript-module",
1153
+ "path": "src/types/openAI.ts",
1154
+ "declarations": [],
1155
+ "exports": []
1156
+ },
1157
+ {
1158
+ "kind": "javascript-module",
1159
+ "path": "src/types/openAIInternal.ts",
1160
+ "declarations": [],
1161
+ "exports": []
1162
+ },
1163
+ {
1164
+ "kind": "javascript-module",
1165
+ "path": "src/types/openAIResult.ts",
1166
+ "declarations": [],
1167
+ "exports": []
1168
+ },
1169
+ {
1170
+ "kind": "javascript-module",
1171
+ "path": "src/types/permittedErrorMessage.ts",
1172
+ "declarations": [],
1173
+ "exports": []
1174
+ },
1175
+ {
1176
+ "kind": "javascript-module",
1177
+ "path": "src/types/response.ts",
1178
+ "declarations": [],
1179
+ "exports": []
1180
+ },
1181
+ {
1182
+ "kind": "javascript-module",
1183
+ "path": "src/types/responseInternal.ts",
1184
+ "declarations": [],
1185
+ "exports": []
1186
+ },
1187
+ {
1188
+ "kind": "javascript-module",
1189
+ "path": "src/types/stabilityAI.ts",
1190
+ "declarations": [],
1191
+ "exports": []
1192
+ },
1193
+ {
1194
+ "kind": "javascript-module",
1195
+ "path": "src/types/stabilityAIResult.ts",
1196
+ "declarations": [],
1197
+ "exports": []
1198
+ },
1199
+ {
1200
+ "kind": "javascript-module",
1201
+ "path": "src/types/stream.ts",
1202
+ "declarations": [],
1203
+ "exports": []
1204
+ },
1205
+ {
1206
+ "kind": "javascript-module",
1207
+ "path": "src/types/styles.ts",
1208
+ "declarations": [],
1209
+ "exports": []
1210
+ },
1211
+ {
1212
+ "kind": "javascript-module",
1213
+ "path": "src/types/submitButton.ts",
1214
+ "declarations": [],
1215
+ "exports": []
1216
+ },
1217
+ {
1218
+ "kind": "javascript-module",
1219
+ "path": "src/types/textInput.ts",
1220
+ "declarations": [],
1221
+ "exports": []
1222
+ },
1223
+ {
1224
+ "kind": "javascript-module",
1225
+ "path": "src/types/textToSpeech.ts",
1226
+ "declarations": [],
1227
+ "exports": []
1228
+ },
1229
+ {
1230
+ "kind": "javascript-module",
1231
+ "path": "src/types/typeConverters.ts",
1232
+ "declarations": [],
1233
+ "exports": []
1234
+ },
1235
+ {
1236
+ "kind": "javascript-module",
1237
+ "path": "src/types/utilityTypes.ts",
1238
+ "declarations": [],
1239
+ "exports": []
1240
+ },
1241
+ {
1242
+ "kind": "javascript-module",
1243
+ "path": "src/types/validateInput.ts",
1244
+ "declarations": [],
1245
+ "exports": []
1246
+ },
1247
+ {
1248
+ "kind": "javascript-module",
1249
+ "path": "src/types/validationHandler.ts",
1250
+ "declarations": [],
1251
+ "exports": []
1252
+ },
917
1253
  {
918
1254
  "kind": "javascript-module",
919
1255
  "path": "src/webModel/webModel.ts",
@@ -2024,342 +2360,6 @@
2024
2360
  "declarations": [],
2025
2361
  "exports": []
2026
2362
  },
2027
- {
2028
- "kind": "javascript-module",
2029
- "path": "src/types/APIKey.ts",
2030
- "declarations": [],
2031
- "exports": []
2032
- },
2033
- {
2034
- "kind": "javascript-module",
2035
- "path": "src/types/GCP.ts",
2036
- "declarations": [],
2037
- "exports": []
2038
- },
2039
- {
2040
- "kind": "javascript-module",
2041
- "path": "src/types/assemblyAI.ts",
2042
- "declarations": [],
2043
- "exports": []
2044
- },
2045
- {
2046
- "kind": "javascript-module",
2047
- "path": "src/types/assemblyAIResult.ts",
2048
- "declarations": [],
2049
- "exports": []
2050
- },
2051
- {
2052
- "kind": "javascript-module",
2053
- "path": "src/types/avatars.ts",
2054
- "declarations": [],
2055
- "exports": []
2056
- },
2057
- {
2058
- "kind": "javascript-module",
2059
- "path": "src/types/azure.ts",
2060
- "declarations": [],
2061
- "exports": []
2062
- },
2063
- {
2064
- "kind": "javascript-module",
2065
- "path": "src/types/azureResult.ts",
2066
- "declarations": [],
2067
- "exports": []
2068
- },
2069
- {
2070
- "kind": "javascript-module",
2071
- "path": "src/types/button.ts",
2072
- "declarations": [],
2073
- "exports": []
2074
- },
2075
- {
2076
- "kind": "javascript-module",
2077
- "path": "src/types/buttonInternal.ts",
2078
- "declarations": [],
2079
- "exports": []
2080
- },
2081
- {
2082
- "kind": "javascript-module",
2083
- "path": "src/types/buttonTypes.ts",
2084
- "declarations": [],
2085
- "exports": []
2086
- },
2087
- {
2088
- "kind": "javascript-module",
2089
- "path": "src/types/camera.ts",
2090
- "declarations": [],
2091
- "exports": []
2092
- },
2093
- {
2094
- "kind": "javascript-module",
2095
- "path": "src/types/chatLimits.ts",
2096
- "declarations": [],
2097
- "exports": []
2098
- },
2099
- {
2100
- "kind": "javascript-module",
2101
- "path": "src/types/cohere.ts",
2102
- "declarations": [],
2103
- "exports": []
2104
- },
2105
- {
2106
- "kind": "javascript-module",
2107
- "path": "src/types/cohereResult.ts",
2108
- "declarations": [],
2109
- "exports": []
2110
- },
2111
- {
2112
- "kind": "javascript-module",
2113
- "path": "src/types/connect.ts",
2114
- "declarations": [],
2115
- "exports": []
2116
- },
2117
- {
2118
- "kind": "javascript-module",
2119
- "path": "src/types/demo.ts",
2120
- "declarations": [],
2121
- "exports": []
2122
- },
2123
- {
2124
- "kind": "javascript-module",
2125
- "path": "src/types/directConnection.ts",
2126
- "declarations": [],
2127
- "exports": []
2128
- },
2129
- {
2130
- "kind": "javascript-module",
2131
- "path": "src/types/dropupStyles.ts",
2132
- "declarations": [],
2133
- "exports": []
2134
- },
2135
- {
2136
- "kind": "javascript-module",
2137
- "path": "src/types/error.ts",
2138
- "declarations": [],
2139
- "exports": []
2140
- },
2141
- {
2142
- "kind": "javascript-module",
2143
- "path": "src/types/errorInternal.ts",
2144
- "declarations": [],
2145
- "exports": []
2146
- },
2147
- {
2148
- "kind": "javascript-module",
2149
- "path": "src/types/fileAttachments.ts",
2150
- "declarations": [],
2151
- "exports": []
2152
- },
2153
- {
2154
- "kind": "javascript-module",
2155
- "path": "src/types/fileServiceConfigs.ts",
2156
- "declarations": [],
2157
- "exports": []
2158
- },
2159
- {
2160
- "kind": "javascript-module",
2161
- "path": "src/types/fileTypes.ts",
2162
- "declarations": [],
2163
- "exports": []
2164
- },
2165
- {
2166
- "kind": "javascript-module",
2167
- "path": "src/types/genericInputButton.ts",
2168
- "declarations": [],
2169
- "exports": []
2170
- },
2171
- {
2172
- "kind": "javascript-module",
2173
- "path": "src/types/handler.ts",
2174
- "declarations": [],
2175
- "exports": []
2176
- },
2177
- {
2178
- "kind": "javascript-module",
2179
- "path": "src/types/headers.ts",
2180
- "declarations": [],
2181
- "exports": []
2182
- },
2183
- {
2184
- "kind": "javascript-module",
2185
- "path": "src/types/html.ts",
2186
- "declarations": [],
2187
- "exports": []
2188
- },
2189
- {
2190
- "kind": "javascript-module",
2191
- "path": "src/types/huggingFace.ts",
2192
- "declarations": [],
2193
- "exports": []
2194
- },
2195
- {
2196
- "kind": "javascript-module",
2197
- "path": "src/types/huggingFaceResult.ts",
2198
- "declarations": [],
2199
- "exports": []
2200
- },
2201
- {
2202
- "kind": "javascript-module",
2203
- "path": "src/types/insertKeyViewStyles.ts",
2204
- "declarations": [],
2205
- "exports": []
2206
- },
2207
- {
2208
- "kind": "javascript-module",
2209
- "path": "src/types/interceptors.ts",
2210
- "declarations": [],
2211
- "exports": []
2212
- },
2213
- {
2214
- "kind": "javascript-module",
2215
- "path": "src/types/keyVerificationDetails.ts",
2216
- "declarations": [],
2217
- "exports": []
2218
- },
2219
- {
2220
- "kind": "javascript-module",
2221
- "path": "src/types/messageFile.ts",
2222
- "declarations": [],
2223
- "exports": []
2224
- },
2225
- {
2226
- "kind": "javascript-module",
2227
- "path": "src/types/messages.ts",
2228
- "declarations": [],
2229
- "exports": []
2230
- },
2231
- {
2232
- "kind": "javascript-module",
2233
- "path": "src/types/messagesInternal.ts",
2234
- "declarations": [],
2235
- "exports": []
2236
- },
2237
- {
2238
- "kind": "javascript-module",
2239
- "path": "src/types/microphone.ts",
2240
- "declarations": [],
2241
- "exports": []
2242
- },
2243
- {
2244
- "kind": "javascript-module",
2245
- "path": "src/types/mistral.ts",
2246
- "declarations": [],
2247
- "exports": []
2248
- },
2249
- {
2250
- "kind": "javascript-module",
2251
- "path": "src/types/names.ts",
2252
- "declarations": [],
2253
- "exports": []
2254
- },
2255
- {
2256
- "kind": "javascript-module",
2257
- "path": "src/types/object.ts",
2258
- "declarations": [],
2259
- "exports": []
2260
- },
2261
- {
2262
- "kind": "javascript-module",
2263
- "path": "src/types/openAI.ts",
2264
- "declarations": [],
2265
- "exports": []
2266
- },
2267
- {
2268
- "kind": "javascript-module",
2269
- "path": "src/types/openAIInternal.ts",
2270
- "declarations": [],
2271
- "exports": []
2272
- },
2273
- {
2274
- "kind": "javascript-module",
2275
- "path": "src/types/openAIResult.ts",
2276
- "declarations": [],
2277
- "exports": []
2278
- },
2279
- {
2280
- "kind": "javascript-module",
2281
- "path": "src/types/permittedErrorMessage.ts",
2282
- "declarations": [],
2283
- "exports": []
2284
- },
2285
- {
2286
- "kind": "javascript-module",
2287
- "path": "src/types/response.ts",
2288
- "declarations": [],
2289
- "exports": []
2290
- },
2291
- {
2292
- "kind": "javascript-module",
2293
- "path": "src/types/responseInternal.ts",
2294
- "declarations": [],
2295
- "exports": []
2296
- },
2297
- {
2298
- "kind": "javascript-module",
2299
- "path": "src/types/stabilityAI.ts",
2300
- "declarations": [],
2301
- "exports": []
2302
- },
2303
- {
2304
- "kind": "javascript-module",
2305
- "path": "src/types/stabilityAIResult.ts",
2306
- "declarations": [],
2307
- "exports": []
2308
- },
2309
- {
2310
- "kind": "javascript-module",
2311
- "path": "src/types/stream.ts",
2312
- "declarations": [],
2313
- "exports": []
2314
- },
2315
- {
2316
- "kind": "javascript-module",
2317
- "path": "src/types/styles.ts",
2318
- "declarations": [],
2319
- "exports": []
2320
- },
2321
- {
2322
- "kind": "javascript-module",
2323
- "path": "src/types/submitButton.ts",
2324
- "declarations": [],
2325
- "exports": []
2326
- },
2327
- {
2328
- "kind": "javascript-module",
2329
- "path": "src/types/textInput.ts",
2330
- "declarations": [],
2331
- "exports": []
2332
- },
2333
- {
2334
- "kind": "javascript-module",
2335
- "path": "src/types/textToSpeech.ts",
2336
- "declarations": [],
2337
- "exports": []
2338
- },
2339
- {
2340
- "kind": "javascript-module",
2341
- "path": "src/types/typeConverters.ts",
2342
- "declarations": [],
2343
- "exports": []
2344
- },
2345
- {
2346
- "kind": "javascript-module",
2347
- "path": "src/types/utilityTypes.ts",
2348
- "declarations": [],
2349
- "exports": []
2350
- },
2351
- {
2352
- "kind": "javascript-module",
2353
- "path": "src/types/validateInput.ts",
2354
- "declarations": [],
2355
- "exports": []
2356
- },
2357
- {
2358
- "kind": "javascript-module",
2359
- "path": "src/types/validationHandler.ts",
2360
- "declarations": [],
2361
- "exports": []
2362
- },
2363
2363
  {
2364
2364
  "kind": "javascript-module",
2365
2365
  "path": "src/services/assemblyAI/assemblyAIAudioIO.ts",
@@ -3012,20 +3012,94 @@
3012
3012
  },
3013
3013
  {
3014
3014
  "kind": "javascript-module",
3015
- "path": "src/services/azure/azureLanguageIO.ts",
3015
+ "path": "src/services/cohere/cohereChatIO.ts",
3016
3016
  "declarations": [
3017
3017
  {
3018
3018
  "kind": "class",
3019
3019
  "description": "",
3020
- "name": "AzureLanguageIO",
3020
+ "name": "CohereChatIO",
3021
3021
  "members": [
3022
+ {
3023
+ "kind": "method",
3024
+ "name": "preprocessBody",
3025
+ "privacy": "private",
3026
+ "parameters": [
3027
+ {
3028
+ "name": "body",
3029
+ "type": {
3030
+ "text": "CohereChatConfig"
3031
+ }
3032
+ },
3033
+ {
3034
+ "name": "pMessages",
3035
+ "type": {
3036
+ "text": "MessageContentI[]"
3037
+ }
3038
+ }
3039
+ ]
3040
+ },
3041
+ {
3042
+ "kind": "method",
3043
+ "name": "callServiceAPI",
3044
+ "parameters": [
3045
+ {
3046
+ "name": "messages",
3047
+ "type": {
3048
+ "text": "Messages"
3049
+ }
3050
+ },
3051
+ {
3052
+ "name": "pMessages",
3053
+ "type": {
3054
+ "text": "MessageContentI[]"
3055
+ }
3056
+ }
3057
+ ],
3058
+ "inheritedFrom": {
3059
+ "name": "BaseServiceIO",
3060
+ "module": "src/services/utils/baseServiceIO.ts"
3061
+ }
3062
+ },
3063
+ {
3064
+ "kind": "method",
3065
+ "name": "extractResultData",
3066
+ "return": {
3067
+ "type": {
3068
+ "text": "Promise<Response>"
3069
+ }
3070
+ },
3071
+ "parameters": [
3072
+ {
3073
+ "name": "result",
3074
+ "type": {
3075
+ "text": "CohereChatResult"
3076
+ }
3077
+ }
3078
+ ],
3079
+ "inheritedFrom": {
3080
+ "name": "BaseServiceIO",
3081
+ "module": "src/services/utils/baseServiceIO.ts"
3082
+ }
3083
+ },
3084
+ {
3085
+ "kind": "field",
3086
+ "name": "maxMessages",
3087
+ "type": {
3088
+ "text": "number | undefined"
3089
+ },
3090
+ "default": "-1",
3091
+ "inheritedFrom": {
3092
+ "name": "BaseServiceIO",
3093
+ "module": "src/services/utils/baseServiceIO.ts"
3094
+ }
3095
+ },
3022
3096
  {
3023
3097
  "kind": "field",
3024
3098
  "name": "insertKeyPlaceholderText",
3025
3099
  "type": {
3026
3100
  "text": "string"
3027
3101
  },
3028
- "default": "'Azure Language Subscription Key'",
3102
+ "default": "'Cohere API Key'",
3029
3103
  "inheritedFrom": {
3030
3104
  "name": "DirectServiceIO",
3031
3105
  "module": "src/services/utils/directServiceIO.ts"
@@ -3037,19 +3111,47 @@
3037
3111
  "type": {
3038
3112
  "text": "string"
3039
3113
  },
3040
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
3114
+ "default": "'https://dashboard.cohere.ai/api-keys'",
3041
3115
  "inheritedFrom": {
3042
3116
  "name": "DirectServiceIO",
3043
3117
  "module": "src/services/utils/directServiceIO.ts"
3044
3118
  }
3045
3119
  },
3120
+ {
3121
+ "kind": "field",
3122
+ "name": "textInputPlaceholderText",
3123
+ "type": {
3124
+ "text": "string"
3125
+ },
3126
+ "default": "inputPlaceholder",
3127
+ "inheritedFrom": {
3128
+ "name": "CohereIO",
3129
+ "module": "src/services/cohere/cohereIO.ts"
3130
+ }
3131
+ },
3046
3132
  {
3047
3133
  "kind": "field",
3048
3134
  "name": "permittedErrorPrefixes",
3049
3135
  "type": {
3050
3136
  "text": "array"
3051
3137
  },
3052
- "default": "['Access']"
3138
+ "default": "['invalid']",
3139
+ "inheritedFrom": {
3140
+ "name": "CohereIO",
3141
+ "module": "src/services/cohere/cohereIO.ts"
3142
+ }
3143
+ },
3144
+ {
3145
+ "kind": "field",
3146
+ "name": "url",
3147
+ "type": {
3148
+ "text": "string"
3149
+ },
3150
+ "default": "url",
3151
+ "inheritedFrom": {
3152
+ "name": "CohereIO",
3153
+ "module": "src/services/cohere/cohereIO.ts"
3154
+ }
3053
3155
  },
3054
3156
  {
3055
3157
  "kind": "field",
@@ -3326,17 +3428,6 @@
3326
3428
  "module": "src/services/utils/baseServiceIO.ts"
3327
3429
  }
3328
3430
  },
3329
- {
3330
- "kind": "field",
3331
- "name": "maxMessages",
3332
- "type": {
3333
- "text": "number | undefined"
3334
- },
3335
- "inheritedFrom": {
3336
- "name": "BaseServiceIO",
3337
- "module": "src/services/utils/baseServiceIO.ts"
3338
- }
3339
- },
3340
3431
  {
3341
3432
  "kind": "field",
3342
3433
  "name": "demo",
@@ -3510,35 +3601,6 @@
3510
3601
  "module": "src/services/utils/baseServiceIO.ts"
3511
3602
  }
3512
3603
  },
3513
- {
3514
- "kind": "method",
3515
- "name": "callServiceAPI",
3516
- "parameters": [
3517
- {
3518
- "name": "messages",
3519
- "type": {
3520
- "text": "Messages"
3521
- }
3522
- },
3523
- {
3524
- "name": "pMessages",
3525
- "type": {
3526
- "text": "MessageContentI[]"
3527
- }
3528
- },
3529
- {
3530
- "name": "files",
3531
- "optional": true,
3532
- "type": {
3533
- "text": "File[]"
3534
- }
3535
- }
3536
- ],
3537
- "inheritedFrom": {
3538
- "name": "BaseServiceIO",
3539
- "module": "src/services/utils/baseServiceIO.ts"
3540
- }
3541
- },
3542
3604
  {
3543
3605
  "kind": "method",
3544
3606
  "name": "callAPI",
@@ -3561,27 +3623,6 @@
3561
3623
  "module": "src/services/utils/baseServiceIO.ts"
3562
3624
  }
3563
3625
  },
3564
- {
3565
- "kind": "method",
3566
- "name": "extractResultData",
3567
- "return": {
3568
- "type": {
3569
- "text": "Promise<Response | {makingAnotherRequest: true}>"
3570
- }
3571
- },
3572
- "parameters": [
3573
- {
3574
- "name": "result",
3575
- "type": {
3576
- "text": "any | Response"
3577
- }
3578
- }
3579
- ],
3580
- "inheritedFrom": {
3581
- "name": "BaseServiceIO",
3582
- "module": "src/services/utils/baseServiceIO.ts"
3583
- }
3584
- },
3585
3626
  {
3586
3627
  "kind": "method",
3587
3628
  "name": "isWebModel",
@@ -3593,30 +3634,30 @@
3593
3634
  }
3594
3635
  ],
3595
3636
  "superclass": {
3596
- "name": "DirectServiceIO",
3597
- "module": "/src/services/utils/directServiceIO"
3637
+ "name": "CohereIO",
3638
+ "module": "/src/services/cohere/cohereIO"
3598
3639
  }
3599
3640
  }
3600
3641
  ],
3601
3642
  "exports": [
3602
3643
  {
3603
3644
  "kind": "js",
3604
- "name": "AzureLanguageIO",
3645
+ "name": "CohereChatIO",
3605
3646
  "declaration": {
3606
- "name": "AzureLanguageIO",
3607
- "module": "src/services/azure/azureLanguageIO.ts"
3647
+ "name": "CohereChatIO",
3648
+ "module": "src/services/cohere/cohereChatIO.ts"
3608
3649
  }
3609
3650
  }
3610
3651
  ]
3611
3652
  },
3612
3653
  {
3613
3654
  "kind": "javascript-module",
3614
- "path": "src/services/azure/azureSpeechIO.ts",
3655
+ "path": "src/services/cohere/cohereIO.ts",
3615
3656
  "declarations": [
3616
3657
  {
3617
3658
  "kind": "class",
3618
3659
  "description": "",
3619
- "name": "AzureSpeechIO",
3660
+ "name": "CohereIO",
3620
3661
  "members": [
3621
3662
  {
3622
3663
  "kind": "field",
@@ -3624,7 +3665,7 @@
3624
3665
  "type": {
3625
3666
  "text": "string"
3626
3667
  },
3627
- "default": "'Azure Speech Subscription Key'",
3668
+ "default": "'Cohere API Key'",
3628
3669
  "inheritedFrom": {
3629
3670
  "name": "DirectServiceIO",
3630
3671
  "module": "src/services/utils/directServiceIO.ts"
@@ -3636,12 +3677,36 @@
3636
3677
  "type": {
3637
3678
  "text": "string"
3638
3679
  },
3639
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
3680
+ "default": "'https://dashboard.cohere.ai/api-keys'",
3640
3681
  "inheritedFrom": {
3641
3682
  "name": "DirectServiceIO",
3642
3683
  "module": "src/services/utils/directServiceIO.ts"
3643
3684
  }
3644
3685
  },
3686
+ {
3687
+ "kind": "field",
3688
+ "name": "textInputPlaceholderText",
3689
+ "type": {
3690
+ "text": "string"
3691
+ },
3692
+ "default": "inputPlaceholder"
3693
+ },
3694
+ {
3695
+ "kind": "field",
3696
+ "name": "permittedErrorPrefixes",
3697
+ "type": {
3698
+ "text": "array"
3699
+ },
3700
+ "default": "['invalid']"
3701
+ },
3702
+ {
3703
+ "kind": "field",
3704
+ "name": "url",
3705
+ "type": {
3706
+ "text": "string"
3707
+ },
3708
+ "default": "url"
3709
+ },
3645
3710
  {
3646
3711
  "kind": "field",
3647
3712
  "name": "key",
@@ -4192,81 +4257,37 @@
4192
4257
  "exports": [
4193
4258
  {
4194
4259
  "kind": "js",
4195
- "name": "AzureSpeechIO",
4260
+ "name": "CohereIO",
4196
4261
  "declaration": {
4197
- "name": "AzureSpeechIO",
4198
- "module": "src/services/azure/azureSpeechIO.ts"
4262
+ "name": "CohereIO",
4263
+ "module": "src/services/cohere/cohereIO.ts"
4199
4264
  }
4200
4265
  }
4201
4266
  ]
4202
4267
  },
4203
4268
  {
4204
4269
  "kind": "javascript-module",
4205
- "path": "src/services/azure/azureSpeechToTextIO.ts",
4270
+ "path": "src/services/cohere/cohereSummarizationIO.ts",
4206
4271
  "declarations": [
4207
4272
  {
4208
4273
  "kind": "class",
4209
4274
  "description": "",
4210
- "name": "AzureSpeechToTextIO",
4275
+ "name": "CohereSummarizationIO",
4211
4276
  "members": [
4212
- {
4213
- "kind": "field",
4214
- "name": "HELP_LINK",
4215
- "type": {
4216
- "text": "string"
4217
- },
4218
- "privacy": "private",
4219
- "static": true,
4220
- "readonly": true,
4221
- "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
4222
- },
4223
- {
4224
- "kind": "field",
4225
- "name": "introPanelMarkUp",
4226
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
4227
- },
4228
- {
4229
- "kind": "field",
4230
- "name": "url",
4231
- "type": {
4232
- "text": "string"
4233
- },
4234
- "default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
4235
- },
4236
- {
4237
- "kind": "field",
4238
- "name": "isTextInputDisabled",
4239
- "type": {
4240
- "text": "boolean"
4241
- },
4242
- "default": "true"
4243
- },
4244
- {
4245
- "kind": "field",
4246
- "name": "textInputPlaceholderText",
4247
- "type": {
4248
- "text": "string"
4249
- },
4250
- "default": "'Upload an audio file'"
4251
- },
4252
4277
  {
4253
4278
  "kind": "method",
4254
- "name": "canFileSendMessage",
4255
- "privacy": "private",
4256
- "static": true,
4279
+ "name": "preprocessBody",
4257
4280
  "parameters": [
4258
4281
  {
4259
- "name": "_",
4260
- "optional": true,
4282
+ "name": "body",
4261
4283
  "type": {
4262
- "text": "string"
4284
+ "text": "CohereSummarizationConfig"
4263
4285
  }
4264
4286
  },
4265
4287
  {
4266
- "name": "files",
4267
- "optional": true,
4288
+ "name": "messages",
4268
4289
  "type": {
4269
- "text": "File[]"
4290
+ "text": "MessageContentI[]"
4270
4291
  }
4271
4292
  }
4272
4293
  ]
@@ -4282,17 +4303,10 @@
4282
4303
  }
4283
4304
  },
4284
4305
  {
4285
- "name": "_",
4306
+ "name": "pMessages",
4286
4307
  "type": {
4287
4308
  "text": "MessageContentI[]"
4288
4309
  }
4289
- },
4290
- {
4291
- "name": "files",
4292
- "optional": true,
4293
- "type": {
4294
- "text": "File[]"
4295
- }
4296
4310
  }
4297
4311
  ],
4298
4312
  "inheritedFrom": {
@@ -4312,7 +4326,7 @@
4312
4326
  {
4313
4327
  "name": "result",
4314
4328
  "type": {
4315
- "text": "AzureSpeechToTextResult"
4329
+ "text": "CohereSummarizationResult"
4316
4330
  }
4317
4331
  }
4318
4332
  ],
@@ -4323,74 +4337,62 @@
4323
4337
  },
4324
4338
  {
4325
4339
  "kind": "field",
4326
- "name": "canSendMessage",
4327
- "privacy": "private",
4328
- "static": true,
4329
- "parameters": [
4330
- {
4331
- "name": "text",
4332
- "optional": true,
4333
- "type": {
4334
- "text": "string"
4335
- }
4336
- },
4337
- {
4338
- "name": "files",
4339
- "optional": true,
4340
- "type": {
4341
- "text": "File[]"
4342
- }
4343
- },
4344
- {
4345
- "name": "isProgrammatic",
4346
- "optional": true,
4347
- "type": {
4348
- "text": "boolean"
4349
- }
4350
- }
4351
- ],
4340
+ "name": "insertKeyPlaceholderText",
4352
4341
  "type": {
4353
- "text": "ValidateInput"
4342
+ "text": "string"
4354
4343
  },
4344
+ "default": "'Cohere API Key'",
4355
4345
  "inheritedFrom": {
4356
- "name": "BaseServiceIO",
4357
- "module": "src/services/utils/baseServiceIO.ts"
4346
+ "name": "DirectServiceIO",
4347
+ "module": "src/services/utils/directServiceIO.ts"
4358
4348
  }
4359
4349
  },
4360
4350
  {
4361
4351
  "kind": "field",
4362
- "name": "recordAudio",
4352
+ "name": "keyHelpUrl",
4363
4353
  "type": {
4364
- "text": "MicrophoneFilesServiceConfig | undefined"
4354
+ "text": "string"
4365
4355
  },
4356
+ "default": "'https://dashboard.cohere.ai/api-keys'",
4366
4357
  "inheritedFrom": {
4367
- "name": "BaseServiceIO",
4368
- "module": "src/services/utils/baseServiceIO.ts"
4369
- },
4370
- "default": "undefined"
4358
+ "name": "DirectServiceIO",
4359
+ "module": "src/services/utils/directServiceIO.ts"
4360
+ }
4371
4361
  },
4372
4362
  {
4373
4363
  "kind": "field",
4374
- "name": "insertKeyPlaceholderText",
4364
+ "name": "textInputPlaceholderText",
4375
4365
  "type": {
4376
4366
  "text": "string"
4377
4367
  },
4378
- "default": "'Azure Speech Subscription Key'",
4368
+ "default": "inputPlaceholder",
4379
4369
  "inheritedFrom": {
4380
- "name": "DirectServiceIO",
4381
- "module": "src/services/utils/directServiceIO.ts"
4370
+ "name": "CohereIO",
4371
+ "module": "src/services/cohere/cohereIO.ts"
4382
4372
  }
4383
4373
  },
4384
4374
  {
4385
4375
  "kind": "field",
4386
- "name": "keyHelpUrl",
4376
+ "name": "permittedErrorPrefixes",
4377
+ "type": {
4378
+ "text": "array"
4379
+ },
4380
+ "default": "['invalid']",
4381
+ "inheritedFrom": {
4382
+ "name": "CohereIO",
4383
+ "module": "src/services/cohere/cohereIO.ts"
4384
+ }
4385
+ },
4386
+ {
4387
+ "kind": "field",
4388
+ "name": "url",
4387
4389
  "type": {
4388
4390
  "text": "string"
4389
4391
  },
4390
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
4392
+ "default": "url",
4391
4393
  "inheritedFrom": {
4392
- "name": "DirectServiceIO",
4393
- "module": "src/services/utils/directServiceIO.ts"
4394
+ "name": "CohereIO",
4395
+ "module": "src/services/cohere/cohereIO.ts"
4394
4396
  }
4395
4397
  },
4396
4398
  {
@@ -4587,6 +4589,42 @@
4587
4589
  "module": "src/services/utils/baseServiceIO.ts"
4588
4590
  }
4589
4591
  },
4592
+ {
4593
+ "kind": "field",
4594
+ "name": "canSendMessage",
4595
+ "privacy": "private",
4596
+ "static": true,
4597
+ "parameters": [
4598
+ {
4599
+ "name": "text",
4600
+ "optional": true,
4601
+ "type": {
4602
+ "text": "string"
4603
+ }
4604
+ },
4605
+ {
4606
+ "name": "files",
4607
+ "optional": true,
4608
+ "type": {
4609
+ "text": "File[]"
4610
+ }
4611
+ },
4612
+ {
4613
+ "name": "isProgrammatic",
4614
+ "optional": true,
4615
+ "type": {
4616
+ "text": "boolean"
4617
+ }
4618
+ }
4619
+ ],
4620
+ "type": {
4621
+ "text": "ValidateInput"
4622
+ },
4623
+ "inheritedFrom": {
4624
+ "name": "BaseServiceIO",
4625
+ "module": "src/services/utils/baseServiceIO.ts"
4626
+ }
4627
+ },
4590
4628
  {
4591
4629
  "kind": "field",
4592
4630
  "name": "fileTypes",
@@ -4610,6 +4648,17 @@
4610
4648
  "module": "src/services/utils/baseServiceIO.ts"
4611
4649
  }
4612
4650
  },
4651
+ {
4652
+ "kind": "field",
4653
+ "name": "recordAudio",
4654
+ "type": {
4655
+ "text": "MicrophoneFilesServiceConfig | undefined"
4656
+ },
4657
+ "inheritedFrom": {
4658
+ "name": "BaseServiceIO",
4659
+ "module": "src/services/utils/baseServiceIO.ts"
4660
+ }
4661
+ },
4613
4662
  {
4614
4663
  "kind": "field",
4615
4664
  "name": "totalMessagesMaxCharLength",
@@ -4838,55 +4887,31 @@
4838
4887
  }
4839
4888
  ],
4840
4889
  "superclass": {
4841
- "name": "AzureSpeechIO",
4842
- "module": "/src/services/azure/azureSpeechIO"
4890
+ "name": "CohereIO",
4891
+ "module": "/src/services/cohere/cohereIO"
4843
4892
  }
4844
4893
  }
4845
4894
  ],
4846
4895
  "exports": [
4847
4896
  {
4848
4897
  "kind": "js",
4849
- "name": "AzureSpeechToTextIO",
4898
+ "name": "CohereSummarizationIO",
4850
4899
  "declaration": {
4851
- "name": "AzureSpeechToTextIO",
4852
- "module": "src/services/azure/azureSpeechToTextIO.ts"
4900
+ "name": "CohereSummarizationIO",
4901
+ "module": "src/services/cohere/cohereSummarizationIO.ts"
4853
4902
  }
4854
4903
  }
4855
4904
  ]
4856
4905
  },
4857
4906
  {
4858
4907
  "kind": "javascript-module",
4859
- "path": "src/services/azure/azureSummarizationIO.ts",
4908
+ "path": "src/services/cohere/cohereTextGenerationIO.ts",
4860
4909
  "declarations": [
4861
4910
  {
4862
4911
  "kind": "class",
4863
4912
  "description": "",
4864
- "name": "AzureSummarizationIO",
4913
+ "name": "CohereTextGenerationIO",
4865
4914
  "members": [
4866
- {
4867
- "kind": "field",
4868
- "name": "url",
4869
- "type": {
4870
- "text": "string"
4871
- },
4872
- "default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
4873
- },
4874
- {
4875
- "kind": "field",
4876
- "name": "textInputPlaceholderText",
4877
- "type": {
4878
- "text": "string"
4879
- },
4880
- "default": "'Insert text to summarize'"
4881
- },
4882
- {
4883
- "kind": "field",
4884
- "name": "messages",
4885
- "type": {
4886
- "text": "Messages | undefined"
4887
- },
4888
- "privacy": "private"
4889
- },
4890
4915
  {
4891
4916
  "kind": "method",
4892
4917
  "name": "preprocessBody",
@@ -4894,7 +4919,7 @@
4894
4919
  {
4895
4920
  "name": "body",
4896
4921
  "type": {
4897
- "text": "RawBody"
4922
+ "text": "CohereGenerateConfig"
4898
4923
  }
4899
4924
  },
4900
4925
  {
@@ -4932,14 +4957,14 @@
4932
4957
  "name": "extractResultData",
4933
4958
  "return": {
4934
4959
  "type": {
4935
- "text": "Promise<{makingAnotherRequest: true}>"
4960
+ "text": "Promise<Response>"
4936
4961
  }
4937
4962
  },
4938
4963
  "parameters": [
4939
4964
  {
4940
4965
  "name": "result",
4941
4966
  "type": {
4942
- "text": "Response & AzureAuthenticationError"
4967
+ "text": "CohereCompletionsResult"
4943
4968
  }
4944
4969
  }
4945
4970
  ],
@@ -4948,38 +4973,25 @@
4948
4973
  "module": "src/services/utils/baseServiceIO.ts"
4949
4974
  }
4950
4975
  },
4951
- {
4952
- "kind": "method",
4953
- "name": "extractPollResultData",
4954
- "return": {
4955
- "type": {
4956
- "text": "PollResult"
4957
- }
4958
- },
4959
- "parameters": [
4960
- {
4961
- "name": "result",
4962
- "type": {
4963
- "text": "AzureSummarizationResult"
4964
- }
4965
- }
4966
- ]
4967
- },
4968
4976
  {
4969
4977
  "kind": "field",
4970
- "name": "language",
4978
+ "name": "insertKeyPlaceholderText",
4971
4979
  "type": {
4972
4980
  "text": "string"
4973
4981
  },
4974
- "default": "'en'"
4982
+ "default": "'Cohere API Key'",
4983
+ "inheritedFrom": {
4984
+ "name": "DirectServiceIO",
4985
+ "module": "src/services/utils/directServiceIO.ts"
4986
+ }
4975
4987
  },
4976
4988
  {
4977
4989
  "kind": "field",
4978
- "name": "insertKeyPlaceholderText",
4990
+ "name": "keyHelpUrl",
4979
4991
  "type": {
4980
4992
  "text": "string"
4981
4993
  },
4982
- "default": "'Azure Language Subscription Key'",
4994
+ "default": "'https://dashboard.cohere.ai/api-keys'",
4983
4995
  "inheritedFrom": {
4984
4996
  "name": "DirectServiceIO",
4985
4997
  "module": "src/services/utils/directServiceIO.ts"
@@ -4987,14 +4999,14 @@
4987
4999
  },
4988
5000
  {
4989
5001
  "kind": "field",
4990
- "name": "keyHelpUrl",
5002
+ "name": "textInputPlaceholderText",
4991
5003
  "type": {
4992
5004
  "text": "string"
4993
5005
  },
4994
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
5006
+ "default": "inputPlaceholder",
4995
5007
  "inheritedFrom": {
4996
- "name": "DirectServiceIO",
4997
- "module": "src/services/utils/directServiceIO.ts"
5008
+ "name": "CohereIO",
5009
+ "module": "src/services/cohere/cohereIO.ts"
4998
5010
  }
4999
5011
  },
5000
5012
  {
@@ -5003,10 +5015,22 @@
5003
5015
  "type": {
5004
5016
  "text": "array"
5005
5017
  },
5006
- "default": "['Access']",
5018
+ "default": "['invalid']",
5007
5019
  "inheritedFrom": {
5008
- "name": "AzureLanguageIO",
5009
- "module": "src/services/azure/azureLanguageIO.ts"
5020
+ "name": "CohereIO",
5021
+ "module": "src/services/cohere/cohereIO.ts"
5022
+ }
5023
+ },
5024
+ {
5025
+ "kind": "field",
5026
+ "name": "url",
5027
+ "type": {
5028
+ "text": "string"
5029
+ },
5030
+ "default": "url",
5031
+ "inheritedFrom": {
5032
+ "name": "CohereIO",
5033
+ "module": "src/services/cohere/cohereIO.ts"
5010
5034
  }
5011
5035
  },
5012
5036
  {
@@ -5441,168 +5465,25 @@
5441
5465
  },
5442
5466
  {
5443
5467
  "kind": "method",
5444
- "name": "callApiWithFiles",
5445
- "privacy": "private",
5446
- "parameters": [
5447
- {
5448
- "name": "messages",
5449
- "type": {
5450
- "text": "Messages"
5451
- }
5452
- },
5453
- {
5454
- "name": "pMessages",
5455
- "type": {
5456
- "text": "MessageContentI[]"
5457
- }
5458
- },
5459
- {
5460
- "name": "files",
5461
- "type": {
5462
- "text": "File[]"
5463
- }
5464
- }
5465
- ],
5466
- "inheritedFrom": {
5467
- "name": "BaseServiceIO",
5468
- "module": "src/services/utils/baseServiceIO.ts"
5469
- }
5470
- },
5471
- {
5472
- "kind": "method",
5473
- "name": "callAPI",
5474
- "parameters": [
5475
- {
5476
- "name": "requestContents",
5477
- "type": {
5478
- "text": "RequestContents"
5479
- }
5480
- },
5481
- {
5482
- "name": "messages",
5483
- "type": {
5484
- "text": "Messages"
5485
- }
5486
- }
5487
- ],
5488
- "inheritedFrom": {
5489
- "name": "BaseServiceIO",
5490
- "module": "src/services/utils/baseServiceIO.ts"
5491
- }
5492
- },
5493
- {
5494
- "kind": "method",
5495
- "name": "isWebModel",
5496
- "privacy": "public",
5497
- "inheritedFrom": {
5498
- "name": "BaseServiceIO",
5499
- "module": "src/services/utils/baseServiceIO.ts"
5500
- }
5501
- }
5502
- ],
5503
- "superclass": {
5504
- "name": "AzureLanguageIO",
5505
- "module": "/src/services/azure/azureLanguageIO"
5506
- }
5507
- }
5508
- ],
5509
- "exports": [
5510
- {
5511
- "kind": "js",
5512
- "name": "AzureSummarizationIO",
5513
- "declaration": {
5514
- "name": "AzureSummarizationIO",
5515
- "module": "src/services/azure/azureSummarizationIO.ts"
5516
- }
5517
- }
5518
- ]
5519
- },
5520
- {
5521
- "kind": "javascript-module",
5522
- "path": "src/services/azure/azureTextToSpeechIO.ts",
5523
- "declarations": [
5524
- {
5525
- "kind": "class",
5526
- "description": "",
5527
- "name": "AzureTextToSpeechIO",
5528
- "members": [
5529
- {
5530
- "kind": "field",
5531
- "name": "HELP_LINK",
5532
- "type": {
5533
- "text": "string"
5534
- },
5535
- "privacy": "private",
5536
- "static": true,
5537
- "readonly": true,
5538
- "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
5539
- },
5540
- {
5541
- "kind": "field",
5542
- "name": "introPanelMarkUp",
5543
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
5544
- },
5545
- {
5546
- "kind": "field",
5547
- "name": "url",
5548
- "type": {
5549
- "text": "string"
5550
- },
5551
- "default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
5552
- },
5553
- {
5554
- "kind": "method",
5555
- "name": "preprocessBody",
5556
- "parameters": [
5557
- {
5558
- "name": "body",
5559
- "type": {
5560
- "text": "AzureTextToSpeechConfig"
5561
- }
5562
- },
5563
- {
5564
- "name": "messages",
5565
- "type": {
5566
- "text": "MessageContentI[]"
5567
- }
5568
- }
5569
- ]
5570
- },
5571
- {
5572
- "kind": "method",
5573
- "name": "callServiceAPI",
5574
- "parameters": [
5575
- {
5576
- "name": "messages",
5577
- "type": {
5578
- "text": "Messages"
5579
- }
5580
- },
5581
- {
5582
- "name": "pMessages",
5583
- "type": {
5584
- "text": "MessageContentI[]"
5585
- }
5586
- }
5587
- ],
5588
- "inheritedFrom": {
5589
- "name": "BaseServiceIO",
5590
- "module": "src/services/utils/baseServiceIO.ts"
5591
- }
5592
- },
5593
- {
5594
- "kind": "method",
5595
- "name": "extractResultData",
5596
- "return": {
5597
- "type": {
5598
- "text": "Promise<Response>"
5599
- }
5600
- },
5468
+ "name": "callApiWithFiles",
5469
+ "privacy": "private",
5601
5470
  "parameters": [
5602
5471
  {
5603
- "name": "result",
5472
+ "name": "messages",
5604
5473
  "type": {
5605
- "text": "AzureTextToSpeechResult"
5474
+ "text": "Messages"
5475
+ }
5476
+ },
5477
+ {
5478
+ "name": "pMessages",
5479
+ "type": {
5480
+ "text": "MessageContentI[]"
5481
+ }
5482
+ },
5483
+ {
5484
+ "name": "files",
5485
+ "type": {
5486
+ "text": "File[]"
5606
5487
  }
5607
5488
  }
5608
5489
  ],
@@ -5612,36 +5493,70 @@
5612
5493
  }
5613
5494
  },
5614
5495
  {
5615
- "kind": "field",
5616
- "name": "lang",
5617
- "type": {
5618
- "text": "string"
5619
- },
5620
- "default": "'en-US'"
5621
- },
5622
- {
5623
- "kind": "field",
5624
- "name": "name",
5625
- "type": {
5626
- "text": "string"
5627
- },
5628
- "default": "'en-US-JennyNeural'"
5496
+ "kind": "method",
5497
+ "name": "callAPI",
5498
+ "parameters": [
5499
+ {
5500
+ "name": "requestContents",
5501
+ "type": {
5502
+ "text": "RequestContents"
5503
+ }
5504
+ },
5505
+ {
5506
+ "name": "messages",
5507
+ "type": {
5508
+ "text": "Messages"
5509
+ }
5510
+ }
5511
+ ],
5512
+ "inheritedFrom": {
5513
+ "name": "BaseServiceIO",
5514
+ "module": "src/services/utils/baseServiceIO.ts"
5515
+ }
5629
5516
  },
5630
5517
  {
5631
- "kind": "field",
5632
- "name": "gender",
5633
- "type": {
5634
- "text": "string"
5635
- },
5636
- "default": "'Female'"
5637
- },
5518
+ "kind": "method",
5519
+ "name": "isWebModel",
5520
+ "privacy": "public",
5521
+ "inheritedFrom": {
5522
+ "name": "BaseServiceIO",
5523
+ "module": "src/services/utils/baseServiceIO.ts"
5524
+ }
5525
+ }
5526
+ ],
5527
+ "superclass": {
5528
+ "name": "CohereIO",
5529
+ "module": "/src/services/cohere/cohereIO"
5530
+ }
5531
+ }
5532
+ ],
5533
+ "exports": [
5534
+ {
5535
+ "kind": "js",
5536
+ "name": "CohereTextGenerationIO",
5537
+ "declaration": {
5538
+ "name": "CohereTextGenerationIO",
5539
+ "module": "src/services/cohere/cohereTextGenerationIO.ts"
5540
+ }
5541
+ }
5542
+ ]
5543
+ },
5544
+ {
5545
+ "kind": "javascript-module",
5546
+ "path": "src/services/azure/azureLanguageIO.ts",
5547
+ "declarations": [
5548
+ {
5549
+ "kind": "class",
5550
+ "description": "",
5551
+ "name": "AzureLanguageIO",
5552
+ "members": [
5638
5553
  {
5639
5554
  "kind": "field",
5640
5555
  "name": "insertKeyPlaceholderText",
5641
5556
  "type": {
5642
5557
  "text": "string"
5643
5558
  },
5644
- "default": "'Azure Speech Subscription Key'",
5559
+ "default": "'Azure Language Subscription Key'",
5645
5560
  "inheritedFrom": {
5646
5561
  "name": "DirectServiceIO",
5647
5562
  "module": "src/services/utils/directServiceIO.ts"
@@ -5659,6 +5574,14 @@
5659
5574
  "module": "src/services/utils/directServiceIO.ts"
5660
5575
  }
5661
5576
  },
5577
+ {
5578
+ "kind": "field",
5579
+ "name": "permittedErrorPrefixes",
5580
+ "type": {
5581
+ "text": "array"
5582
+ },
5583
+ "default": "['Access']"
5584
+ },
5662
5585
  {
5663
5586
  "kind": "field",
5664
5587
  "name": "key",
@@ -6118,6 +6041,35 @@
6118
6041
  "module": "src/services/utils/baseServiceIO.ts"
6119
6042
  }
6120
6043
  },
6044
+ {
6045
+ "kind": "method",
6046
+ "name": "callServiceAPI",
6047
+ "parameters": [
6048
+ {
6049
+ "name": "messages",
6050
+ "type": {
6051
+ "text": "Messages"
6052
+ }
6053
+ },
6054
+ {
6055
+ "name": "pMessages",
6056
+ "type": {
6057
+ "text": "MessageContentI[]"
6058
+ }
6059
+ },
6060
+ {
6061
+ "name": "files",
6062
+ "optional": true,
6063
+ "type": {
6064
+ "text": "File[]"
6065
+ }
6066
+ }
6067
+ ],
6068
+ "inheritedFrom": {
6069
+ "name": "BaseServiceIO",
6070
+ "module": "src/services/utils/baseServiceIO.ts"
6071
+ }
6072
+ },
6121
6073
  {
6122
6074
  "kind": "method",
6123
6075
  "name": "callAPI",
@@ -6140,6 +6092,27 @@
6140
6092
  "module": "src/services/utils/baseServiceIO.ts"
6141
6093
  }
6142
6094
  },
6095
+ {
6096
+ "kind": "method",
6097
+ "name": "extractResultData",
6098
+ "return": {
6099
+ "type": {
6100
+ "text": "Promise<Response | {makingAnotherRequest: true}>"
6101
+ }
6102
+ },
6103
+ "parameters": [
6104
+ {
6105
+ "name": "result",
6106
+ "type": {
6107
+ "text": "any | Response"
6108
+ }
6109
+ }
6110
+ ],
6111
+ "inheritedFrom": {
6112
+ "name": "BaseServiceIO",
6113
+ "module": "src/services/utils/baseServiceIO.ts"
6114
+ }
6115
+ },
6143
6116
  {
6144
6117
  "kind": "method",
6145
6118
  "name": "isWebModel",
@@ -6151,30 +6124,30 @@
6151
6124
  }
6152
6125
  ],
6153
6126
  "superclass": {
6154
- "name": "AzureSpeechIO",
6155
- "module": "/src/services/azure/azureSpeechIO"
6127
+ "name": "DirectServiceIO",
6128
+ "module": "/src/services/utils/directServiceIO"
6156
6129
  }
6157
6130
  }
6158
6131
  ],
6159
6132
  "exports": [
6160
6133
  {
6161
6134
  "kind": "js",
6162
- "name": "AzureTextToSpeechIO",
6135
+ "name": "AzureLanguageIO",
6163
6136
  "declaration": {
6164
- "name": "AzureTextToSpeechIO",
6165
- "module": "src/services/azure/azureTextToSpeechIO.ts"
6137
+ "name": "AzureLanguageIO",
6138
+ "module": "src/services/azure/azureLanguageIO.ts"
6166
6139
  }
6167
6140
  }
6168
6141
  ]
6169
6142
  },
6170
6143
  {
6171
6144
  "kind": "javascript-module",
6172
- "path": "src/services/azure/azureTranslationIO.ts",
6145
+ "path": "src/services/azure/azureSpeechIO.ts",
6173
6146
  "declarations": [
6174
6147
  {
6175
6148
  "kind": "class",
6176
6149
  "description": "",
6177
- "name": "AzureTranslationIO",
6150
+ "name": "AzureSpeechIO",
6178
6151
  "members": [
6179
6152
  {
6180
6153
  "kind": "field",
@@ -6182,7 +6155,7 @@
6182
6155
  "type": {
6183
6156
  "text": "string"
6184
6157
  },
6185
- "default": "'Azure Translate Subscription Key'",
6158
+ "default": "'Azure Speech Subscription Key'",
6186
6159
  "inheritedFrom": {
6187
6160
  "name": "DirectServiceIO",
6188
6161
  "module": "src/services/utils/directServiceIO.ts"
@@ -6200,69 +6173,6 @@
6200
6173
  "module": "src/services/utils/directServiceIO.ts"
6201
6174
  }
6202
6175
  },
6203
- {
6204
- "kind": "field",
6205
- "name": "url",
6206
- "type": {
6207
- "text": "string"
6208
- },
6209
- "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
6210
- },
6211
- {
6212
- "kind": "method",
6213
- "name": "preprocessBody",
6214
- "parameters": [
6215
- {
6216
- "name": "messages",
6217
- "type": {
6218
- "text": "MessageContentI[]"
6219
- }
6220
- }
6221
- ]
6222
- },
6223
- {
6224
- "kind": "method",
6225
- "name": "callServiceAPI",
6226
- "parameters": [
6227
- {
6228
- "name": "messages",
6229
- "type": {
6230
- "text": "Messages"
6231
- }
6232
- },
6233
- {
6234
- "name": "pMessages",
6235
- "type": {
6236
- "text": "MessageContentI[]"
6237
- }
6238
- }
6239
- ],
6240
- "inheritedFrom": {
6241
- "name": "BaseServiceIO",
6242
- "module": "src/services/utils/baseServiceIO.ts"
6243
- }
6244
- },
6245
- {
6246
- "kind": "method",
6247
- "name": "extractResultData",
6248
- "return": {
6249
- "type": {
6250
- "text": "Promise<Response>"
6251
- }
6252
- },
6253
- "parameters": [
6254
- {
6255
- "name": "result",
6256
- "type": {
6257
- "text": "AzureTranslationResult"
6258
- }
6259
- }
6260
- ],
6261
- "inheritedFrom": {
6262
- "name": "BaseServiceIO",
6263
- "module": "src/services/utils/baseServiceIO.ts"
6264
- }
6265
- },
6266
6176
  {
6267
6177
  "kind": "field",
6268
6178
  "name": "key",
@@ -6722,6 +6632,35 @@
6722
6632
  "module": "src/services/utils/baseServiceIO.ts"
6723
6633
  }
6724
6634
  },
6635
+ {
6636
+ "kind": "method",
6637
+ "name": "callServiceAPI",
6638
+ "parameters": [
6639
+ {
6640
+ "name": "messages",
6641
+ "type": {
6642
+ "text": "Messages"
6643
+ }
6644
+ },
6645
+ {
6646
+ "name": "pMessages",
6647
+ "type": {
6648
+ "text": "MessageContentI[]"
6649
+ }
6650
+ },
6651
+ {
6652
+ "name": "files",
6653
+ "optional": true,
6654
+ "type": {
6655
+ "text": "File[]"
6656
+ }
6657
+ }
6658
+ ],
6659
+ "inheritedFrom": {
6660
+ "name": "BaseServiceIO",
6661
+ "module": "src/services/utils/baseServiceIO.ts"
6662
+ }
6663
+ },
6725
6664
  {
6726
6665
  "kind": "method",
6727
6666
  "name": "callAPI",
@@ -6744,6 +6683,27 @@
6744
6683
  "module": "src/services/utils/baseServiceIO.ts"
6745
6684
  }
6746
6685
  },
6686
+ {
6687
+ "kind": "method",
6688
+ "name": "extractResultData",
6689
+ "return": {
6690
+ "type": {
6691
+ "text": "Promise<Response | {makingAnotherRequest: true}>"
6692
+ }
6693
+ },
6694
+ "parameters": [
6695
+ {
6696
+ "name": "result",
6697
+ "type": {
6698
+ "text": "any | Response"
6699
+ }
6700
+ }
6701
+ ],
6702
+ "inheritedFrom": {
6703
+ "name": "BaseServiceIO",
6704
+ "module": "src/services/utils/baseServiceIO.ts"
6705
+ }
6706
+ },
6747
6707
  {
6748
6708
  "kind": "method",
6749
6709
  "name": "isWebModel",
@@ -6763,38 +6723,81 @@
6763
6723
  "exports": [
6764
6724
  {
6765
6725
  "kind": "js",
6766
- "name": "AzureTranslationIO",
6726
+ "name": "AzureSpeechIO",
6767
6727
  "declaration": {
6768
- "name": "AzureTranslationIO",
6769
- "module": "src/services/azure/azureTranslationIO.ts"
6728
+ "name": "AzureSpeechIO",
6729
+ "module": "src/services/azure/azureSpeechIO.ts"
6770
6730
  }
6771
6731
  }
6772
6732
  ]
6773
6733
  },
6774
6734
  {
6775
6735
  "kind": "javascript-module",
6776
- "path": "src/services/cohere/cohereChatIO.ts",
6736
+ "path": "src/services/azure/azureSpeechToTextIO.ts",
6777
6737
  "declarations": [
6778
6738
  {
6779
6739
  "kind": "class",
6780
6740
  "description": "",
6781
- "name": "CohereChatIO",
6741
+ "name": "AzureSpeechToTextIO",
6782
6742
  "members": [
6743
+ {
6744
+ "kind": "field",
6745
+ "name": "HELP_LINK",
6746
+ "type": {
6747
+ "text": "string"
6748
+ },
6749
+ "privacy": "private",
6750
+ "static": true,
6751
+ "readonly": true,
6752
+ "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
6753
+ },
6754
+ {
6755
+ "kind": "field",
6756
+ "name": "introPanelMarkUp",
6757
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
6758
+ },
6759
+ {
6760
+ "kind": "field",
6761
+ "name": "url",
6762
+ "type": {
6763
+ "text": "string"
6764
+ },
6765
+ "default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
6766
+ },
6767
+ {
6768
+ "kind": "field",
6769
+ "name": "isTextInputDisabled",
6770
+ "type": {
6771
+ "text": "boolean"
6772
+ },
6773
+ "default": "true"
6774
+ },
6775
+ {
6776
+ "kind": "field",
6777
+ "name": "textInputPlaceholderText",
6778
+ "type": {
6779
+ "text": "string"
6780
+ },
6781
+ "default": "'Upload an audio file'"
6782
+ },
6783
6783
  {
6784
6784
  "kind": "method",
6785
- "name": "preprocessBody",
6785
+ "name": "canFileSendMessage",
6786
6786
  "privacy": "private",
6787
+ "static": true,
6787
6788
  "parameters": [
6788
6789
  {
6789
- "name": "body",
6790
+ "name": "_",
6791
+ "optional": true,
6790
6792
  "type": {
6791
- "text": "CohereChatConfig"
6793
+ "text": "string"
6792
6794
  }
6793
6795
  },
6794
6796
  {
6795
- "name": "pMessages",
6797
+ "name": "files",
6798
+ "optional": true,
6796
6799
  "type": {
6797
- "text": "MessageContentI[]"
6800
+ "text": "File[]"
6798
6801
  }
6799
6802
  }
6800
6803
  ]
@@ -6810,10 +6813,17 @@
6810
6813
  }
6811
6814
  },
6812
6815
  {
6813
- "name": "pMessages",
6816
+ "name": "_",
6814
6817
  "type": {
6815
6818
  "text": "MessageContentI[]"
6816
6819
  }
6820
+ },
6821
+ {
6822
+ "name": "files",
6823
+ "optional": true,
6824
+ "type": {
6825
+ "text": "File[]"
6826
+ }
6817
6827
  }
6818
6828
  ],
6819
6829
  "inheritedFrom": {
@@ -6833,7 +6843,7 @@
6833
6843
  {
6834
6844
  "name": "result",
6835
6845
  "type": {
6836
- "text": "CohereChatResult"
6846
+ "text": "AzureSpeechToTextResult"
6837
6847
  }
6838
6848
  }
6839
6849
  ],
@@ -6844,11 +6854,35 @@
6844
6854
  },
6845
6855
  {
6846
6856
  "kind": "field",
6847
- "name": "maxMessages",
6857
+ "name": "canSendMessage",
6858
+ "privacy": "private",
6859
+ "static": true,
6860
+ "parameters": [
6861
+ {
6862
+ "name": "text",
6863
+ "optional": true,
6864
+ "type": {
6865
+ "text": "string"
6866
+ }
6867
+ },
6868
+ {
6869
+ "name": "files",
6870
+ "optional": true,
6871
+ "type": {
6872
+ "text": "File[]"
6873
+ }
6874
+ },
6875
+ {
6876
+ "name": "isProgrammatic",
6877
+ "optional": true,
6878
+ "type": {
6879
+ "text": "boolean"
6880
+ }
6881
+ }
6882
+ ],
6848
6883
  "type": {
6849
- "text": "number | undefined"
6884
+ "text": "ValidateInput"
6850
6885
  },
6851
- "default": "-1",
6852
6886
  "inheritedFrom": {
6853
6887
  "name": "BaseServiceIO",
6854
6888
  "module": "src/services/utils/baseServiceIO.ts"
@@ -6856,23 +6890,23 @@
6856
6890
  },
6857
6891
  {
6858
6892
  "kind": "field",
6859
- "name": "insertKeyPlaceholderText",
6893
+ "name": "recordAudio",
6860
6894
  "type": {
6861
- "text": "string"
6895
+ "text": "MicrophoneFilesServiceConfig | undefined"
6862
6896
  },
6863
- "default": "'Cohere API Key'",
6864
6897
  "inheritedFrom": {
6865
- "name": "DirectServiceIO",
6866
- "module": "src/services/utils/directServiceIO.ts"
6867
- }
6898
+ "name": "BaseServiceIO",
6899
+ "module": "src/services/utils/baseServiceIO.ts"
6900
+ },
6901
+ "default": "undefined"
6868
6902
  },
6869
6903
  {
6870
6904
  "kind": "field",
6871
- "name": "keyHelpUrl",
6905
+ "name": "insertKeyPlaceholderText",
6872
6906
  "type": {
6873
6907
  "text": "string"
6874
6908
  },
6875
- "default": "'https://dashboard.cohere.ai/api-keys'",
6909
+ "default": "'Azure Speech Subscription Key'",
6876
6910
  "inheritedFrom": {
6877
6911
  "name": "DirectServiceIO",
6878
6912
  "module": "src/services/utils/directServiceIO.ts"
@@ -6880,38 +6914,14 @@
6880
6914
  },
6881
6915
  {
6882
6916
  "kind": "field",
6883
- "name": "textInputPlaceholderText",
6884
- "type": {
6885
- "text": "string"
6886
- },
6887
- "default": "inputPlaceholder",
6888
- "inheritedFrom": {
6889
- "name": "CohereIO",
6890
- "module": "src/services/cohere/cohereIO.ts"
6891
- }
6892
- },
6893
- {
6894
- "kind": "field",
6895
- "name": "permittedErrorPrefixes",
6896
- "type": {
6897
- "text": "array"
6898
- },
6899
- "default": "['invalid']",
6900
- "inheritedFrom": {
6901
- "name": "CohereIO",
6902
- "module": "src/services/cohere/cohereIO.ts"
6903
- }
6904
- },
6905
- {
6906
- "kind": "field",
6907
- "name": "url",
6917
+ "name": "keyHelpUrl",
6908
6918
  "type": {
6909
6919
  "text": "string"
6910
6920
  },
6911
- "default": "url",
6921
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
6912
6922
  "inheritedFrom": {
6913
- "name": "CohereIO",
6914
- "module": "src/services/cohere/cohereIO.ts"
6923
+ "name": "DirectServiceIO",
6924
+ "module": "src/services/utils/directServiceIO.ts"
6915
6925
  }
6916
6926
  },
6917
6927
  {
@@ -7108,42 +7118,6 @@
7108
7118
  "module": "src/services/utils/baseServiceIO.ts"
7109
7119
  }
7110
7120
  },
7111
- {
7112
- "kind": "field",
7113
- "name": "canSendMessage",
7114
- "privacy": "private",
7115
- "static": true,
7116
- "parameters": [
7117
- {
7118
- "name": "text",
7119
- "optional": true,
7120
- "type": {
7121
- "text": "string"
7122
- }
7123
- },
7124
- {
7125
- "name": "files",
7126
- "optional": true,
7127
- "type": {
7128
- "text": "File[]"
7129
- }
7130
- },
7131
- {
7132
- "name": "isProgrammatic",
7133
- "optional": true,
7134
- "type": {
7135
- "text": "boolean"
7136
- }
7137
- }
7138
- ],
7139
- "type": {
7140
- "text": "ValidateInput"
7141
- },
7142
- "inheritedFrom": {
7143
- "name": "BaseServiceIO",
7144
- "module": "src/services/utils/baseServiceIO.ts"
7145
- }
7146
- },
7147
7121
  {
7148
7122
  "kind": "field",
7149
7123
  "name": "fileTypes",
@@ -7169,9 +7143,9 @@
7169
7143
  },
7170
7144
  {
7171
7145
  "kind": "field",
7172
- "name": "recordAudio",
7146
+ "name": "totalMessagesMaxCharLength",
7173
7147
  "type": {
7174
- "text": "MicrophoneFilesServiceConfig | undefined"
7148
+ "text": "number | undefined"
7175
7149
  },
7176
7150
  "inheritedFrom": {
7177
7151
  "name": "BaseServiceIO",
@@ -7180,7 +7154,7 @@
7180
7154
  },
7181
7155
  {
7182
7156
  "kind": "field",
7183
- "name": "totalMessagesMaxCharLength",
7157
+ "name": "maxMessages",
7184
7158
  "type": {
7185
7159
  "text": "number | undefined"
7186
7160
  },
@@ -7395,78 +7369,176 @@
7395
7369
  }
7396
7370
  ],
7397
7371
  "superclass": {
7398
- "name": "CohereIO",
7399
- "module": "/src/services/cohere/cohereIO"
7372
+ "name": "AzureSpeechIO",
7373
+ "module": "/src/services/azure/azureSpeechIO"
7400
7374
  }
7401
7375
  }
7402
7376
  ],
7403
7377
  "exports": [
7404
7378
  {
7405
7379
  "kind": "js",
7406
- "name": "CohereChatIO",
7380
+ "name": "AzureSpeechToTextIO",
7407
7381
  "declaration": {
7408
- "name": "CohereChatIO",
7409
- "module": "src/services/cohere/cohereChatIO.ts"
7382
+ "name": "AzureSpeechToTextIO",
7383
+ "module": "src/services/azure/azureSpeechToTextIO.ts"
7410
7384
  }
7411
7385
  }
7412
7386
  ]
7413
7387
  },
7414
7388
  {
7415
7389
  "kind": "javascript-module",
7416
- "path": "src/services/cohere/cohereIO.ts",
7390
+ "path": "src/services/azure/azureSummarizationIO.ts",
7417
7391
  "declarations": [
7418
7392
  {
7419
7393
  "kind": "class",
7420
7394
  "description": "",
7421
- "name": "CohereIO",
7395
+ "name": "AzureSummarizationIO",
7422
7396
  "members": [
7423
7397
  {
7424
7398
  "kind": "field",
7425
- "name": "insertKeyPlaceholderText",
7399
+ "name": "url",
7426
7400
  "type": {
7427
7401
  "text": "string"
7428
7402
  },
7429
- "default": "'Cohere API Key'",
7430
- "inheritedFrom": {
7431
- "name": "DirectServiceIO",
7432
- "module": "src/services/utils/directServiceIO.ts"
7433
- }
7403
+ "default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
7434
7404
  },
7435
7405
  {
7436
7406
  "kind": "field",
7437
- "name": "keyHelpUrl",
7407
+ "name": "textInputPlaceholderText",
7438
7408
  "type": {
7439
7409
  "text": "string"
7440
7410
  },
7441
- "default": "'https://dashboard.cohere.ai/api-keys'",
7411
+ "default": "'Insert text to summarize'"
7412
+ },
7413
+ {
7414
+ "kind": "field",
7415
+ "name": "messages",
7416
+ "type": {
7417
+ "text": "Messages | undefined"
7418
+ },
7419
+ "privacy": "private"
7420
+ },
7421
+ {
7422
+ "kind": "method",
7423
+ "name": "preprocessBody",
7424
+ "parameters": [
7425
+ {
7426
+ "name": "body",
7427
+ "type": {
7428
+ "text": "RawBody"
7429
+ }
7430
+ },
7431
+ {
7432
+ "name": "messages",
7433
+ "type": {
7434
+ "text": "MessageContentI[]"
7435
+ }
7436
+ }
7437
+ ]
7438
+ },
7439
+ {
7440
+ "kind": "method",
7441
+ "name": "callServiceAPI",
7442
+ "parameters": [
7443
+ {
7444
+ "name": "messages",
7445
+ "type": {
7446
+ "text": "Messages"
7447
+ }
7448
+ },
7449
+ {
7450
+ "name": "pMessages",
7451
+ "type": {
7452
+ "text": "MessageContentI[]"
7453
+ }
7454
+ }
7455
+ ],
7442
7456
  "inheritedFrom": {
7443
- "name": "DirectServiceIO",
7444
- "module": "src/services/utils/directServiceIO.ts"
7457
+ "name": "BaseServiceIO",
7458
+ "module": "src/services/utils/baseServiceIO.ts"
7445
7459
  }
7446
7460
  },
7461
+ {
7462
+ "kind": "method",
7463
+ "name": "extractResultData",
7464
+ "return": {
7465
+ "type": {
7466
+ "text": "Promise<{makingAnotherRequest: true}>"
7467
+ }
7468
+ },
7469
+ "parameters": [
7470
+ {
7471
+ "name": "result",
7472
+ "type": {
7473
+ "text": "Response & AzureAuthenticationError"
7474
+ }
7475
+ }
7476
+ ],
7477
+ "inheritedFrom": {
7478
+ "name": "BaseServiceIO",
7479
+ "module": "src/services/utils/baseServiceIO.ts"
7480
+ }
7481
+ },
7482
+ {
7483
+ "kind": "method",
7484
+ "name": "extractPollResultData",
7485
+ "return": {
7486
+ "type": {
7487
+ "text": "PollResult"
7488
+ }
7489
+ },
7490
+ "parameters": [
7491
+ {
7492
+ "name": "result",
7493
+ "type": {
7494
+ "text": "AzureSummarizationResult"
7495
+ }
7496
+ }
7497
+ ]
7498
+ },
7447
7499
  {
7448
7500
  "kind": "field",
7449
- "name": "textInputPlaceholderText",
7501
+ "name": "language",
7450
7502
  "type": {
7451
7503
  "text": "string"
7452
7504
  },
7453
- "default": "inputPlaceholder"
7505
+ "default": "'en'"
7454
7506
  },
7455
7507
  {
7456
7508
  "kind": "field",
7457
- "name": "permittedErrorPrefixes",
7509
+ "name": "insertKeyPlaceholderText",
7458
7510
  "type": {
7459
- "text": "array"
7511
+ "text": "string"
7460
7512
  },
7461
- "default": "['invalid']"
7513
+ "default": "'Azure Language Subscription Key'",
7514
+ "inheritedFrom": {
7515
+ "name": "DirectServiceIO",
7516
+ "module": "src/services/utils/directServiceIO.ts"
7517
+ }
7462
7518
  },
7463
7519
  {
7464
7520
  "kind": "field",
7465
- "name": "url",
7521
+ "name": "keyHelpUrl",
7466
7522
  "type": {
7467
7523
  "text": "string"
7468
7524
  },
7469
- "default": "url"
7525
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
7526
+ "inheritedFrom": {
7527
+ "name": "DirectServiceIO",
7528
+ "module": "src/services/utils/directServiceIO.ts"
7529
+ }
7530
+ },
7531
+ {
7532
+ "kind": "field",
7533
+ "name": "permittedErrorPrefixes",
7534
+ "type": {
7535
+ "text": "array"
7536
+ },
7537
+ "default": "['Access']",
7538
+ "inheritedFrom": {
7539
+ "name": "AzureLanguageIO",
7540
+ "module": "src/services/azure/azureLanguageIO.ts"
7541
+ }
7470
7542
  },
7471
7543
  {
7472
7544
  "kind": "field",
@@ -7927,35 +7999,6 @@
7927
7999
  "module": "src/services/utils/baseServiceIO.ts"
7928
8000
  }
7929
8001
  },
7930
- {
7931
- "kind": "method",
7932
- "name": "callServiceAPI",
7933
- "parameters": [
7934
- {
7935
- "name": "messages",
7936
- "type": {
7937
- "text": "Messages"
7938
- }
7939
- },
7940
- {
7941
- "name": "pMessages",
7942
- "type": {
7943
- "text": "MessageContentI[]"
7944
- }
7945
- },
7946
- {
7947
- "name": "files",
7948
- "optional": true,
7949
- "type": {
7950
- "text": "File[]"
7951
- }
7952
- }
7953
- ],
7954
- "inheritedFrom": {
7955
- "name": "BaseServiceIO",
7956
- "module": "src/services/utils/baseServiceIO.ts"
7957
- }
7958
- },
7959
8002
  {
7960
8003
  "kind": "method",
7961
8004
  "name": "callAPI",
@@ -7978,27 +8021,6 @@
7978
8021
  "module": "src/services/utils/baseServiceIO.ts"
7979
8022
  }
7980
8023
  },
7981
- {
7982
- "kind": "method",
7983
- "name": "extractResultData",
7984
- "return": {
7985
- "type": {
7986
- "text": "Promise<Response | {makingAnotherRequest: true}>"
7987
- }
7988
- },
7989
- "parameters": [
7990
- {
7991
- "name": "result",
7992
- "type": {
7993
- "text": "any | Response"
7994
- }
7995
- }
7996
- ],
7997
- "inheritedFrom": {
7998
- "name": "BaseServiceIO",
7999
- "module": "src/services/utils/baseServiceIO.ts"
8000
- }
8001
- },
8002
8024
  {
8003
8025
  "kind": "method",
8004
8026
  "name": "isWebModel",
@@ -8010,31 +8032,55 @@
8010
8032
  }
8011
8033
  ],
8012
8034
  "superclass": {
8013
- "name": "DirectServiceIO",
8014
- "module": "/src/services/utils/directServiceIO"
8035
+ "name": "AzureLanguageIO",
8036
+ "module": "/src/services/azure/azureLanguageIO"
8015
8037
  }
8016
8038
  }
8017
8039
  ],
8018
8040
  "exports": [
8019
8041
  {
8020
8042
  "kind": "js",
8021
- "name": "CohereIO",
8043
+ "name": "AzureSummarizationIO",
8022
8044
  "declaration": {
8023
- "name": "CohereIO",
8024
- "module": "src/services/cohere/cohereIO.ts"
8045
+ "name": "AzureSummarizationIO",
8046
+ "module": "src/services/azure/azureSummarizationIO.ts"
8025
8047
  }
8026
8048
  }
8027
8049
  ]
8028
8050
  },
8029
8051
  {
8030
8052
  "kind": "javascript-module",
8031
- "path": "src/services/cohere/cohereSummarizationIO.ts",
8053
+ "path": "src/services/azure/azureTextToSpeechIO.ts",
8032
8054
  "declarations": [
8033
8055
  {
8034
8056
  "kind": "class",
8035
8057
  "description": "",
8036
- "name": "CohereSummarizationIO",
8058
+ "name": "AzureTextToSpeechIO",
8037
8059
  "members": [
8060
+ {
8061
+ "kind": "field",
8062
+ "name": "HELP_LINK",
8063
+ "type": {
8064
+ "text": "string"
8065
+ },
8066
+ "privacy": "private",
8067
+ "static": true,
8068
+ "readonly": true,
8069
+ "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
8070
+ },
8071
+ {
8072
+ "kind": "field",
8073
+ "name": "introPanelMarkUp",
8074
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
8075
+ },
8076
+ {
8077
+ "kind": "field",
8078
+ "name": "url",
8079
+ "type": {
8080
+ "text": "string"
8081
+ },
8082
+ "default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
8083
+ },
8038
8084
  {
8039
8085
  "kind": "method",
8040
8086
  "name": "preprocessBody",
@@ -8042,7 +8088,7 @@
8042
8088
  {
8043
8089
  "name": "body",
8044
8090
  "type": {
8045
- "text": "CohereSummarizationConfig"
8091
+ "text": "AzureTextToSpeechConfig"
8046
8092
  }
8047
8093
  },
8048
8094
  {
@@ -8087,7 +8133,7 @@
8087
8133
  {
8088
8134
  "name": "result",
8089
8135
  "type": {
8090
- "text": "CohereSummarizationResult"
8136
+ "text": "AzureTextToSpeechResult"
8091
8137
  }
8092
8138
  }
8093
8139
  ],
@@ -8098,62 +8144,50 @@
8098
8144
  },
8099
8145
  {
8100
8146
  "kind": "field",
8101
- "name": "insertKeyPlaceholderText",
8147
+ "name": "lang",
8102
8148
  "type": {
8103
8149
  "text": "string"
8104
8150
  },
8105
- "default": "'Cohere API Key'",
8106
- "inheritedFrom": {
8107
- "name": "DirectServiceIO",
8108
- "module": "src/services/utils/directServiceIO.ts"
8109
- }
8151
+ "default": "'en-US'"
8110
8152
  },
8111
8153
  {
8112
8154
  "kind": "field",
8113
- "name": "keyHelpUrl",
8155
+ "name": "name",
8114
8156
  "type": {
8115
8157
  "text": "string"
8116
8158
  },
8117
- "default": "'https://dashboard.cohere.ai/api-keys'",
8118
- "inheritedFrom": {
8119
- "name": "DirectServiceIO",
8120
- "module": "src/services/utils/directServiceIO.ts"
8121
- }
8159
+ "default": "'en-US-JennyNeural'"
8122
8160
  },
8123
8161
  {
8124
8162
  "kind": "field",
8125
- "name": "textInputPlaceholderText",
8163
+ "name": "gender",
8126
8164
  "type": {
8127
8165
  "text": "string"
8128
8166
  },
8129
- "default": "inputPlaceholder",
8130
- "inheritedFrom": {
8131
- "name": "CohereIO",
8132
- "module": "src/services/cohere/cohereIO.ts"
8133
- }
8167
+ "default": "'Female'"
8134
8168
  },
8135
8169
  {
8136
8170
  "kind": "field",
8137
- "name": "permittedErrorPrefixes",
8171
+ "name": "insertKeyPlaceholderText",
8138
8172
  "type": {
8139
- "text": "array"
8173
+ "text": "string"
8140
8174
  },
8141
- "default": "['invalid']",
8175
+ "default": "'Azure Speech Subscription Key'",
8142
8176
  "inheritedFrom": {
8143
- "name": "CohereIO",
8144
- "module": "src/services/cohere/cohereIO.ts"
8177
+ "name": "DirectServiceIO",
8178
+ "module": "src/services/utils/directServiceIO.ts"
8145
8179
  }
8146
8180
  },
8147
8181
  {
8148
8182
  "kind": "field",
8149
- "name": "url",
8183
+ "name": "keyHelpUrl",
8150
8184
  "type": {
8151
8185
  "text": "string"
8152
8186
  },
8153
- "default": "url",
8187
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
8154
8188
  "inheritedFrom": {
8155
- "name": "CohereIO",
8156
- "module": "src/services/cohere/cohereIO.ts"
8189
+ "name": "DirectServiceIO",
8190
+ "module": "src/services/utils/directServiceIO.ts"
8157
8191
  }
8158
8192
  },
8159
8193
  {
@@ -8648,41 +8682,67 @@
8648
8682
  }
8649
8683
  ],
8650
8684
  "superclass": {
8651
- "name": "CohereIO",
8652
- "module": "/src/services/cohere/cohereIO"
8685
+ "name": "AzureSpeechIO",
8686
+ "module": "/src/services/azure/azureSpeechIO"
8653
8687
  }
8654
8688
  }
8655
8689
  ],
8656
8690
  "exports": [
8657
8691
  {
8658
8692
  "kind": "js",
8659
- "name": "CohereSummarizationIO",
8693
+ "name": "AzureTextToSpeechIO",
8660
8694
  "declaration": {
8661
- "name": "CohereSummarizationIO",
8662
- "module": "src/services/cohere/cohereSummarizationIO.ts"
8695
+ "name": "AzureTextToSpeechIO",
8696
+ "module": "src/services/azure/azureTextToSpeechIO.ts"
8663
8697
  }
8664
8698
  }
8665
8699
  ]
8666
8700
  },
8667
8701
  {
8668
8702
  "kind": "javascript-module",
8669
- "path": "src/services/cohere/cohereTextGenerationIO.ts",
8703
+ "path": "src/services/azure/azureTranslationIO.ts",
8670
8704
  "declarations": [
8671
8705
  {
8672
8706
  "kind": "class",
8673
8707
  "description": "",
8674
- "name": "CohereTextGenerationIO",
8708
+ "name": "AzureTranslationIO",
8675
8709
  "members": [
8710
+ {
8711
+ "kind": "field",
8712
+ "name": "insertKeyPlaceholderText",
8713
+ "type": {
8714
+ "text": "string"
8715
+ },
8716
+ "default": "'Azure Translate Subscription Key'",
8717
+ "inheritedFrom": {
8718
+ "name": "DirectServiceIO",
8719
+ "module": "src/services/utils/directServiceIO.ts"
8720
+ }
8721
+ },
8722
+ {
8723
+ "kind": "field",
8724
+ "name": "keyHelpUrl",
8725
+ "type": {
8726
+ "text": "string"
8727
+ },
8728
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
8729
+ "inheritedFrom": {
8730
+ "name": "DirectServiceIO",
8731
+ "module": "src/services/utils/directServiceIO.ts"
8732
+ }
8733
+ },
8734
+ {
8735
+ "kind": "field",
8736
+ "name": "url",
8737
+ "type": {
8738
+ "text": "string"
8739
+ },
8740
+ "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
8741
+ },
8676
8742
  {
8677
8743
  "kind": "method",
8678
8744
  "name": "preprocessBody",
8679
8745
  "parameters": [
8680
- {
8681
- "name": "body",
8682
- "type": {
8683
- "text": "CohereGenerateConfig"
8684
- }
8685
- },
8686
8746
  {
8687
8747
  "name": "messages",
8688
8748
  "type": {
@@ -8725,7 +8785,7 @@
8725
8785
  {
8726
8786
  "name": "result",
8727
8787
  "type": {
8728
- "text": "CohereCompletionsResult"
8788
+ "text": "AzureTranslationResult"
8729
8789
  }
8730
8790
  }
8731
8791
  ],
@@ -8734,66 +8794,6 @@
8734
8794
  "module": "src/services/utils/baseServiceIO.ts"
8735
8795
  }
8736
8796
  },
8737
- {
8738
- "kind": "field",
8739
- "name": "insertKeyPlaceholderText",
8740
- "type": {
8741
- "text": "string"
8742
- },
8743
- "default": "'Cohere API Key'",
8744
- "inheritedFrom": {
8745
- "name": "DirectServiceIO",
8746
- "module": "src/services/utils/directServiceIO.ts"
8747
- }
8748
- },
8749
- {
8750
- "kind": "field",
8751
- "name": "keyHelpUrl",
8752
- "type": {
8753
- "text": "string"
8754
- },
8755
- "default": "'https://dashboard.cohere.ai/api-keys'",
8756
- "inheritedFrom": {
8757
- "name": "DirectServiceIO",
8758
- "module": "src/services/utils/directServiceIO.ts"
8759
- }
8760
- },
8761
- {
8762
- "kind": "field",
8763
- "name": "textInputPlaceholderText",
8764
- "type": {
8765
- "text": "string"
8766
- },
8767
- "default": "inputPlaceholder",
8768
- "inheritedFrom": {
8769
- "name": "CohereIO",
8770
- "module": "src/services/cohere/cohereIO.ts"
8771
- }
8772
- },
8773
- {
8774
- "kind": "field",
8775
- "name": "permittedErrorPrefixes",
8776
- "type": {
8777
- "text": "array"
8778
- },
8779
- "default": "['invalid']",
8780
- "inheritedFrom": {
8781
- "name": "CohereIO",
8782
- "module": "src/services/cohere/cohereIO.ts"
8783
- }
8784
- },
8785
- {
8786
- "kind": "field",
8787
- "name": "url",
8788
- "type": {
8789
- "text": "string"
8790
- },
8791
- "default": "url",
8792
- "inheritedFrom": {
8793
- "name": "CohereIO",
8794
- "module": "src/services/cohere/cohereIO.ts"
8795
- }
8796
- },
8797
8797
  {
8798
8798
  "kind": "field",
8799
8799
  "name": "key",
@@ -9286,18 +9286,18 @@
9286
9286
  }
9287
9287
  ],
9288
9288
  "superclass": {
9289
- "name": "CohereIO",
9290
- "module": "/src/services/cohere/cohereIO"
9289
+ "name": "DirectServiceIO",
9290
+ "module": "/src/services/utils/directServiceIO"
9291
9291
  }
9292
9292
  }
9293
9293
  ],
9294
9294
  "exports": [
9295
9295
  {
9296
9296
  "kind": "js",
9297
- "name": "CohereTextGenerationIO",
9297
+ "name": "AzureTranslationIO",
9298
9298
  "declaration": {
9299
- "name": "CohereTextGenerationIO",
9300
- "module": "src/services/cohere/cohereTextGenerationIO.ts"
9299
+ "name": "AzureTranslationIO",
9300
+ "module": "src/services/azure/azureTranslationIO.ts"
9301
9301
  }
9302
9302
  }
9303
9303
  ]
@@ -30099,36 +30099,96 @@
30099
30099
  },
30100
30100
  {
30101
30101
  "kind": "javascript-module",
30102
- "path": "src/services/azure/utils/azureUtils.ts",
30102
+ "path": "src/services/cohere/utils/cohereUtils.ts",
30103
30103
  "declarations": [
30104
30104
  {
30105
30105
  "kind": "class",
30106
30106
  "description": "",
30107
- "name": "AzureUtils",
30107
+ "name": "CohereUtils",
30108
30108
  "members": [
30109
30109
  {
30110
30110
  "kind": "method",
30111
- "name": "buildTextToSpeechHeaders",
30111
+ "name": "buildHeaders",
30112
30112
  "privacy": "public",
30113
30113
  "static": true,
30114
30114
  "parameters": [
30115
30115
  {
30116
- "name": "outputFormat",
30116
+ "name": "key",
30117
30117
  "type": {
30118
30118
  "text": "string"
30119
30119
  }
30120
+ }
30121
+ ]
30122
+ },
30123
+ {
30124
+ "kind": "method",
30125
+ "name": "handleVerificationResult",
30126
+ "privacy": "private",
30127
+ "static": true,
30128
+ "parameters": [
30129
+ {
30130
+ "name": "result",
30131
+ "type": {
30132
+ "text": "object"
30133
+ }
30120
30134
  },
30121
30135
  {
30122
30136
  "name": "key",
30123
30137
  "type": {
30124
30138
  "text": "string"
30125
30139
  }
30140
+ },
30141
+ {
30142
+ "name": "onSuccess",
30143
+ "type": {
30144
+ "text": "(key: string) => void"
30145
+ }
30146
+ },
30147
+ {
30148
+ "name": "onFail",
30149
+ "type": {
30150
+ "text": "(message: string) => void"
30151
+ }
30126
30152
  }
30127
30153
  ]
30128
30154
  },
30129
30155
  {
30130
30156
  "kind": "method",
30131
- "name": "buildSpeechToTextHeaders",
30157
+ "name": "buildKeyVerificationDetails",
30158
+ "privacy": "public",
30159
+ "static": true,
30160
+ "return": {
30161
+ "type": {
30162
+ "text": "KeyVerificationDetails"
30163
+ }
30164
+ }
30165
+ }
30166
+ ]
30167
+ }
30168
+ ],
30169
+ "exports": [
30170
+ {
30171
+ "kind": "js",
30172
+ "name": "CohereUtils",
30173
+ "declaration": {
30174
+ "name": "CohereUtils",
30175
+ "module": "src/services/cohere/utils/cohereUtils.ts"
30176
+ }
30177
+ }
30178
+ ]
30179
+ },
30180
+ {
30181
+ "kind": "javascript-module",
30182
+ "path": "src/services/gemini/utils/geminiUtils.ts",
30183
+ "declarations": [
30184
+ {
30185
+ "kind": "class",
30186
+ "description": "",
30187
+ "name": "GeminiUtils",
30188
+ "members": [
30189
+ {
30190
+ "kind": "method",
30191
+ "name": "buildHeaders",
30132
30192
  "privacy": "public",
30133
30193
  "static": true,
30134
30194
  "parameters": [
@@ -30142,7 +30202,7 @@
30142
30202
  },
30143
30203
  {
30144
30204
  "kind": "method",
30145
- "name": "handleSpeechVerificationResult",
30205
+ "name": "handleVerificationResult",
30146
30206
  "privacy": "private",
30147
30207
  "static": true,
30148
30208
  "parameters": [
@@ -30174,17 +30234,82 @@
30174
30234
  },
30175
30235
  {
30176
30236
  "kind": "method",
30177
- "name": "buildSpeechKeyVerificationDetails",
30237
+ "name": "buildKeyVerificationDetails",
30178
30238
  "privacy": "public",
30179
30239
  "static": true,
30180
30240
  "return": {
30181
30241
  "type": {
30182
30242
  "text": "KeyVerificationDetails"
30183
30243
  }
30184
- },
30244
+ }
30245
+ },
30246
+ {
30247
+ "kind": "method",
30248
+ "name": "directFetch",
30249
+ "privacy": "public",
30250
+ "static": true,
30185
30251
  "parameters": [
30186
30252
  {
30187
- "name": "region",
30253
+ "name": "serviceIO",
30254
+ "type": {
30255
+ "text": "ServiceIO"
30256
+ }
30257
+ },
30258
+ {
30259
+ "name": "body",
30260
+ "type": {
30261
+ "text": "any"
30262
+ }
30263
+ },
30264
+ {
30265
+ "name": "method",
30266
+ "type": {
30267
+ "text": "'POST' | 'GET'"
30268
+ }
30269
+ },
30270
+ {
30271
+ "name": "stringify",
30272
+ "default": "true"
30273
+ }
30274
+ ]
30275
+ }
30276
+ ]
30277
+ }
30278
+ ],
30279
+ "exports": [
30280
+ {
30281
+ "kind": "js",
30282
+ "name": "GeminiUtils",
30283
+ "declaration": {
30284
+ "name": "GeminiUtils",
30285
+ "module": "src/services/gemini/utils/geminiUtils.ts"
30286
+ }
30287
+ }
30288
+ ]
30289
+ },
30290
+ {
30291
+ "kind": "javascript-module",
30292
+ "path": "src/services/azure/utils/azureUtils.ts",
30293
+ "declarations": [
30294
+ {
30295
+ "kind": "class",
30296
+ "description": "",
30297
+ "name": "AzureUtils",
30298
+ "members": [
30299
+ {
30300
+ "kind": "method",
30301
+ "name": "buildTextToSpeechHeaders",
30302
+ "privacy": "public",
30303
+ "static": true,
30304
+ "parameters": [
30305
+ {
30306
+ "name": "outputFormat",
30307
+ "type": {
30308
+ "text": "string"
30309
+ }
30310
+ },
30311
+ {
30312
+ "name": "key",
30188
30313
  "type": {
30189
30314
  "text": "string"
30190
30315
  }
@@ -30193,7 +30318,7 @@
30193
30318
  },
30194
30319
  {
30195
30320
  "kind": "method",
30196
- "name": "buildSummarizationHeader",
30321
+ "name": "buildSpeechToTextHeaders",
30197
30322
  "privacy": "public",
30198
30323
  "static": true,
30199
30324
  "parameters": [
@@ -30207,7 +30332,7 @@
30207
30332
  },
30208
30333
  {
30209
30334
  "kind": "method",
30210
- "name": "handleLanguageVerificationResult",
30335
+ "name": "handleSpeechVerificationResult",
30211
30336
  "privacy": "private",
30212
30337
  "static": true,
30213
30338
  "parameters": [
@@ -30239,7 +30364,7 @@
30239
30364
  },
30240
30365
  {
30241
30366
  "kind": "method",
30242
- "name": "buildLanguageKeyVerificationDetails",
30367
+ "name": "buildSpeechKeyVerificationDetails",
30243
30368
  "privacy": "public",
30244
30369
  "static": true,
30245
30370
  "return": {
@@ -30249,7 +30374,7 @@
30249
30374
  },
30250
30375
  "parameters": [
30251
30376
  {
30252
- "name": "endpoint",
30377
+ "name": "region",
30253
30378
  "type": {
30254
30379
  "text": "string"
30255
30380
  }
@@ -30258,7 +30383,21 @@
30258
30383
  },
30259
30384
  {
30260
30385
  "kind": "method",
30261
- "name": "handleTranslationVerificationResult",
30386
+ "name": "buildSummarizationHeader",
30387
+ "privacy": "public",
30388
+ "static": true,
30389
+ "parameters": [
30390
+ {
30391
+ "name": "key",
30392
+ "type": {
30393
+ "text": "string"
30394
+ }
30395
+ }
30396
+ ]
30397
+ },
30398
+ {
30399
+ "kind": "method",
30400
+ "name": "handleLanguageVerificationResult",
30262
30401
  "privacy": "private",
30263
30402
  "static": true,
30264
30403
  "parameters": [
@@ -30290,7 +30429,7 @@
30290
30429
  },
30291
30430
  {
30292
30431
  "kind": "method",
30293
- "name": "buildTranslationKeyVerificationDetails",
30432
+ "name": "buildLanguageKeyVerificationDetails",
30294
30433
  "privacy": "public",
30295
30434
  "static": true,
30296
30435
  "return": {
@@ -30300,8 +30439,7 @@
30300
30439
  },
30301
30440
  "parameters": [
30302
30441
  {
30303
- "name": "region",
30304
- "optional": true,
30442
+ "name": "endpoint",
30305
30443
  "type": {
30306
30444
  "text": "string"
30307
30445
  }
@@ -30310,14 +30448,14 @@
30310
30448
  },
30311
30449
  {
30312
30450
  "kind": "method",
30313
- "name": "buildTranslationHeaders",
30314
- "privacy": "public",
30451
+ "name": "handleTranslationVerificationResult",
30452
+ "privacy": "private",
30315
30453
  "static": true,
30316
30454
  "parameters": [
30317
30455
  {
30318
- "name": "region",
30456
+ "name": "result",
30319
30457
  "type": {
30320
- "text": "string | undefined"
30458
+ "text": "object"
30321
30459
  }
30322
30460
  },
30323
30461
  {
@@ -30325,40 +30463,35 @@
30325
30463
  "type": {
30326
30464
  "text": "string"
30327
30465
  }
30466
+ },
30467
+ {
30468
+ "name": "onSuccess",
30469
+ "type": {
30470
+ "text": "(key: string) => void"
30471
+ }
30472
+ },
30473
+ {
30474
+ "name": "onFail",
30475
+ "type": {
30476
+ "text": "(message: string) => void"
30477
+ }
30328
30478
  }
30329
30479
  ]
30330
- }
30331
- ]
30332
- }
30333
- ],
30334
- "exports": [
30335
- {
30336
- "kind": "js",
30337
- "name": "AzureUtils",
30338
- "declaration": {
30339
- "name": "AzureUtils",
30340
- "module": "src/services/azure/utils/azureUtils.ts"
30341
- }
30342
- }
30343
- ]
30344
- },
30345
- {
30346
- "kind": "javascript-module",
30347
- "path": "src/services/cohere/utils/cohereUtils.ts",
30348
- "declarations": [
30349
- {
30350
- "kind": "class",
30351
- "description": "",
30352
- "name": "CohereUtils",
30353
- "members": [
30480
+ },
30354
30481
  {
30355
30482
  "kind": "method",
30356
- "name": "buildHeaders",
30483
+ "name": "buildTranslationKeyVerificationDetails",
30357
30484
  "privacy": "public",
30358
30485
  "static": true,
30486
+ "return": {
30487
+ "type": {
30488
+ "text": "KeyVerificationDetails"
30489
+ }
30490
+ },
30359
30491
  "parameters": [
30360
30492
  {
30361
- "name": "key",
30493
+ "name": "region",
30494
+ "optional": true,
30362
30495
  "type": {
30363
30496
  "text": "string"
30364
30497
  }
@@ -30367,14 +30500,14 @@
30367
30500
  },
30368
30501
  {
30369
30502
  "kind": "method",
30370
- "name": "handleVerificationResult",
30371
- "privacy": "private",
30503
+ "name": "buildTranslationHeaders",
30504
+ "privacy": "public",
30372
30505
  "static": true,
30373
30506
  "parameters": [
30374
30507
  {
30375
- "name": "result",
30508
+ "name": "region",
30376
30509
  "type": {
30377
- "text": "object"
30510
+ "text": "string | undefined"
30378
30511
  }
30379
30512
  },
30380
30513
  {
@@ -30382,31 +30515,8 @@
30382
30515
  "type": {
30383
30516
  "text": "string"
30384
30517
  }
30385
- },
30386
- {
30387
- "name": "onSuccess",
30388
- "type": {
30389
- "text": "(key: string) => void"
30390
- }
30391
- },
30392
- {
30393
- "name": "onFail",
30394
- "type": {
30395
- "text": "(message: string) => void"
30396
- }
30397
30518
  }
30398
30519
  ]
30399
- },
30400
- {
30401
- "kind": "method",
30402
- "name": "buildKeyVerificationDetails",
30403
- "privacy": "public",
30404
- "static": true,
30405
- "return": {
30406
- "type": {
30407
- "text": "KeyVerificationDetails"
30408
- }
30409
- }
30410
30520
  }
30411
30521
  ]
30412
30522
  }
@@ -30414,22 +30524,22 @@
30414
30524
  "exports": [
30415
30525
  {
30416
30526
  "kind": "js",
30417
- "name": "CohereUtils",
30527
+ "name": "AzureUtils",
30418
30528
  "declaration": {
30419
- "name": "CohereUtils",
30420
- "module": "src/services/cohere/utils/cohereUtils.ts"
30529
+ "name": "AzureUtils",
30530
+ "module": "src/services/azure/utils/azureUtils.ts"
30421
30531
  }
30422
30532
  }
30423
30533
  ]
30424
30534
  },
30425
30535
  {
30426
30536
  "kind": "javascript-module",
30427
- "path": "src/services/gemini/utils/geminiUtils.ts",
30537
+ "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
30428
30538
  "declarations": [
30429
30539
  {
30430
30540
  "kind": "class",
30431
30541
  "description": "",
30432
- "name": "GeminiUtils",
30542
+ "name": "HuggingFaceUtils",
30433
30543
  "members": [
30434
30544
  {
30435
30545
  "kind": "method",
@@ -30487,36 +30597,6 @@
30487
30597
  "text": "KeyVerificationDetails"
30488
30598
  }
30489
30599
  }
30490
- },
30491
- {
30492
- "kind": "method",
30493
- "name": "directFetch",
30494
- "privacy": "public",
30495
- "static": true,
30496
- "parameters": [
30497
- {
30498
- "name": "serviceIO",
30499
- "type": {
30500
- "text": "ServiceIO"
30501
- }
30502
- },
30503
- {
30504
- "name": "body",
30505
- "type": {
30506
- "text": "any"
30507
- }
30508
- },
30509
- {
30510
- "name": "method",
30511
- "type": {
30512
- "text": "'POST' | 'GET'"
30513
- }
30514
- },
30515
- {
30516
- "name": "stringify",
30517
- "default": "true"
30518
- }
30519
- ]
30520
30600
  }
30521
30601
  ]
30522
30602
  }
@@ -30524,22 +30604,22 @@
30524
30604
  "exports": [
30525
30605
  {
30526
30606
  "kind": "js",
30527
- "name": "GeminiUtils",
30607
+ "name": "HuggingFaceUtils",
30528
30608
  "declaration": {
30529
- "name": "GeminiUtils",
30530
- "module": "src/services/gemini/utils/geminiUtils.ts"
30609
+ "name": "HuggingFaceUtils",
30610
+ "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
30531
30611
  }
30532
30612
  }
30533
30613
  ]
30534
30614
  },
30535
30615
  {
30536
30616
  "kind": "javascript-module",
30537
- "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
30617
+ "path": "src/services/mistral/utils/mistralUtils.ts",
30538
30618
  "declarations": [
30539
30619
  {
30540
30620
  "kind": "class",
30541
30621
  "description": "",
30542
- "name": "HuggingFaceUtils",
30622
+ "name": "MistralUtils",
30543
30623
  "members": [
30544
30624
  {
30545
30625
  "kind": "method",
@@ -30604,22 +30684,22 @@
30604
30684
  "exports": [
30605
30685
  {
30606
30686
  "kind": "js",
30607
- "name": "HuggingFaceUtils",
30687
+ "name": "MistralUtils",
30608
30688
  "declaration": {
30609
- "name": "HuggingFaceUtils",
30610
- "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
30689
+ "name": "MistralUtils",
30690
+ "module": "src/services/mistral/utils/mistralUtils.ts"
30611
30691
  }
30612
30692
  }
30613
30693
  ]
30614
30694
  },
30615
30695
  {
30616
30696
  "kind": "javascript-module",
30617
- "path": "src/services/mistral/utils/mistralUtils.ts",
30697
+ "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts",
30618
30698
  "declarations": [
30619
30699
  {
30620
30700
  "kind": "class",
30621
30701
  "description": "",
30622
- "name": "MistralUtils",
30702
+ "name": "StabilityAIUtils",
30623
30703
  "members": [
30624
30704
  {
30625
30705
  "kind": "method",
@@ -30684,10 +30764,10 @@
30684
30764
  "exports": [
30685
30765
  {
30686
30766
  "kind": "js",
30687
- "name": "MistralUtils",
30767
+ "name": "StabilityAIUtils",
30688
30768
  "declaration": {
30689
- "name": "MistralUtils",
30690
- "module": "src/services/mistral/utils/mistralUtils.ts"
30769
+ "name": "StabilityAIUtils",
30770
+ "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts"
30691
30771
  }
30692
30772
  }
30693
30773
  ]
@@ -31096,191 +31176,6 @@
31096
31176
  }
31097
31177
  ]
31098
31178
  },
31099
- {
31100
- "kind": "javascript-module",
31101
- "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts",
31102
- "declarations": [
31103
- {
31104
- "kind": "class",
31105
- "description": "",
31106
- "name": "StabilityAIUtils",
31107
- "members": [
31108
- {
31109
- "kind": "method",
31110
- "name": "buildHeaders",
31111
- "privacy": "public",
31112
- "static": true,
31113
- "parameters": [
31114
- {
31115
- "name": "key",
31116
- "type": {
31117
- "text": "string"
31118
- }
31119
- }
31120
- ]
31121
- },
31122
- {
31123
- "kind": "method",
31124
- "name": "handleVerificationResult",
31125
- "privacy": "private",
31126
- "static": true,
31127
- "parameters": [
31128
- {
31129
- "name": "result",
31130
- "type": {
31131
- "text": "object"
31132
- }
31133
- },
31134
- {
31135
- "name": "key",
31136
- "type": {
31137
- "text": "string"
31138
- }
31139
- },
31140
- {
31141
- "name": "onSuccess",
31142
- "type": {
31143
- "text": "(key: string) => void"
31144
- }
31145
- },
31146
- {
31147
- "name": "onFail",
31148
- "type": {
31149
- "text": "(message: string) => void"
31150
- }
31151
- }
31152
- ]
31153
- },
31154
- {
31155
- "kind": "method",
31156
- "name": "buildKeyVerificationDetails",
31157
- "privacy": "public",
31158
- "static": true,
31159
- "return": {
31160
- "type": {
31161
- "text": "KeyVerificationDetails"
31162
- }
31163
- }
31164
- }
31165
- ]
31166
- }
31167
- ],
31168
- "exports": [
31169
- {
31170
- "kind": "js",
31171
- "name": "StabilityAIUtils",
31172
- "declaration": {
31173
- "name": "StabilityAIUtils",
31174
- "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts"
31175
- }
31176
- }
31177
- ]
31178
- },
31179
- {
31180
- "kind": "javascript-module",
31181
- "path": "src/views/chat/introPanel/introPanel.ts",
31182
- "declarations": [
31183
- {
31184
- "kind": "class",
31185
- "description": "",
31186
- "name": "IntroPanel",
31187
- "members": [
31188
- {
31189
- "kind": "field",
31190
- "name": "_elementRef",
31191
- "type": {
31192
- "text": "HTMLElement | undefined"
31193
- },
31194
- "readonly": true
31195
- },
31196
- {
31197
- "kind": "field",
31198
- "name": "_isDisplayed",
31199
- "type": {
31200
- "text": "boolean"
31201
- },
31202
- "privacy": "private",
31203
- "default": "false"
31204
- },
31205
- {
31206
- "kind": "method",
31207
- "name": "createIntroPanel",
31208
- "privacy": "private",
31209
- "static": true,
31210
- "parameters": [
31211
- {
31212
- "name": "introPanelStyle",
31213
- "optional": true,
31214
- "type": {
31215
- "text": "CustomStyle"
31216
- }
31217
- }
31218
- ]
31219
- },
31220
- {
31221
- "kind": "method",
31222
- "name": "createIntroPanelWithChild",
31223
- "privacy": "private",
31224
- "parameters": [
31225
- {
31226
- "name": "childElement",
31227
- "type": {
31228
- "text": "HTMLElement"
31229
- }
31230
- },
31231
- {
31232
- "name": "introPanelStyle",
31233
- "optional": true,
31234
- "type": {
31235
- "text": "CustomStyle"
31236
- }
31237
- }
31238
- ]
31239
- },
31240
- {
31241
- "kind": "method",
31242
- "name": "createInternalIntroPanel",
31243
- "privacy": "private",
31244
- "parameters": [
31245
- {
31246
- "name": "introPanelMarkUp",
31247
- "type": {
31248
- "text": "string"
31249
- }
31250
- },
31251
- {
31252
- "name": "introPanelStyle",
31253
- "optional": true,
31254
- "type": {
31255
- "text": "CustomStyle"
31256
- }
31257
- }
31258
- ]
31259
- },
31260
- {
31261
- "kind": "method",
31262
- "name": "hide",
31263
- "privacy": "public"
31264
- },
31265
- {
31266
- "kind": "method",
31267
- "name": "display",
31268
- "privacy": "public"
31269
- }
31270
- ]
31271
- }
31272
- ],
31273
- "exports": [
31274
- {
31275
- "kind": "js",
31276
- "name": "IntroPanel",
31277
- "declaration": {
31278
- "name": "IntroPanel",
31279
- "module": "src/views/chat/introPanel/introPanel.ts"
31280
- }
31281
- }
31282
- ]
31283
- },
31284
31179
  {
31285
31180
  "kind": "javascript-module",
31286
31181
  "path": "src/views/chat/input/input.ts",
@@ -31453,6 +31348,111 @@
31453
31348
  }
31454
31349
  ]
31455
31350
  },
31351
+ {
31352
+ "kind": "javascript-module",
31353
+ "path": "src/views/chat/introPanel/introPanel.ts",
31354
+ "declarations": [
31355
+ {
31356
+ "kind": "class",
31357
+ "description": "",
31358
+ "name": "IntroPanel",
31359
+ "members": [
31360
+ {
31361
+ "kind": "field",
31362
+ "name": "_elementRef",
31363
+ "type": {
31364
+ "text": "HTMLElement | undefined"
31365
+ },
31366
+ "readonly": true
31367
+ },
31368
+ {
31369
+ "kind": "field",
31370
+ "name": "_isDisplayed",
31371
+ "type": {
31372
+ "text": "boolean"
31373
+ },
31374
+ "privacy": "private",
31375
+ "default": "false"
31376
+ },
31377
+ {
31378
+ "kind": "method",
31379
+ "name": "createIntroPanel",
31380
+ "privacy": "private",
31381
+ "static": true,
31382
+ "parameters": [
31383
+ {
31384
+ "name": "introPanelStyle",
31385
+ "optional": true,
31386
+ "type": {
31387
+ "text": "CustomStyle"
31388
+ }
31389
+ }
31390
+ ]
31391
+ },
31392
+ {
31393
+ "kind": "method",
31394
+ "name": "createIntroPanelWithChild",
31395
+ "privacy": "private",
31396
+ "parameters": [
31397
+ {
31398
+ "name": "childElement",
31399
+ "type": {
31400
+ "text": "HTMLElement"
31401
+ }
31402
+ },
31403
+ {
31404
+ "name": "introPanelStyle",
31405
+ "optional": true,
31406
+ "type": {
31407
+ "text": "CustomStyle"
31408
+ }
31409
+ }
31410
+ ]
31411
+ },
31412
+ {
31413
+ "kind": "method",
31414
+ "name": "createInternalIntroPanel",
31415
+ "privacy": "private",
31416
+ "parameters": [
31417
+ {
31418
+ "name": "introPanelMarkUp",
31419
+ "type": {
31420
+ "text": "string"
31421
+ }
31422
+ },
31423
+ {
31424
+ "name": "introPanelStyle",
31425
+ "optional": true,
31426
+ "type": {
31427
+ "text": "CustomStyle"
31428
+ }
31429
+ }
31430
+ ]
31431
+ },
31432
+ {
31433
+ "kind": "method",
31434
+ "name": "hide",
31435
+ "privacy": "public"
31436
+ },
31437
+ {
31438
+ "kind": "method",
31439
+ "name": "display",
31440
+ "privacy": "public"
31441
+ }
31442
+ ]
31443
+ }
31444
+ ],
31445
+ "exports": [
31446
+ {
31447
+ "kind": "js",
31448
+ "name": "IntroPanel",
31449
+ "declaration": {
31450
+ "name": "IntroPanel",
31451
+ "module": "src/views/chat/introPanel/introPanel.ts"
31452
+ }
31453
+ }
31454
+ ]
31455
+ },
31456
31456
  {
31457
31457
  "kind": "javascript-module",
31458
31458
  "path": "src/types/webModel/webLLM/webLLM.ts",
@@ -35207,180 +35207,6 @@
35207
35207
  }
35208
35208
  ]
35209
35209
  },
35210
- {
35211
- "kind": "javascript-module",
35212
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
35213
- "declarations": [
35214
- {
35215
- "kind": "class",
35216
- "description": "",
35217
- "name": "FileAttachments",
35218
- "members": [
35219
- {
35220
- "kind": "field",
35221
- "name": "_fileAttachmentsTypes",
35222
- "type": {
35223
- "text": "FileAttachmentsType[]"
35224
- },
35225
- "privacy": "private",
35226
- "readonly": true,
35227
- "default": "[]"
35228
- },
35229
- {
35230
- "kind": "field",
35231
- "name": "elementRef",
35232
- "type": {
35233
- "text": "HTMLElement"
35234
- },
35235
- "readonly": true
35236
- },
35237
- {
35238
- "kind": "method",
35239
- "name": "addType",
35240
- "parameters": [
35241
- {
35242
- "name": "deepChat",
35243
- "type": {
35244
- "text": "DeepChat"
35245
- }
35246
- },
35247
- {
35248
- "name": "files",
35249
- "type": {
35250
- "text": "FileAttachmentsT"
35251
- }
35252
- },
35253
- {
35254
- "name": "type",
35255
- "type": {
35256
- "text": "keyof ServiceFileTypes"
35257
- }
35258
- }
35259
- ]
35260
- },
35261
- {
35262
- "kind": "method",
35263
- "name": "createAttachmentContainer",
35264
- "privacy": "private"
35265
- },
35266
- {
35267
- "kind": "method",
35268
- "name": "toggleContainerDisplay",
35269
- "privacy": "private",
35270
- "parameters": [
35271
- {
35272
- "name": "display",
35273
- "type": {
35274
- "text": "boolean"
35275
- }
35276
- }
35277
- ]
35278
- },
35279
- {
35280
- "kind": "method",
35281
- "name": "getAllFileData"
35282
- },
35283
- {
35284
- "kind": "method",
35285
- "name": "completePlaceholders"
35286
- },
35287
- {
35288
- "kind": "method",
35289
- "name": "addFilesToType",
35290
- "privacy": "public",
35291
- "static": true,
35292
- "parameters": [
35293
- {
35294
- "name": "files",
35295
- "type": {
35296
- "text": "File[]"
35297
- }
35298
- },
35299
- {
35300
- "name": "fileAttachmentTypes",
35301
- "type": {
35302
- "text": "FileAttachmentsType[]"
35303
- }
35304
- }
35305
- ]
35306
- },
35307
- {
35308
- "kind": "method",
35309
- "name": "addFilesToAnyType",
35310
- "parameters": [
35311
- {
35312
- "name": "files",
35313
- "type": {
35314
- "text": "File[]"
35315
- }
35316
- }
35317
- ]
35318
- },
35319
- {
35320
- "kind": "method",
35321
- "name": "removeAllFiles"
35322
- },
35323
- {
35324
- "kind": "method",
35325
- "name": "getNumberOfTypes"
35326
- }
35327
- ]
35328
- }
35329
- ],
35330
- "exports": [
35331
- {
35332
- "kind": "js",
35333
- "name": "FileAttachments",
35334
- "declaration": {
35335
- "name": "FileAttachments",
35336
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
35337
- }
35338
- }
35339
- ]
35340
- },
35341
- {
35342
- "kind": "javascript-module",
35343
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
35344
- "declarations": [
35345
- {
35346
- "kind": "class",
35347
- "description": "",
35348
- "name": "NewFileName",
35349
- "members": [
35350
- {
35351
- "kind": "method",
35352
- "name": "getFileName",
35353
- "privacy": "public",
35354
- "static": true,
35355
- "parameters": [
35356
- {
35357
- "name": "prefix",
35358
- "type": {
35359
- "text": "string"
35360
- }
35361
- },
35362
- {
35363
- "name": "extension",
35364
- "type": {
35365
- "text": "string"
35366
- }
35367
- }
35368
- ]
35369
- }
35370
- ]
35371
- }
35372
- ],
35373
- "exports": [
35374
- {
35375
- "kind": "js",
35376
- "name": "NewFileName",
35377
- "declaration": {
35378
- "name": "NewFileName",
35379
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
35380
- }
35381
- }
35382
- ]
35383
- },
35384
35210
  {
35385
35211
  "kind": "javascript-module",
35386
35212
  "path": "src/views/chat/input/dropup/dropup.ts",
@@ -36141,186 +35967,6 @@
36141
35967
  }
36142
35968
  ]
36143
35969
  },
36144
- {
36145
- "kind": "javascript-module",
36146
- "path": "src/views/chat/input/validation/validationHandler.ts",
36147
- "declarations": [
36148
- {
36149
- "kind": "class",
36150
- "description": "",
36151
- "name": "ValidationHandler",
36152
- "members": [
36153
- {
36154
- "kind": "method",
36155
- "name": "validate",
36156
- "privacy": "private",
36157
- "static": true,
36158
- "parameters": [
36159
- {
36160
- "name": "validation",
36161
- "type": {
36162
- "text": "ValidateFunc"
36163
- }
36164
- },
36165
- {
36166
- "name": "submitButton",
36167
- "type": {
36168
- "text": "SubmitButton"
36169
- }
36170
- },
36171
- {
36172
- "name": "text",
36173
- "optional": true,
36174
- "type": {
36175
- "text": "string"
36176
- }
36177
- },
36178
- {
36179
- "name": "files",
36180
- "optional": true,
36181
- "type": {
36182
- "text": "File[]"
36183
- }
36184
- },
36185
- {
36186
- "name": "isProgrammatic",
36187
- "optional": true,
36188
- "type": {
36189
- "text": "boolean"
36190
- }
36191
- }
36192
- ]
36193
- },
36194
- {
36195
- "kind": "method",
36196
- "name": "useValidationFunc",
36197
- "privacy": "private",
36198
- "static": true,
36199
- "parameters": [
36200
- {
36201
- "name": "validation",
36202
- "type": {
36203
- "text": "ValidateFunc"
36204
- }
36205
- },
36206
- {
36207
- "name": "textInput",
36208
- "type": {
36209
- "text": "TextInputEl"
36210
- }
36211
- },
36212
- {
36213
- "name": "fileAttachments",
36214
- "type": {
36215
- "text": "FileAttachments"
36216
- }
36217
- },
36218
- {
36219
- "name": "submitButton",
36220
- "type": {
36221
- "text": "SubmitButton"
36222
- }
36223
- }
36224
- ]
36225
- },
36226
- {
36227
- "kind": "method",
36228
- "name": "useValidationFuncProgrammatic",
36229
- "privacy": "private",
36230
- "static": true,
36231
- "parameters": [
36232
- {
36233
- "name": "validation",
36234
- "type": {
36235
- "text": "ValidateFunc"
36236
- }
36237
- },
36238
- {
36239
- "name": "programmatic",
36240
- "type": {
36241
- "text": "UserContentI"
36242
- }
36243
- },
36244
- {
36245
- "name": "submitButton",
36246
- "type": {
36247
- "text": "SubmitButton"
36248
- }
36249
- }
36250
- ]
36251
- },
36252
- {
36253
- "kind": "method",
36254
- "name": "validateWebsocket",
36255
- "privacy": "private",
36256
- "static": true,
36257
- "parameters": [
36258
- {
36259
- "name": "serviceIO",
36260
- "type": {
36261
- "text": "ServiceIO"
36262
- }
36263
- },
36264
- {
36265
- "name": "submitButton",
36266
- "type": {
36267
- "text": "SubmitButton"
36268
- }
36269
- }
36270
- ]
36271
- },
36272
- {
36273
- "kind": "method",
36274
- "name": "attach",
36275
- "privacy": "public",
36276
- "static": true,
36277
- "parameters": [
36278
- {
36279
- "name": "deepChat",
36280
- "type": {
36281
- "text": "DeepChat"
36282
- }
36283
- },
36284
- {
36285
- "name": "serviceIO",
36286
- "type": {
36287
- "text": "ServiceIO"
36288
- }
36289
- },
36290
- {
36291
- "name": "textInput",
36292
- "type": {
36293
- "text": "TextInputEl"
36294
- }
36295
- },
36296
- {
36297
- "name": "fileAttachments",
36298
- "type": {
36299
- "text": "FileAttachments"
36300
- }
36301
- },
36302
- {
36303
- "name": "submitButton",
36304
- "type": {
36305
- "text": "SubmitButton"
36306
- }
36307
- }
36308
- ]
36309
- }
36310
- ]
36311
- }
36312
- ],
36313
- "exports": [
36314
- {
36315
- "kind": "js",
36316
- "name": "ValidationHandler",
36317
- "declaration": {
36318
- "name": "ValidationHandler",
36319
- "module": "src/views/chat/input/validation/validationHandler.ts"
36320
- }
36321
- }
36322
- ]
36323
- },
36324
35970
  {
36325
35971
  "kind": "javascript-module",
36326
35972
  "path": "src/views/chat/input/textInput/focusUtils.ts",
@@ -36799,6 +36445,360 @@
36799
36445
  }
36800
36446
  ]
36801
36447
  },
36448
+ {
36449
+ "kind": "javascript-module",
36450
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
36451
+ "declarations": [
36452
+ {
36453
+ "kind": "class",
36454
+ "description": "",
36455
+ "name": "FileAttachments",
36456
+ "members": [
36457
+ {
36458
+ "kind": "field",
36459
+ "name": "_fileAttachmentsTypes",
36460
+ "type": {
36461
+ "text": "FileAttachmentsType[]"
36462
+ },
36463
+ "privacy": "private",
36464
+ "readonly": true,
36465
+ "default": "[]"
36466
+ },
36467
+ {
36468
+ "kind": "field",
36469
+ "name": "elementRef",
36470
+ "type": {
36471
+ "text": "HTMLElement"
36472
+ },
36473
+ "readonly": true
36474
+ },
36475
+ {
36476
+ "kind": "method",
36477
+ "name": "addType",
36478
+ "parameters": [
36479
+ {
36480
+ "name": "deepChat",
36481
+ "type": {
36482
+ "text": "DeepChat"
36483
+ }
36484
+ },
36485
+ {
36486
+ "name": "files",
36487
+ "type": {
36488
+ "text": "FileAttachmentsT"
36489
+ }
36490
+ },
36491
+ {
36492
+ "name": "type",
36493
+ "type": {
36494
+ "text": "keyof ServiceFileTypes"
36495
+ }
36496
+ }
36497
+ ]
36498
+ },
36499
+ {
36500
+ "kind": "method",
36501
+ "name": "createAttachmentContainer",
36502
+ "privacy": "private"
36503
+ },
36504
+ {
36505
+ "kind": "method",
36506
+ "name": "toggleContainerDisplay",
36507
+ "privacy": "private",
36508
+ "parameters": [
36509
+ {
36510
+ "name": "display",
36511
+ "type": {
36512
+ "text": "boolean"
36513
+ }
36514
+ }
36515
+ ]
36516
+ },
36517
+ {
36518
+ "kind": "method",
36519
+ "name": "getAllFileData"
36520
+ },
36521
+ {
36522
+ "kind": "method",
36523
+ "name": "completePlaceholders"
36524
+ },
36525
+ {
36526
+ "kind": "method",
36527
+ "name": "addFilesToType",
36528
+ "privacy": "public",
36529
+ "static": true,
36530
+ "parameters": [
36531
+ {
36532
+ "name": "files",
36533
+ "type": {
36534
+ "text": "File[]"
36535
+ }
36536
+ },
36537
+ {
36538
+ "name": "fileAttachmentTypes",
36539
+ "type": {
36540
+ "text": "FileAttachmentsType[]"
36541
+ }
36542
+ }
36543
+ ]
36544
+ },
36545
+ {
36546
+ "kind": "method",
36547
+ "name": "addFilesToAnyType",
36548
+ "parameters": [
36549
+ {
36550
+ "name": "files",
36551
+ "type": {
36552
+ "text": "File[]"
36553
+ }
36554
+ }
36555
+ ]
36556
+ },
36557
+ {
36558
+ "kind": "method",
36559
+ "name": "removeAllFiles"
36560
+ },
36561
+ {
36562
+ "kind": "method",
36563
+ "name": "getNumberOfTypes"
36564
+ }
36565
+ ]
36566
+ }
36567
+ ],
36568
+ "exports": [
36569
+ {
36570
+ "kind": "js",
36571
+ "name": "FileAttachments",
36572
+ "declaration": {
36573
+ "name": "FileAttachments",
36574
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
36575
+ }
36576
+ }
36577
+ ]
36578
+ },
36579
+ {
36580
+ "kind": "javascript-module",
36581
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
36582
+ "declarations": [
36583
+ {
36584
+ "kind": "class",
36585
+ "description": "",
36586
+ "name": "NewFileName",
36587
+ "members": [
36588
+ {
36589
+ "kind": "method",
36590
+ "name": "getFileName",
36591
+ "privacy": "public",
36592
+ "static": true,
36593
+ "parameters": [
36594
+ {
36595
+ "name": "prefix",
36596
+ "type": {
36597
+ "text": "string"
36598
+ }
36599
+ },
36600
+ {
36601
+ "name": "extension",
36602
+ "type": {
36603
+ "text": "string"
36604
+ }
36605
+ }
36606
+ ]
36607
+ }
36608
+ ]
36609
+ }
36610
+ ],
36611
+ "exports": [
36612
+ {
36613
+ "kind": "js",
36614
+ "name": "NewFileName",
36615
+ "declaration": {
36616
+ "name": "NewFileName",
36617
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
36618
+ }
36619
+ }
36620
+ ]
36621
+ },
36622
+ {
36623
+ "kind": "javascript-module",
36624
+ "path": "src/views/chat/input/validation/validationHandler.ts",
36625
+ "declarations": [
36626
+ {
36627
+ "kind": "class",
36628
+ "description": "",
36629
+ "name": "ValidationHandler",
36630
+ "members": [
36631
+ {
36632
+ "kind": "method",
36633
+ "name": "validate",
36634
+ "privacy": "private",
36635
+ "static": true,
36636
+ "parameters": [
36637
+ {
36638
+ "name": "validation",
36639
+ "type": {
36640
+ "text": "ValidateFunc"
36641
+ }
36642
+ },
36643
+ {
36644
+ "name": "submitButton",
36645
+ "type": {
36646
+ "text": "SubmitButton"
36647
+ }
36648
+ },
36649
+ {
36650
+ "name": "text",
36651
+ "optional": true,
36652
+ "type": {
36653
+ "text": "string"
36654
+ }
36655
+ },
36656
+ {
36657
+ "name": "files",
36658
+ "optional": true,
36659
+ "type": {
36660
+ "text": "File[]"
36661
+ }
36662
+ },
36663
+ {
36664
+ "name": "isProgrammatic",
36665
+ "optional": true,
36666
+ "type": {
36667
+ "text": "boolean"
36668
+ }
36669
+ }
36670
+ ]
36671
+ },
36672
+ {
36673
+ "kind": "method",
36674
+ "name": "useValidationFunc",
36675
+ "privacy": "private",
36676
+ "static": true,
36677
+ "parameters": [
36678
+ {
36679
+ "name": "validation",
36680
+ "type": {
36681
+ "text": "ValidateFunc"
36682
+ }
36683
+ },
36684
+ {
36685
+ "name": "textInput",
36686
+ "type": {
36687
+ "text": "TextInputEl"
36688
+ }
36689
+ },
36690
+ {
36691
+ "name": "fileAttachments",
36692
+ "type": {
36693
+ "text": "FileAttachments"
36694
+ }
36695
+ },
36696
+ {
36697
+ "name": "submitButton",
36698
+ "type": {
36699
+ "text": "SubmitButton"
36700
+ }
36701
+ }
36702
+ ]
36703
+ },
36704
+ {
36705
+ "kind": "method",
36706
+ "name": "useValidationFuncProgrammatic",
36707
+ "privacy": "private",
36708
+ "static": true,
36709
+ "parameters": [
36710
+ {
36711
+ "name": "validation",
36712
+ "type": {
36713
+ "text": "ValidateFunc"
36714
+ }
36715
+ },
36716
+ {
36717
+ "name": "programmatic",
36718
+ "type": {
36719
+ "text": "UserContentI"
36720
+ }
36721
+ },
36722
+ {
36723
+ "name": "submitButton",
36724
+ "type": {
36725
+ "text": "SubmitButton"
36726
+ }
36727
+ }
36728
+ ]
36729
+ },
36730
+ {
36731
+ "kind": "method",
36732
+ "name": "validateWebsocket",
36733
+ "privacy": "private",
36734
+ "static": true,
36735
+ "parameters": [
36736
+ {
36737
+ "name": "serviceIO",
36738
+ "type": {
36739
+ "text": "ServiceIO"
36740
+ }
36741
+ },
36742
+ {
36743
+ "name": "submitButton",
36744
+ "type": {
36745
+ "text": "SubmitButton"
36746
+ }
36747
+ }
36748
+ ]
36749
+ },
36750
+ {
36751
+ "kind": "method",
36752
+ "name": "attach",
36753
+ "privacy": "public",
36754
+ "static": true,
36755
+ "parameters": [
36756
+ {
36757
+ "name": "deepChat",
36758
+ "type": {
36759
+ "text": "DeepChat"
36760
+ }
36761
+ },
36762
+ {
36763
+ "name": "serviceIO",
36764
+ "type": {
36765
+ "text": "ServiceIO"
36766
+ }
36767
+ },
36768
+ {
36769
+ "name": "textInput",
36770
+ "type": {
36771
+ "text": "TextInputEl"
36772
+ }
36773
+ },
36774
+ {
36775
+ "name": "fileAttachments",
36776
+ "type": {
36777
+ "text": "FileAttachments"
36778
+ }
36779
+ },
36780
+ {
36781
+ "name": "submitButton",
36782
+ "type": {
36783
+ "text": "SubmitButton"
36784
+ }
36785
+ }
36786
+ ]
36787
+ }
36788
+ ]
36789
+ }
36790
+ ],
36791
+ "exports": [
36792
+ {
36793
+ "kind": "js",
36794
+ "name": "ValidationHandler",
36795
+ "declaration": {
36796
+ "name": "ValidationHandler",
36797
+ "module": "src/views/chat/input/validation/validationHandler.ts"
36798
+ }
36799
+ }
36800
+ ]
36801
+ },
36802
36802
  {
36803
36803
  "kind": "javascript-module",
36804
36804
  "path": "src/views/chat/messages/html/htmlDeepChatElements.ts",
@@ -37275,43 +37275,6 @@
37275
37275
  }
37276
37276
  ]
37277
37277
  },
37278
- {
37279
- "kind": "javascript-module",
37280
- "path": "src/views/chat/messages/remarkable/remarkableUtils.ts",
37281
- "declarations": [
37282
- {
37283
- "kind": "class",
37284
- "description": "",
37285
- "name": "RemarkableUtils",
37286
- "members": [
37287
- {
37288
- "kind": "method",
37289
- "name": "replaceNewlineWithDouble",
37290
- "privacy": "public",
37291
- "static": true,
37292
- "parameters": [
37293
- {
37294
- "name": "str",
37295
- "type": {
37296
- "text": "string"
37297
- }
37298
- }
37299
- ]
37300
- }
37301
- ]
37302
- }
37303
- ],
37304
- "exports": [
37305
- {
37306
- "kind": "js",
37307
- "name": "RemarkableUtils",
37308
- "declaration": {
37309
- "name": "RemarkableUtils",
37310
- "module": "src/views/chat/messages/remarkable/remarkableUtils.ts"
37311
- }
37312
- }
37313
- ]
37314
- },
37315
37278
  {
37316
37279
  "kind": "javascript-module",
37317
37280
  "path": "src/views/chat/messages/stream/messageStream.ts",