deep-chat-dev 9.0.269 → 9.0.271

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.
Files changed (33) hide show
  1. package/custom-elements.json +1491 -1360
  2. package/dist/deepChat.bundle.js +1 -1
  3. package/dist/deepChat.d.ts +2 -1
  4. package/dist/deepChat.d.ts.map +1 -1
  5. package/dist/deepChat.js +706 -665
  6. package/dist/services/serviceIO.d.ts +1 -0
  7. package/dist/services/serviceIO.d.ts.map +1 -1
  8. package/dist/types/stream.d.ts +6 -1
  9. package/dist/types/stream.d.ts.map +1 -1
  10. package/dist/types/textInput.d.ts +7 -0
  11. package/dist/types/textInput.d.ts.map +1 -1
  12. package/dist/utils/HTTP/stream.d.ts.map +1 -1
  13. package/dist/utils/events/fireEvents.d.ts +4 -0
  14. package/dist/utils/events/fireEvents.d.ts.map +1 -1
  15. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +2 -1
  16. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts.map +1 -1
  17. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts +2 -2
  18. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts.map +1 -1
  19. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +4 -2
  20. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts.map +1 -1
  21. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts +2 -2
  22. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts.map +1 -1
  23. package/dist/views/chat/input/input.d.ts +1 -0
  24. package/dist/views/chat/input/input.d.ts.map +1 -1
  25. package/dist/views/chat/input/textInput/textInput.d.ts +2 -1
  26. package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -1
  27. package/dist/views/chat/messages/stream/messageStream.d.ts +1 -1
  28. package/dist/views/chat/messages/stream/messageStream.d.ts.map +1 -1
  29. package/dist/views/chat/messages/utils/fileMessageUtils.d.ts +3 -4
  30. package/dist/views/chat/messages/utils/fileMessageUtils.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/types/streamWrapper.d.ts +0 -7
  33. package/dist/types/streamWrapper.d.ts.map +0 -1
@@ -354,6 +354,13 @@
354
354
  "text": "(ref: DeepChat) => void | undefined"
355
355
  }
356
356
  },
357
+ {
358
+ "kind": "field",
359
+ "name": "onInput",
360
+ "type": {
361
+ "text": "OnInput | undefined"
362
+ }
363
+ },
357
364
  {
358
365
  "kind": "field",
359
366
  "name": "onError",
@@ -2419,12 +2426,6 @@
2419
2426
  "declarations": [],
2420
2427
  "exports": []
2421
2428
  },
2422
- {
2423
- "kind": "javascript-module",
2424
- "path": "src/types/streamWrapper.ts",
2425
- "declarations": [],
2426
- "exports": []
2427
- },
2428
2429
  {
2429
2430
  "kind": "javascript-module",
2430
2431
  "path": "src/types/styles.ts",
@@ -28960,6 +28961,12 @@
28960
28961
  }
28961
28962
  ]
28962
28963
  },
28964
+ {
28965
+ "kind": "javascript-module",
28966
+ "path": "src/types/webModel/webModel.ts",
28967
+ "declarations": [],
28968
+ "exports": []
28969
+ },
28963
28970
  {
28964
28971
  "kind": "javascript-module",
28965
28972
  "path": "src/utils/HTTP/HTTPRequest.ts",
@@ -31180,6 +31187,32 @@
31180
31187
  }
31181
31188
  ]
31182
31189
  },
31190
+ {
31191
+ "kind": "method",
31192
+ "name": "onInput",
31193
+ "privacy": "public",
31194
+ "static": true,
31195
+ "parameters": [
31196
+ {
31197
+ "name": "deepChat",
31198
+ "type": {
31199
+ "text": "DeepChat"
31200
+ }
31201
+ },
31202
+ {
31203
+ "name": "content",
31204
+ "type": {
31205
+ "text": "{text?: string; files?: File[]}"
31206
+ }
31207
+ },
31208
+ {
31209
+ "name": "isUser",
31210
+ "type": {
31211
+ "text": "boolean"
31212
+ }
31213
+ }
31214
+ ]
31215
+ },
31183
31216
  {
31184
31217
  "kind": "method",
31185
31218
  "name": "onError",
@@ -31855,12 +31888,6 @@
31855
31888
  }
31856
31889
  ]
31857
31890
  },
31858
- {
31859
- "kind": "javascript-module",
31860
- "path": "src/types/webModel/webModel.ts",
31861
- "declarations": [],
31862
- "exports": []
31863
- },
31864
31891
  {
31865
31892
  "kind": "javascript-module",
31866
31893
  "path": "src/views/chat/introPanel/introPanel.ts",
@@ -32041,6 +32068,12 @@
32041
32068
  "text": "DeepChat"
32042
32069
  }
32043
32070
  },
32071
+ {
32072
+ "name": "serviceIO",
32073
+ "type": {
32074
+ "text": "ServiceIO"
32075
+ }
32076
+ },
32044
32077
  {
32045
32078
  "name": "fileTypes",
32046
32079
  "type": {
@@ -32112,117 +32145,49 @@
32112
32145
  }
32113
32146
  ]
32114
32147
  },
32115
- {
32116
- "kind": "field",
32117
- "name": "submit",
32118
- "type": {
32119
- "text": "object"
32120
- },
32121
- "default": "{button: submitButton}"
32122
- },
32123
- {
32124
- "kind": "field",
32125
- "name": "submitUserMessage"
32126
- }
32127
- ]
32128
- }
32129
- ],
32130
- "exports": [
32131
- {
32132
- "kind": "js",
32133
- "name": "Input",
32134
- "declaration": {
32135
- "name": "Input",
32136
- "module": "src/views/chat/input/input.ts"
32137
- }
32138
- }
32139
- ]
32140
- },
32141
- {
32142
- "kind": "javascript-module",
32143
- "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
32144
- "declarations": [
32145
- {
32146
- "kind": "class",
32147
- "description": "",
32148
- "name": "AssemblyAIUtils",
32149
- "members": [
32150
- {
32151
- "kind": "method",
32152
- "name": "poll",
32153
- "privacy": "public",
32154
- "static": true,
32155
- "parameters": [
32156
- {
32157
- "name": "api_token",
32158
- "type": {
32159
- "text": "string"
32160
- }
32161
- },
32162
- {
32163
- "name": "audio_url",
32164
- "type": {
32165
- "text": "string"
32166
- }
32167
- }
32168
- ]
32169
- },
32170
- {
32171
- "kind": "method",
32172
- "name": "buildHeaders",
32173
- "privacy": "public",
32174
- "static": true,
32175
- "parameters": [
32176
- {
32177
- "name": "key",
32178
- "type": {
32179
- "text": "string"
32180
- }
32181
- }
32182
- ]
32183
- },
32184
32148
  {
32185
32149
  "kind": "method",
32186
- "name": "handleVerificationResult",
32150
+ "name": "assignOnInput",
32187
32151
  "privacy": "private",
32188
32152
  "static": true,
32189
32153
  "parameters": [
32190
32154
  {
32191
- "name": "result",
32155
+ "name": "deepChat",
32192
32156
  "type": {
32193
- "text": "object"
32157
+ "text": "DeepChat"
32194
32158
  }
32195
32159
  },
32196
32160
  {
32197
- "name": "key",
32161
+ "name": "io",
32198
32162
  "type": {
32199
- "text": "string"
32163
+ "text": "ServiceIO"
32200
32164
  }
32201
32165
  },
32202
32166
  {
32203
- "name": "onSuccess",
32167
+ "name": "fileAtts",
32204
32168
  "type": {
32205
- "text": "(key: string) => void"
32169
+ "text": "FileAttachments"
32206
32170
  }
32207
32171
  },
32208
32172
  {
32209
- "name": "onFail",
32173
+ "name": "textInput",
32210
32174
  "type": {
32211
- "text": "(message: string) => void"
32175
+ "text": "TextInputEl"
32212
32176
  }
32213
32177
  }
32214
32178
  ]
32215
32179
  },
32216
32180
  {
32217
- "kind": "method",
32218
- "name": "buildKeyVerificationDetails",
32219
- "privacy": "public",
32220
- "static": true,
32221
- "return": {
32222
- "type": {
32223
- "text": "KeyVerificationDetails"
32224
- }
32225
- }
32181
+ "kind": "field",
32182
+ "name": "submit",
32183
+ "type": {
32184
+ "text": "object"
32185
+ },
32186
+ "default": "{button: submitButton}"
32187
+ },
32188
+ {
32189
+ "kind": "field",
32190
+ "name": "submitUserMessage"
32226
32191
  }
32227
32192
  ]
32228
32193
  }
@@ -32230,10 +32195,10 @@
32230
32195
  "exports": [
32231
32196
  {
32232
32197
  "kind": "js",
32233
- "name": "AssemblyAIUtils",
32198
+ "name": "Input",
32234
32199
  "declaration": {
32235
- "name": "AssemblyAIUtils",
32236
- "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
32200
+ "name": "Input",
32201
+ "module": "src/views/chat/input/input.ts"
32237
32202
  }
32238
32203
  }
32239
32204
  ]
@@ -35116,108 +35081,27 @@
35116
35081
  },
35117
35082
  {
35118
35083
  "kind": "javascript-module",
35119
- "path": "src/services/azure/utils/azureOpenAIUtils.ts",
35120
- "declarations": [
35121
- {
35122
- "kind": "class",
35123
- "description": "",
35124
- "name": "AzureOpenAIUtils",
35125
- "members": [
35126
- {
35127
- "kind": "field",
35128
- "name": "URL_DETAILS_ERROR_MESSAGE",
35129
- "type": {
35130
- "text": "string"
35131
- },
35132
- "privacy": "public",
35133
- "static": true,
35134
- "readonly": true,
35135
- "default": "'Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)'"
35136
- },
35137
- {
35138
- "kind": "method",
35139
- "name": "buildHeaders",
35140
- "privacy": "public",
35141
- "static": true,
35142
- "parameters": [
35143
- {
35144
- "name": "apiKey",
35145
- "type": {
35146
- "text": "string"
35147
- }
35148
- }
35149
- ]
35150
- },
35151
- {
35152
- "kind": "method",
35153
- "name": "buildKeyVerificationDetails",
35154
- "privacy": "public",
35155
- "static": true,
35156
- "return": {
35157
- "type": {
35158
- "text": "KeyVerificationDetails"
35159
- }
35160
- },
35161
- "parameters": [
35162
- {
35163
- "name": "urlDetails",
35164
- "type": {
35165
- "text": "AzureOpenAI['urlDetails']"
35166
- }
35167
- }
35168
- ]
35169
- },
35170
- {
35171
- "kind": "method",
35172
- "name": "validateURLDetails",
35173
- "privacy": "public",
35174
- "static": true,
35175
- "parameters": [
35176
- {
35177
- "name": "urlDetails",
35178
- "type": {
35179
- "text": "AzureOpenAI['urlDetails']"
35180
- }
35181
- }
35182
- ]
35183
- }
35184
- ]
35185
- }
35186
- ],
35187
- "exports": [
35188
- {
35189
- "kind": "js",
35190
- "name": "AzureOpenAIUtils",
35191
- "declaration": {
35192
- "name": "AzureOpenAIUtils",
35193
- "module": "src/services/azure/utils/azureOpenAIUtils.ts"
35194
- }
35195
- }
35196
- ]
35197
- },
35198
- {
35199
- "kind": "javascript-module",
35200
- "path": "src/services/azure/utils/azureUtils.ts",
35084
+ "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
35201
35085
  "declarations": [
35202
35086
  {
35203
35087
  "kind": "class",
35204
35088
  "description": "",
35205
- "name": "AzureUtils",
35089
+ "name": "AssemblyAIUtils",
35206
35090
  "members": [
35207
35091
  {
35208
35092
  "kind": "method",
35209
- "name": "buildTextToSpeechHeaders",
35093
+ "name": "poll",
35210
35094
  "privacy": "public",
35211
35095
  "static": true,
35212
35096
  "parameters": [
35213
35097
  {
35214
- "name": "outputFormat",
35098
+ "name": "api_token",
35215
35099
  "type": {
35216
35100
  "text": "string"
35217
35101
  }
35218
35102
  },
35219
35103
  {
35220
- "name": "key",
35104
+ "name": "audio_url",
35221
35105
  "type": {
35222
35106
  "text": "string"
35223
35107
  }
@@ -35226,7 +35110,7 @@
35226
35110
  },
35227
35111
  {
35228
35112
  "kind": "method",
35229
- "name": "buildSpeechToTextHeaders",
35113
+ "name": "buildHeaders",
35230
35114
  "privacy": "public",
35231
35115
  "static": true,
35232
35116
  "parameters": [
@@ -35240,7 +35124,188 @@
35240
35124
  },
35241
35125
  {
35242
35126
  "kind": "method",
35243
- "name": "handleSpeechVerificationResult",
35127
+ "name": "handleVerificationResult",
35128
+ "privacy": "private",
35129
+ "static": true,
35130
+ "parameters": [
35131
+ {
35132
+ "name": "result",
35133
+ "type": {
35134
+ "text": "object"
35135
+ }
35136
+ },
35137
+ {
35138
+ "name": "key",
35139
+ "type": {
35140
+ "text": "string"
35141
+ }
35142
+ },
35143
+ {
35144
+ "name": "onSuccess",
35145
+ "type": {
35146
+ "text": "(key: string) => void"
35147
+ }
35148
+ },
35149
+ {
35150
+ "name": "onFail",
35151
+ "type": {
35152
+ "text": "(message: string) => void"
35153
+ }
35154
+ }
35155
+ ]
35156
+ },
35157
+ {
35158
+ "kind": "method",
35159
+ "name": "buildKeyVerificationDetails",
35160
+ "privacy": "public",
35161
+ "static": true,
35162
+ "return": {
35163
+ "type": {
35164
+ "text": "KeyVerificationDetails"
35165
+ }
35166
+ }
35167
+ }
35168
+ ]
35169
+ }
35170
+ ],
35171
+ "exports": [
35172
+ {
35173
+ "kind": "js",
35174
+ "name": "AssemblyAIUtils",
35175
+ "declaration": {
35176
+ "name": "AssemblyAIUtils",
35177
+ "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
35178
+ }
35179
+ }
35180
+ ]
35181
+ },
35182
+ {
35183
+ "kind": "javascript-module",
35184
+ "path": "src/services/azure/utils/azureOpenAIUtils.ts",
35185
+ "declarations": [
35186
+ {
35187
+ "kind": "class",
35188
+ "description": "",
35189
+ "name": "AzureOpenAIUtils",
35190
+ "members": [
35191
+ {
35192
+ "kind": "field",
35193
+ "name": "URL_DETAILS_ERROR_MESSAGE",
35194
+ "type": {
35195
+ "text": "string"
35196
+ },
35197
+ "privacy": "public",
35198
+ "static": true,
35199
+ "readonly": true,
35200
+ "default": "'Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)'"
35201
+ },
35202
+ {
35203
+ "kind": "method",
35204
+ "name": "buildHeaders",
35205
+ "privacy": "public",
35206
+ "static": true,
35207
+ "parameters": [
35208
+ {
35209
+ "name": "apiKey",
35210
+ "type": {
35211
+ "text": "string"
35212
+ }
35213
+ }
35214
+ ]
35215
+ },
35216
+ {
35217
+ "kind": "method",
35218
+ "name": "buildKeyVerificationDetails",
35219
+ "privacy": "public",
35220
+ "static": true,
35221
+ "return": {
35222
+ "type": {
35223
+ "text": "KeyVerificationDetails"
35224
+ }
35225
+ },
35226
+ "parameters": [
35227
+ {
35228
+ "name": "urlDetails",
35229
+ "type": {
35230
+ "text": "AzureOpenAI['urlDetails']"
35231
+ }
35232
+ }
35233
+ ]
35234
+ },
35235
+ {
35236
+ "kind": "method",
35237
+ "name": "validateURLDetails",
35238
+ "privacy": "public",
35239
+ "static": true,
35240
+ "parameters": [
35241
+ {
35242
+ "name": "urlDetails",
35243
+ "type": {
35244
+ "text": "AzureOpenAI['urlDetails']"
35245
+ }
35246
+ }
35247
+ ]
35248
+ }
35249
+ ]
35250
+ }
35251
+ ],
35252
+ "exports": [
35253
+ {
35254
+ "kind": "js",
35255
+ "name": "AzureOpenAIUtils",
35256
+ "declaration": {
35257
+ "name": "AzureOpenAIUtils",
35258
+ "module": "src/services/azure/utils/azureOpenAIUtils.ts"
35259
+ }
35260
+ }
35261
+ ]
35262
+ },
35263
+ {
35264
+ "kind": "javascript-module",
35265
+ "path": "src/services/azure/utils/azureUtils.ts",
35266
+ "declarations": [
35267
+ {
35268
+ "kind": "class",
35269
+ "description": "",
35270
+ "name": "AzureUtils",
35271
+ "members": [
35272
+ {
35273
+ "kind": "method",
35274
+ "name": "buildTextToSpeechHeaders",
35275
+ "privacy": "public",
35276
+ "static": true,
35277
+ "parameters": [
35278
+ {
35279
+ "name": "outputFormat",
35280
+ "type": {
35281
+ "text": "string"
35282
+ }
35283
+ },
35284
+ {
35285
+ "name": "key",
35286
+ "type": {
35287
+ "text": "string"
35288
+ }
35289
+ }
35290
+ ]
35291
+ },
35292
+ {
35293
+ "kind": "method",
35294
+ "name": "buildSpeechToTextHeaders",
35295
+ "privacy": "public",
35296
+ "static": true,
35297
+ "parameters": [
35298
+ {
35299
+ "name": "key",
35300
+ "type": {
35301
+ "text": "string"
35302
+ }
35303
+ }
35304
+ ]
35305
+ },
35306
+ {
35307
+ "kind": "method",
35308
+ "name": "handleSpeechVerificationResult",
35244
35309
  "privacy": "private",
35245
35310
  "static": true,
35246
35311
  "parameters": [
@@ -35522,12 +35587,12 @@
35522
35587
  },
35523
35588
  {
35524
35589
  "kind": "javascript-module",
35525
- "path": "src/services/gemini/utils/geminiUtils.ts",
35590
+ "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
35526
35591
  "declarations": [
35527
35592
  {
35528
35593
  "kind": "class",
35529
35594
  "description": "",
35530
- "name": "GeminiUtils",
35595
+ "name": "HuggingFaceUtils",
35531
35596
  "members": [
35532
35597
  {
35533
35598
  "kind": "method",
@@ -35585,36 +35650,6 @@
35585
35650
  "text": "KeyVerificationDetails"
35586
35651
  }
35587
35652
  }
35588
- },
35589
- {
35590
- "kind": "method",
35591
- "name": "directFetch",
35592
- "privacy": "public",
35593
- "static": true,
35594
- "parameters": [
35595
- {
35596
- "name": "serviceIO",
35597
- "type": {
35598
- "text": "ServiceIO"
35599
- }
35600
- },
35601
- {
35602
- "name": "body",
35603
- "type": {
35604
- "text": "any"
35605
- }
35606
- },
35607
- {
35608
- "name": "method",
35609
- "type": {
35610
- "text": "'POST' | 'GET'"
35611
- }
35612
- },
35613
- {
35614
- "name": "stringify",
35615
- "default": "true"
35616
- }
35617
- ]
35618
35653
  }
35619
35654
  ]
35620
35655
  }
@@ -35622,22 +35657,22 @@
35622
35657
  "exports": [
35623
35658
  {
35624
35659
  "kind": "js",
35625
- "name": "GeminiUtils",
35660
+ "name": "HuggingFaceUtils",
35626
35661
  "declaration": {
35627
- "name": "GeminiUtils",
35628
- "module": "src/services/gemini/utils/geminiUtils.ts"
35662
+ "name": "HuggingFaceUtils",
35663
+ "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
35629
35664
  }
35630
35665
  }
35631
35666
  ]
35632
35667
  },
35633
35668
  {
35634
35669
  "kind": "javascript-module",
35635
- "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
35670
+ "path": "src/services/gemini/utils/geminiUtils.ts",
35636
35671
  "declarations": [
35637
35672
  {
35638
35673
  "kind": "class",
35639
35674
  "description": "",
35640
- "name": "HuggingFaceUtils",
35675
+ "name": "GeminiUtils",
35641
35676
  "members": [
35642
35677
  {
35643
35678
  "kind": "method",
@@ -35695,6 +35730,36 @@
35695
35730
  "text": "KeyVerificationDetails"
35696
35731
  }
35697
35732
  }
35733
+ },
35734
+ {
35735
+ "kind": "method",
35736
+ "name": "directFetch",
35737
+ "privacy": "public",
35738
+ "static": true,
35739
+ "parameters": [
35740
+ {
35741
+ "name": "serviceIO",
35742
+ "type": {
35743
+ "text": "ServiceIO"
35744
+ }
35745
+ },
35746
+ {
35747
+ "name": "body",
35748
+ "type": {
35749
+ "text": "any"
35750
+ }
35751
+ },
35752
+ {
35753
+ "name": "method",
35754
+ "type": {
35755
+ "text": "'POST' | 'GET'"
35756
+ }
35757
+ },
35758
+ {
35759
+ "name": "stringify",
35760
+ "default": "true"
35761
+ }
35762
+ ]
35698
35763
  }
35699
35764
  ]
35700
35765
  }
@@ -35702,10 +35767,10 @@
35702
35767
  "exports": [
35703
35768
  {
35704
35769
  "kind": "js",
35705
- "name": "HuggingFaceUtils",
35770
+ "name": "GeminiUtils",
35706
35771
  "declaration": {
35707
- "name": "HuggingFaceUtils",
35708
- "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
35772
+ "name": "GeminiUtils",
35773
+ "module": "src/services/gemini/utils/geminiUtils.ts"
35709
35774
  }
35710
35775
  }
35711
35776
  ]
@@ -37904,6 +37969,134 @@
37904
37969
  }
37905
37970
  ]
37906
37971
  },
37972
+ {
37973
+ "kind": "javascript-module",
37974
+ "path": "src/services/openAI/utils/openAIUtils.ts",
37975
+ "declarations": [
37976
+ {
37977
+ "kind": "class",
37978
+ "description": "",
37979
+ "name": "OpenAIUtils",
37980
+ "members": [
37981
+ {
37982
+ "kind": "field",
37983
+ "name": "FUNCTION_TOOL_RESP_ERROR",
37984
+ "privacy": "public",
37985
+ "static": true,
37986
+ "readonly": true
37987
+ },
37988
+ {
37989
+ "kind": "field",
37990
+ "name": "FUNCTION_TOOL_RESP_ARR_ERROR",
37991
+ "type": {
37992
+ "text": "string"
37993
+ },
37994
+ "privacy": "public",
37995
+ "static": true,
37996
+ "readonly": true,
37997
+ "default": "'Arrays are not accepted in handler responses'"
37998
+ },
37999
+ {
38000
+ "kind": "method",
38001
+ "name": "buildHeaders",
38002
+ "privacy": "public",
38003
+ "static": true,
38004
+ "parameters": [
38005
+ {
38006
+ "name": "key",
38007
+ "type": {
38008
+ "text": "string"
38009
+ }
38010
+ }
38011
+ ]
38012
+ },
38013
+ {
38014
+ "kind": "method",
38015
+ "name": "handleVerificationResult",
38016
+ "privacy": "public",
38017
+ "static": true,
38018
+ "parameters": [
38019
+ {
38020
+ "name": "result",
38021
+ "type": {
38022
+ "text": "object"
38023
+ }
38024
+ },
38025
+ {
38026
+ "name": "key",
38027
+ "type": {
38028
+ "text": "string"
38029
+ }
38030
+ },
38031
+ {
38032
+ "name": "onSuccess",
38033
+ "type": {
38034
+ "text": "(key: string) => void"
38035
+ }
38036
+ },
38037
+ {
38038
+ "name": "onFail",
38039
+ "type": {
38040
+ "text": "(message: string) => void"
38041
+ }
38042
+ }
38043
+ ]
38044
+ },
38045
+ {
38046
+ "kind": "method",
38047
+ "name": "buildKeyVerificationDetails",
38048
+ "privacy": "public",
38049
+ "static": true,
38050
+ "return": {
38051
+ "type": {
38052
+ "text": "KeyVerificationDetails"
38053
+ }
38054
+ }
38055
+ },
38056
+ {
38057
+ "kind": "method",
38058
+ "name": "directFetch",
38059
+ "privacy": "public",
38060
+ "static": true,
38061
+ "parameters": [
38062
+ {
38063
+ "name": "serviceIO",
38064
+ "type": {
38065
+ "text": "ServiceIO"
38066
+ }
38067
+ },
38068
+ {
38069
+ "name": "body",
38070
+ "type": {
38071
+ "text": "any"
38072
+ }
38073
+ },
38074
+ {
38075
+ "name": "method",
38076
+ "type": {
38077
+ "text": "'POST' | 'GET'"
38078
+ }
38079
+ },
38080
+ {
38081
+ "name": "stringify",
38082
+ "default": "true"
38083
+ }
38084
+ ]
38085
+ }
38086
+ ]
38087
+ }
38088
+ ],
38089
+ "exports": [
38090
+ {
38091
+ "kind": "js",
38092
+ "name": "OpenAIUtils",
38093
+ "declaration": {
38094
+ "name": "OpenAIUtils",
38095
+ "module": "src/services/openAI/utils/openAIUtils.ts"
38096
+ }
38097
+ }
38098
+ ]
38099
+ },
37907
38100
  {
37908
38101
  "kind": "javascript-module",
37909
38102
  "path": "src/services/openAI/realtime/openAIRealtimeButton.ts",
@@ -39483,31 +39676,13 @@
39483
39676
  },
39484
39677
  {
39485
39678
  "kind": "javascript-module",
39486
- "path": "src/services/openAI/utils/openAIUtils.ts",
39679
+ "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts",
39487
39680
  "declarations": [
39488
39681
  {
39489
39682
  "kind": "class",
39490
39683
  "description": "",
39491
- "name": "OpenAIUtils",
39684
+ "name": "StabilityAIUtils",
39492
39685
  "members": [
39493
- {
39494
- "kind": "field",
39495
- "name": "FUNCTION_TOOL_RESP_ERROR",
39496
- "privacy": "public",
39497
- "static": true,
39498
- "readonly": true
39499
- },
39500
- {
39501
- "kind": "field",
39502
- "name": "FUNCTION_TOOL_RESP_ARR_ERROR",
39503
- "type": {
39504
- "text": "string"
39505
- },
39506
- "privacy": "public",
39507
- "static": true,
39508
- "readonly": true,
39509
- "default": "'Arrays are not accepted in handler responses'"
39510
- },
39511
39686
  {
39512
39687
  "kind": "method",
39513
39688
  "name": "buildHeaders",
@@ -39525,7 +39700,7 @@
39525
39700
  {
39526
39701
  "kind": "method",
39527
39702
  "name": "handleVerificationResult",
39528
- "privacy": "public",
39703
+ "privacy": "private",
39529
39704
  "static": true,
39530
39705
  "parameters": [
39531
39706
  {
@@ -39564,36 +39739,6 @@
39564
39739
  "text": "KeyVerificationDetails"
39565
39740
  }
39566
39741
  }
39567
- },
39568
- {
39569
- "kind": "method",
39570
- "name": "directFetch",
39571
- "privacy": "public",
39572
- "static": true,
39573
- "parameters": [
39574
- {
39575
- "name": "serviceIO",
39576
- "type": {
39577
- "text": "ServiceIO"
39578
- }
39579
- },
39580
- {
39581
- "name": "body",
39582
- "type": {
39583
- "text": "any"
39584
- }
39585
- },
39586
- {
39587
- "name": "method",
39588
- "type": {
39589
- "text": "'POST' | 'GET'"
39590
- }
39591
- },
39592
- {
39593
- "name": "stringify",
39594
- "default": "true"
39595
- }
39596
- ]
39597
39742
  }
39598
39743
  ]
39599
39744
  }
@@ -39601,79 +39746,88 @@
39601
39746
  "exports": [
39602
39747
  {
39603
39748
  "kind": "js",
39604
- "name": "OpenAIUtils",
39749
+ "name": "StabilityAIUtils",
39605
39750
  "declaration": {
39606
- "name": "OpenAIUtils",
39607
- "module": "src/services/openAI/utils/openAIUtils.ts"
39751
+ "name": "StabilityAIUtils",
39752
+ "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts"
39608
39753
  }
39609
39754
  }
39610
39755
  ]
39611
39756
  },
39612
39757
  {
39613
39758
  "kind": "javascript-module",
39614
- "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts",
39759
+ "path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
39615
39760
  "declarations": [
39616
39761
  {
39617
39762
  "kind": "class",
39618
39763
  "description": "",
39619
- "name": "StabilityAIUtils",
39764
+ "name": "ButtonContainers",
39620
39765
  "members": [
39621
39766
  {
39622
39767
  "kind": "method",
39623
- "name": "buildHeaders",
39768
+ "name": "create",
39769
+ "privacy": "public",
39770
+ "static": true
39771
+ },
39772
+ {
39773
+ "kind": "method",
39774
+ "name": "add",
39624
39775
  "privacy": "public",
39625
39776
  "static": true,
39626
39777
  "parameters": [
39627
39778
  {
39628
- "name": "key",
39779
+ "name": "inputContainer",
39629
39780
  "type": {
39630
- "text": "string"
39781
+ "text": "HTMLElement"
39782
+ }
39783
+ },
39784
+ {
39785
+ "name": "buttonContainers",
39786
+ "type": {
39787
+ "text": "ButtonContainersT"
39631
39788
  }
39632
39789
  }
39633
39790
  ]
39634
39791
  },
39635
39792
  {
39636
39793
  "kind": "method",
39637
- "name": "handleVerificationResult",
39794
+ "name": "getContainerIndex",
39638
39795
  "privacy": "private",
39639
39796
  "static": true,
39640
39797
  "parameters": [
39641
39798
  {
39642
- "name": "result",
39799
+ "name": "position",
39643
39800
  "type": {
39644
- "text": "object"
39801
+ "text": "ButtonPosition"
39645
39802
  }
39646
- },
39803
+ }
39804
+ ]
39805
+ },
39806
+ {
39807
+ "kind": "method",
39808
+ "name": "addButton",
39809
+ "privacy": "public",
39810
+ "static": true,
39811
+ "parameters": [
39647
39812
  {
39648
- "name": "key",
39813
+ "name": "buttonContainers",
39649
39814
  "type": {
39650
- "text": "string"
39815
+ "text": "ButtonContainersT"
39651
39816
  }
39652
39817
  },
39653
39818
  {
39654
- "name": "onSuccess",
39819
+ "name": "elementRef",
39655
39820
  "type": {
39656
- "text": "(key: string) => void"
39821
+ "text": "HTMLElement"
39657
39822
  }
39658
39823
  },
39659
39824
  {
39660
- "name": "onFail",
39825
+ "name": "position",
39661
39826
  "type": {
39662
- "text": "(message: string) => void"
39827
+ "text": "ButtonPosition"
39663
39828
  }
39664
39829
  }
39665
39830
  ]
39666
- },
39667
- {
39668
- "kind": "method",
39669
- "name": "buildKeyVerificationDetails",
39670
- "privacy": "public",
39671
- "static": true,
39672
- "return": {
39673
- "type": {
39674
- "text": "KeyVerificationDetails"
39675
- }
39676
- }
39677
39831
  }
39678
39832
  ]
39679
39833
  }
@@ -39681,10 +39835,10 @@
39681
39835
  "exports": [
39682
39836
  {
39683
39837
  "kind": "js",
39684
- "name": "StabilityAIUtils",
39838
+ "name": "ButtonContainers",
39685
39839
  "declaration": {
39686
- "name": "StabilityAIUtils",
39687
- "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts"
39840
+ "name": "ButtonContainers",
39841
+ "module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
39688
39842
  }
39689
39843
  }
39690
39844
  ]
@@ -40208,95 +40362,6 @@
40208
40362
  }
40209
40363
  ]
40210
40364
  },
40211
- {
40212
- "kind": "javascript-module",
40213
- "path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
40214
- "declarations": [
40215
- {
40216
- "kind": "class",
40217
- "description": "",
40218
- "name": "ButtonContainers",
40219
- "members": [
40220
- {
40221
- "kind": "method",
40222
- "name": "create",
40223
- "privacy": "public",
40224
- "static": true
40225
- },
40226
- {
40227
- "kind": "method",
40228
- "name": "add",
40229
- "privacy": "public",
40230
- "static": true,
40231
- "parameters": [
40232
- {
40233
- "name": "inputContainer",
40234
- "type": {
40235
- "text": "HTMLElement"
40236
- }
40237
- },
40238
- {
40239
- "name": "buttonContainers",
40240
- "type": {
40241
- "text": "ButtonContainersT"
40242
- }
40243
- }
40244
- ]
40245
- },
40246
- {
40247
- "kind": "method",
40248
- "name": "getContainerIndex",
40249
- "privacy": "private",
40250
- "static": true,
40251
- "parameters": [
40252
- {
40253
- "name": "position",
40254
- "type": {
40255
- "text": "ButtonPosition"
40256
- }
40257
- }
40258
- ]
40259
- },
40260
- {
40261
- "kind": "method",
40262
- "name": "addButton",
40263
- "privacy": "public",
40264
- "static": true,
40265
- "parameters": [
40266
- {
40267
- "name": "buttonContainers",
40268
- "type": {
40269
- "text": "ButtonContainersT"
40270
- }
40271
- },
40272
- {
40273
- "name": "elementRef",
40274
- "type": {
40275
- "text": "HTMLElement"
40276
- }
40277
- },
40278
- {
40279
- "name": "position",
40280
- "type": {
40281
- "text": "ButtonPosition"
40282
- }
40283
- }
40284
- ]
40285
- }
40286
- ]
40287
- }
40288
- ],
40289
- "exports": [
40290
- {
40291
- "kind": "js",
40292
- "name": "ButtonContainers",
40293
- "declaration": {
40294
- "name": "ButtonContainers",
40295
- "module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
40296
- }
40297
- }
40298
- ]
40299
- },
40300
40365
  {
40301
40366
  "kind": "javascript-module",
40302
40367
  "path": "src/views/chat/input/buttons/buttonAccessility.ts",
@@ -41787,368 +41852,6 @@
41787
41852
  }
41788
41853
  ]
41789
41854
  },
41790
- {
41791
- "kind": "javascript-module",
41792
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
41793
- "declarations": [
41794
- {
41795
- "kind": "class",
41796
- "description": "",
41797
- "name": "FileAttachments",
41798
- "members": [
41799
- {
41800
- "kind": "field",
41801
- "name": "_fileAttachmentsTypes",
41802
- "type": {
41803
- "text": "FileAttachmentsType[]"
41804
- },
41805
- "privacy": "private",
41806
- "readonly": true,
41807
- "default": "[]"
41808
- },
41809
- {
41810
- "kind": "field",
41811
- "name": "elementRef",
41812
- "type": {
41813
- "text": "HTMLElement"
41814
- },
41815
- "readonly": true
41816
- },
41817
- {
41818
- "kind": "method",
41819
- "name": "addType",
41820
- "parameters": [
41821
- {
41822
- "name": "deepChat",
41823
- "type": {
41824
- "text": "DeepChat"
41825
- }
41826
- },
41827
- {
41828
- "name": "files",
41829
- "type": {
41830
- "text": "FileAttachmentsT"
41831
- }
41832
- },
41833
- {
41834
- "name": "type",
41835
- "type": {
41836
- "text": "keyof ServiceFileTypes"
41837
- }
41838
- }
41839
- ]
41840
- },
41841
- {
41842
- "kind": "method",
41843
- "name": "createAttachmentContainer",
41844
- "privacy": "private"
41845
- },
41846
- {
41847
- "kind": "method",
41848
- "name": "toggleContainerDisplay",
41849
- "privacy": "private",
41850
- "parameters": [
41851
- {
41852
- "name": "display",
41853
- "type": {
41854
- "text": "boolean"
41855
- }
41856
- }
41857
- ]
41858
- },
41859
- {
41860
- "kind": "method",
41861
- "name": "getAllFileData"
41862
- },
41863
- {
41864
- "kind": "method",
41865
- "name": "completePlaceholders"
41866
- },
41867
- {
41868
- "kind": "method",
41869
- "name": "addFilesToType",
41870
- "privacy": "public",
41871
- "static": true,
41872
- "parameters": [
41873
- {
41874
- "name": "files",
41875
- "type": {
41876
- "text": "File[]"
41877
- }
41878
- },
41879
- {
41880
- "name": "fileAttachmentTypes",
41881
- "type": {
41882
- "text": "FileAttachmentsType[]"
41883
- }
41884
- }
41885
- ]
41886
- },
41887
- {
41888
- "kind": "method",
41889
- "name": "addFilesToAnyType",
41890
- "parameters": [
41891
- {
41892
- "name": "files",
41893
- "type": {
41894
- "text": "File[]"
41895
- }
41896
- }
41897
- ]
41898
- },
41899
- {
41900
- "kind": "method",
41901
- "name": "hideFiles"
41902
- },
41903
- {
41904
- "kind": "method",
41905
- "name": "removeHiddenFiles"
41906
- },
41907
- {
41908
- "kind": "method",
41909
- "name": "readdHiddenFiles"
41910
- },
41911
- {
41912
- "kind": "method",
41913
- "name": "getNumberOfTypes"
41914
- }
41915
- ]
41916
- }
41917
- ],
41918
- "exports": [
41919
- {
41920
- "kind": "js",
41921
- "name": "FileAttachments",
41922
- "declaration": {
41923
- "name": "FileAttachments",
41924
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
41925
- }
41926
- }
41927
- ]
41928
- },
41929
- {
41930
- "kind": "javascript-module",
41931
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
41932
- "declarations": [
41933
- {
41934
- "kind": "class",
41935
- "description": "",
41936
- "name": "NewFileName",
41937
- "members": [
41938
- {
41939
- "kind": "method",
41940
- "name": "getFileName",
41941
- "privacy": "public",
41942
- "static": true,
41943
- "parameters": [
41944
- {
41945
- "name": "prefix",
41946
- "type": {
41947
- "text": "string"
41948
- }
41949
- },
41950
- {
41951
- "name": "extension",
41952
- "type": {
41953
- "text": "string"
41954
- }
41955
- }
41956
- ]
41957
- }
41958
- ]
41959
- }
41960
- ],
41961
- "exports": [
41962
- {
41963
- "kind": "js",
41964
- "name": "NewFileName",
41965
- "declaration": {
41966
- "name": "NewFileName",
41967
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
41968
- }
41969
- }
41970
- ]
41971
- },
41972
- {
41973
- "kind": "javascript-module",
41974
- "path": "src/views/chat/input/validation/validationHandler.ts",
41975
- "declarations": [
41976
- {
41977
- "kind": "class",
41978
- "description": "",
41979
- "name": "ValidationHandler",
41980
- "members": [
41981
- {
41982
- "kind": "method",
41983
- "name": "validate",
41984
- "privacy": "private",
41985
- "static": true,
41986
- "parameters": [
41987
- {
41988
- "name": "validation",
41989
- "type": {
41990
- "text": "ValidateFunc"
41991
- }
41992
- },
41993
- {
41994
- "name": "submitButton",
41995
- "type": {
41996
- "text": "SubmitButton"
41997
- }
41998
- },
41999
- {
42000
- "name": "text",
42001
- "optional": true,
42002
- "type": {
42003
- "text": "string"
42004
- }
42005
- },
42006
- {
42007
- "name": "files",
42008
- "optional": true,
42009
- "type": {
42010
- "text": "File[]"
42011
- }
42012
- },
42013
- {
42014
- "name": "isProgrammatic",
42015
- "optional": true,
42016
- "type": {
42017
- "text": "boolean"
42018
- }
42019
- }
42020
- ]
42021
- },
42022
- {
42023
- "kind": "method",
42024
- "name": "useValidationFunc",
42025
- "privacy": "private",
42026
- "static": true,
42027
- "parameters": [
42028
- {
42029
- "name": "validation",
42030
- "type": {
42031
- "text": "ValidateFunc"
42032
- }
42033
- },
42034
- {
42035
- "name": "textInput",
42036
- "type": {
42037
- "text": "TextInputEl"
42038
- }
42039
- },
42040
- {
42041
- "name": "fileAttachments",
42042
- "type": {
42043
- "text": "FileAttachments"
42044
- }
42045
- },
42046
- {
42047
- "name": "submitButton",
42048
- "type": {
42049
- "text": "SubmitButton"
42050
- }
42051
- }
42052
- ]
42053
- },
42054
- {
42055
- "kind": "method",
42056
- "name": "useValidationFuncProgrammatic",
42057
- "privacy": "private",
42058
- "static": true,
42059
- "parameters": [
42060
- {
42061
- "name": "validation",
42062
- "type": {
42063
- "text": "ValidateFunc"
42064
- }
42065
- },
42066
- {
42067
- "name": "programmatic",
42068
- "type": {
42069
- "text": "UserContentI"
42070
- }
42071
- },
42072
- {
42073
- "name": "submitButton",
42074
- "type": {
42075
- "text": "SubmitButton"
42076
- }
42077
- }
42078
- ]
42079
- },
42080
- {
42081
- "kind": "method",
42082
- "name": "validateWebsocket",
42083
- "privacy": "private",
42084
- "static": true,
42085
- "parameters": [
42086
- {
42087
- "name": "serviceIO",
42088
- "type": {
42089
- "text": "ServiceIO"
42090
- }
42091
- },
42092
- {
42093
- "name": "submitButton",
42094
- "type": {
42095
- "text": "SubmitButton"
42096
- }
42097
- }
42098
- ]
42099
- },
42100
- {
42101
- "kind": "method",
42102
- "name": "attach",
42103
- "privacy": "public",
42104
- "static": true,
42105
- "parameters": [
42106
- {
42107
- "name": "deepChat",
42108
- "type": {
42109
- "text": "DeepChat"
42110
- }
42111
- },
42112
- {
42113
- "name": "serviceIO",
42114
- "type": {
42115
- "text": "ServiceIO"
42116
- }
42117
- },
42118
- {
42119
- "name": "textInput",
42120
- "type": {
42121
- "text": "TextInputEl"
42122
- }
42123
- },
42124
- {
42125
- "name": "fileAttachments",
42126
- "type": {
42127
- "text": "FileAttachments"
42128
- }
42129
- },
42130
- {
42131
- "name": "submitButton",
42132
- "type": {
42133
- "text": "SubmitButton"
42134
- }
42135
- }
42136
- ]
42137
- }
42138
- ]
42139
- }
42140
- ],
42141
- "exports": [
42142
- {
42143
- "kind": "js",
42144
- "name": "ValidationHandler",
42145
- "declaration": {
42146
- "name": "ValidationHandler",
42147
- "module": "src/views/chat/input/validation/validationHandler.ts"
42148
- }
42149
- }
42150
- ]
42151
- },
42152
41855
  {
42153
41856
  "kind": "javascript-module",
42154
41857
  "path": "src/views/chat/input/textInput/focusUtils.ts",
@@ -42291,6 +41994,14 @@
42291
41994
  "privacy": "private",
42292
41995
  "default": "false"
42293
41996
  },
41997
+ {
41998
+ "kind": "field",
41999
+ "name": "_onInput",
42000
+ "type": {
42001
+ "text": "((isUser: boolean) => void) | undefined"
42002
+ },
42003
+ "privacy": "private"
42004
+ },
42294
42005
  {
42295
42006
  "kind": "field",
42296
42007
  "name": "submit",
@@ -42571,6 +42282,374 @@
42571
42282
  }
42572
42283
  ]
42573
42284
  },
42285
+ {
42286
+ "kind": "javascript-module",
42287
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
42288
+ "declarations": [
42289
+ {
42290
+ "kind": "class",
42291
+ "description": "",
42292
+ "name": "FileAttachments",
42293
+ "members": [
42294
+ {
42295
+ "kind": "field",
42296
+ "name": "_fileAttachmentsTypes",
42297
+ "type": {
42298
+ "text": "FileAttachmentsType[]"
42299
+ },
42300
+ "privacy": "private",
42301
+ "readonly": true,
42302
+ "default": "[]"
42303
+ },
42304
+ {
42305
+ "kind": "field",
42306
+ "name": "elementRef",
42307
+ "type": {
42308
+ "text": "HTMLElement"
42309
+ },
42310
+ "readonly": true
42311
+ },
42312
+ {
42313
+ "kind": "method",
42314
+ "name": "addType",
42315
+ "parameters": [
42316
+ {
42317
+ "name": "deepChat",
42318
+ "type": {
42319
+ "text": "DeepChat"
42320
+ }
42321
+ },
42322
+ {
42323
+ "name": "serviceIO",
42324
+ "type": {
42325
+ "text": "ServiceIO"
42326
+ }
42327
+ },
42328
+ {
42329
+ "name": "files",
42330
+ "type": {
42331
+ "text": "FileAttachmentsT"
42332
+ }
42333
+ },
42334
+ {
42335
+ "name": "type",
42336
+ "type": {
42337
+ "text": "keyof ServiceFileTypes"
42338
+ }
42339
+ }
42340
+ ]
42341
+ },
42342
+ {
42343
+ "kind": "method",
42344
+ "name": "createAttachmentContainer",
42345
+ "privacy": "private"
42346
+ },
42347
+ {
42348
+ "kind": "method",
42349
+ "name": "toggleContainerDisplay",
42350
+ "privacy": "private",
42351
+ "parameters": [
42352
+ {
42353
+ "name": "display",
42354
+ "type": {
42355
+ "text": "boolean"
42356
+ }
42357
+ }
42358
+ ]
42359
+ },
42360
+ {
42361
+ "kind": "method",
42362
+ "name": "getAllFileData"
42363
+ },
42364
+ {
42365
+ "kind": "method",
42366
+ "name": "completePlaceholders"
42367
+ },
42368
+ {
42369
+ "kind": "method",
42370
+ "name": "addFilesToType",
42371
+ "privacy": "public",
42372
+ "static": true,
42373
+ "parameters": [
42374
+ {
42375
+ "name": "files",
42376
+ "type": {
42377
+ "text": "File[]"
42378
+ }
42379
+ },
42380
+ {
42381
+ "name": "fileAttachmentTypes",
42382
+ "type": {
42383
+ "text": "FileAttachmentsType[]"
42384
+ }
42385
+ }
42386
+ ]
42387
+ },
42388
+ {
42389
+ "kind": "method",
42390
+ "name": "addFilesToAnyType",
42391
+ "parameters": [
42392
+ {
42393
+ "name": "files",
42394
+ "type": {
42395
+ "text": "File[]"
42396
+ }
42397
+ }
42398
+ ]
42399
+ },
42400
+ {
42401
+ "kind": "method",
42402
+ "name": "hideFiles"
42403
+ },
42404
+ {
42405
+ "kind": "method",
42406
+ "name": "removeHiddenFiles"
42407
+ },
42408
+ {
42409
+ "kind": "method",
42410
+ "name": "readdHiddenFiles"
42411
+ },
42412
+ {
42413
+ "kind": "method",
42414
+ "name": "getNumberOfTypes"
42415
+ }
42416
+ ]
42417
+ }
42418
+ ],
42419
+ "exports": [
42420
+ {
42421
+ "kind": "js",
42422
+ "name": "FileAttachments",
42423
+ "declaration": {
42424
+ "name": "FileAttachments",
42425
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
42426
+ }
42427
+ }
42428
+ ]
42429
+ },
42430
+ {
42431
+ "kind": "javascript-module",
42432
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
42433
+ "declarations": [
42434
+ {
42435
+ "kind": "class",
42436
+ "description": "",
42437
+ "name": "NewFileName",
42438
+ "members": [
42439
+ {
42440
+ "kind": "method",
42441
+ "name": "getFileName",
42442
+ "privacy": "public",
42443
+ "static": true,
42444
+ "parameters": [
42445
+ {
42446
+ "name": "prefix",
42447
+ "type": {
42448
+ "text": "string"
42449
+ }
42450
+ },
42451
+ {
42452
+ "name": "extension",
42453
+ "type": {
42454
+ "text": "string"
42455
+ }
42456
+ }
42457
+ ]
42458
+ }
42459
+ ]
42460
+ }
42461
+ ],
42462
+ "exports": [
42463
+ {
42464
+ "kind": "js",
42465
+ "name": "NewFileName",
42466
+ "declaration": {
42467
+ "name": "NewFileName",
42468
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
42469
+ }
42470
+ }
42471
+ ]
42472
+ },
42473
+ {
42474
+ "kind": "javascript-module",
42475
+ "path": "src/views/chat/input/validation/validationHandler.ts",
42476
+ "declarations": [
42477
+ {
42478
+ "kind": "class",
42479
+ "description": "",
42480
+ "name": "ValidationHandler",
42481
+ "members": [
42482
+ {
42483
+ "kind": "method",
42484
+ "name": "validate",
42485
+ "privacy": "private",
42486
+ "static": true,
42487
+ "parameters": [
42488
+ {
42489
+ "name": "validation",
42490
+ "type": {
42491
+ "text": "ValidateFunc"
42492
+ }
42493
+ },
42494
+ {
42495
+ "name": "submitButton",
42496
+ "type": {
42497
+ "text": "SubmitButton"
42498
+ }
42499
+ },
42500
+ {
42501
+ "name": "text",
42502
+ "optional": true,
42503
+ "type": {
42504
+ "text": "string"
42505
+ }
42506
+ },
42507
+ {
42508
+ "name": "files",
42509
+ "optional": true,
42510
+ "type": {
42511
+ "text": "File[]"
42512
+ }
42513
+ },
42514
+ {
42515
+ "name": "isProgrammatic",
42516
+ "optional": true,
42517
+ "type": {
42518
+ "text": "boolean"
42519
+ }
42520
+ }
42521
+ ]
42522
+ },
42523
+ {
42524
+ "kind": "method",
42525
+ "name": "useValidationFunc",
42526
+ "privacy": "private",
42527
+ "static": true,
42528
+ "parameters": [
42529
+ {
42530
+ "name": "validation",
42531
+ "type": {
42532
+ "text": "ValidateFunc"
42533
+ }
42534
+ },
42535
+ {
42536
+ "name": "textInput",
42537
+ "type": {
42538
+ "text": "TextInputEl"
42539
+ }
42540
+ },
42541
+ {
42542
+ "name": "fileAttachments",
42543
+ "type": {
42544
+ "text": "FileAttachments"
42545
+ }
42546
+ },
42547
+ {
42548
+ "name": "submitButton",
42549
+ "type": {
42550
+ "text": "SubmitButton"
42551
+ }
42552
+ }
42553
+ ]
42554
+ },
42555
+ {
42556
+ "kind": "method",
42557
+ "name": "useValidationFuncProgrammatic",
42558
+ "privacy": "private",
42559
+ "static": true,
42560
+ "parameters": [
42561
+ {
42562
+ "name": "validation",
42563
+ "type": {
42564
+ "text": "ValidateFunc"
42565
+ }
42566
+ },
42567
+ {
42568
+ "name": "programmatic",
42569
+ "type": {
42570
+ "text": "UserContentI"
42571
+ }
42572
+ },
42573
+ {
42574
+ "name": "submitButton",
42575
+ "type": {
42576
+ "text": "SubmitButton"
42577
+ }
42578
+ }
42579
+ ]
42580
+ },
42581
+ {
42582
+ "kind": "method",
42583
+ "name": "validateWebsocket",
42584
+ "privacy": "private",
42585
+ "static": true,
42586
+ "parameters": [
42587
+ {
42588
+ "name": "serviceIO",
42589
+ "type": {
42590
+ "text": "ServiceIO"
42591
+ }
42592
+ },
42593
+ {
42594
+ "name": "submitButton",
42595
+ "type": {
42596
+ "text": "SubmitButton"
42597
+ }
42598
+ }
42599
+ ]
42600
+ },
42601
+ {
42602
+ "kind": "method",
42603
+ "name": "attach",
42604
+ "privacy": "public",
42605
+ "static": true,
42606
+ "parameters": [
42607
+ {
42608
+ "name": "deepChat",
42609
+ "type": {
42610
+ "text": "DeepChat"
42611
+ }
42612
+ },
42613
+ {
42614
+ "name": "serviceIO",
42615
+ "type": {
42616
+ "text": "ServiceIO"
42617
+ }
42618
+ },
42619
+ {
42620
+ "name": "textInput",
42621
+ "type": {
42622
+ "text": "TextInputEl"
42623
+ }
42624
+ },
42625
+ {
42626
+ "name": "fileAttachments",
42627
+ "type": {
42628
+ "text": "FileAttachments"
42629
+ }
42630
+ },
42631
+ {
42632
+ "name": "submitButton",
42633
+ "type": {
42634
+ "text": "SubmitButton"
42635
+ }
42636
+ }
42637
+ ]
42638
+ }
42639
+ ]
42640
+ }
42641
+ ],
42642
+ "exports": [
42643
+ {
42644
+ "kind": "js",
42645
+ "name": "ValidationHandler",
42646
+ "declaration": {
42647
+ "name": "ValidationHandler",
42648
+ "module": "src/views/chat/input/validation/validationHandler.ts"
42649
+ }
42650
+ }
42651
+ ]
42652
+ },
42574
42653
  {
42575
42654
  "kind": "javascript-module",
42576
42655
  "path": "src/views/chat/messages/history/history.ts",
@@ -43767,7 +43846,19 @@
43767
43846
  }
43768
43847
  },
43769
43848
  {
43770
- "name": "role",
43849
+ "name": "content",
43850
+ "type": {
43851
+ "text": "string"
43852
+ }
43853
+ },
43854
+ {
43855
+ "name": "streamType",
43856
+ "type": {
43857
+ "text": "string"
43858
+ }
43859
+ },
43860
+ {
43861
+ "name": "customWrapper",
43771
43862
  "type": {
43772
43863
  "text": "string"
43773
43864
  }
@@ -44225,13 +44316,13 @@
44225
44316
  {
44226
44317
  "name": "message",
44227
44318
  "type": {
44228
- "text": "MessageContent"
44319
+ "text": "{files?: MessageFile[]}"
44229
44320
  }
44230
44321
  },
44231
44322
  {
44232
- "name": "body",
44323
+ "name": "targetMessage",
44233
44324
  "type": {
44234
- "text": "{message: MessageContent; isHistory: boolean}"
44325
+ "text": "MessageContent"
44235
44326
  }
44236
44327
  }
44237
44328
  ]
@@ -45232,553 +45323,211 @@
45232
45323
  }
45233
45324
  }
45234
45325
  ]
45235
- }
45236
- ]
45237
- }
45238
- ],
45239
- "exports": [
45240
- {
45241
- "kind": "js",
45242
- "name": "MessageUtils",
45243
- "declaration": {
45244
- "name": "MessageUtils",
45245
- "module": "src/views/chat/messages/utils/messageUtils.ts"
45246
- }
45247
- }
45248
- ]
45249
- },
45250
- {
45251
- "kind": "javascript-module",
45252
- "path": "src/views/chat/messages/utils/updateMessage.ts",
45253
- "declarations": [
45254
- {
45255
- "kind": "class",
45256
- "description": "",
45257
- "name": "UpdateMessage",
45258
- "members": [
45259
- {
45260
- "kind": "method",
45261
- "name": "removeElements",
45262
- "privacy": "private",
45263
- "static": true,
45264
- "parameters": [
45265
- {
45266
- "name": "messageElementRefs",
45267
- "type": {
45268
- "text": "MessageElements[]"
45269
- }
45270
- },
45271
- {
45272
- "name": "elemsToRemove",
45273
- "optional": true,
45274
- "type": {
45275
- "text": "MessageElements"
45276
- }
45277
- }
45278
- ]
45279
- },
45280
- {
45281
- "kind": "method",
45282
- "name": "removeFilesMessages",
45283
- "privacy": "private",
45284
- "static": true,
45285
- "parameters": [
45286
- {
45287
- "name": "msg",
45288
- "type": {
45289
- "text": "MessagesBase"
45290
- }
45291
- },
45292
- {
45293
- "name": "messageToEls",
45294
- "type": {
45295
- "text": "MessageToElements[0]"
45296
- }
45297
- }
45298
- ]
45299
- },
45300
- {
45301
- "kind": "method",
45302
- "name": "removeTextHTMLMessage",
45303
- "privacy": "private",
45304
- "static": true,
45305
- "parameters": [
45306
- {
45307
- "name": "msg",
45308
- "type": {
45309
- "text": "MessagesBase"
45310
- }
45311
- },
45312
- {
45313
- "name": "messageToEls",
45314
- "type": {
45315
- "text": "MessageToElements[0]"
45316
- }
45317
- },
45318
- {
45319
- "name": "type",
45320
- "type": {
45321
- "text": "'text' | 'html'"
45322
- }
45323
- }
45324
- ]
45325
- },
45326
- {
45327
- "kind": "method",
45328
- "name": "updateHTMLMessage",
45329
- "privacy": "private",
45330
- "static": true,
45331
- "parameters": [
45332
- {
45333
- "name": "msg",
45334
- "type": {
45335
- "text": "MessagesBase"
45336
- }
45337
- },
45338
- {
45339
- "name": "messageToEls",
45340
- "type": {
45341
- "text": "MessageToElements[0]"
45342
- }
45343
- },
45344
- {
45345
- "name": "newHTML",
45346
- "type": {
45347
- "text": "string"
45348
- }
45349
- }
45350
- ]
45351
- },
45352
- {
45353
- "kind": "method",
45354
- "name": "updateFileMessages",
45355
- "privacy": "private",
45356
- "static": true,
45357
- "parameters": [
45358
- {
45359
- "name": "msg",
45360
- "type": {
45361
- "text": "MessagesBase"
45362
- }
45363
- },
45364
- {
45365
- "name": "messageToEls",
45366
- "type": {
45367
- "text": "MessageToElements[0]"
45368
- }
45369
- },
45370
- {
45371
- "name": "newFiles",
45372
- "type": {
45373
- "text": "MessageFile[]"
45374
- }
45375
- }
45376
- ]
45377
- },
45378
- {
45379
- "kind": "method",
45380
- "name": "updateTextMessage",
45381
- "privacy": "private",
45382
- "static": true,
45383
- "parameters": [
45384
- {
45385
- "name": "msg",
45386
- "type": {
45387
- "text": "MessagesBase"
45388
- }
45389
- },
45390
- {
45391
- "name": "messageToEls",
45392
- "type": {
45393
- "text": "MessageToElements[0]"
45394
- }
45395
- },
45396
- {
45397
- "name": "newText",
45398
- "type": {
45399
- "text": "string"
45400
- }
45401
- }
45402
- ]
45403
- },
45404
- {
45405
- "kind": "method",
45406
- "name": "isElementActive",
45407
- "privacy": "private",
45408
- "static": true,
45409
- "parameters": [
45410
- {
45411
- "name": "elements",
45412
- "type": {
45413
- "text": "MessageBodyElements"
45414
- }
45415
- }
45416
- ]
45417
- },
45418
- {
45419
- "kind": "method",
45420
- "name": "update",
45421
- "privacy": "public",
45422
- "static": true,
45423
- "parameters": [
45424
- {
45425
- "name": "msg",
45426
- "type": {
45427
- "text": "MessagesBase"
45428
- }
45429
- },
45430
- {
45431
- "name": "messageBody",
45432
- "type": {
45433
- "text": "MessageBody"
45434
- }
45435
- },
45436
- {
45437
- "name": "index",
45438
- "type": {
45439
- "text": "number"
45440
- }
45441
- }
45442
- ]
45443
- }
45444
- ]
45445
- }
45446
- ],
45447
- "exports": [
45448
- {
45449
- "kind": "js",
45450
- "name": "UpdateMessage",
45451
- "declaration": {
45452
- "name": "UpdateMessage",
45453
- "module": "src/views/chat/messages/utils/updateMessage.ts"
45454
- }
45455
- }
45456
- ]
45457
- },
45458
- {
45459
- "kind": "javascript-module",
45460
- "path": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts",
45461
- "declarations": [
45462
- {
45463
- "kind": "class",
45464
- "description": "",
45465
- "name": "OpenAIAssistantUtils",
45466
- "members": [
45467
- {
45468
- "kind": "field",
45469
- "name": "FILES_WITH_TEXT_ERROR",
45470
- "type": {
45471
- "text": "string"
45472
- },
45473
- "privacy": "public",
45474
- "static": true,
45475
- "readonly": true,
45476
- "default": "'content with type `text` must have `text` values'"
45477
- },
45478
- {
45479
- "kind": "field",
45480
- "name": "FUNCTION_TOOL_RESP_ERROR",
45481
- "privacy": "public",
45482
- "static": true,
45483
- "readonly": true
45484
- },
45485
- {
45486
- "kind": "method",
45487
- "name": "storeFiles",
45488
- "privacy": "public",
45489
- "static": true,
45490
- "parameters": [
45491
- {
45492
- "name": "serviceIO",
45493
- "type": {
45494
- "text": "ServiceIO"
45495
- }
45496
- },
45497
- {
45498
- "name": "messages",
45499
- "type": {
45500
- "text": "Messages"
45501
- }
45502
- },
45503
- {
45504
- "name": "files",
45505
- "type": {
45506
- "text": "File[]"
45507
- }
45508
- },
45509
- {
45510
- "name": "storeFilesUrl",
45511
- "type": {
45512
- "text": "string"
45513
- }
45514
- }
45515
- ]
45516
- },
45517
- {
45518
- "kind": "method",
45519
- "name": "getType",
45520
- "privacy": "private",
45521
- "static": true,
45522
- "return": {
45523
- "type": {
45524
- "text": "MessageFileType"
45525
- }
45526
- },
45527
- "parameters": [
45528
- {
45529
- "name": "fileDetails",
45530
- "type": {
45531
- "text": "FileDetails"
45532
- }
45533
- },
45534
- {
45535
- "name": "index",
45536
- "type": {
45537
- "text": "number"
45538
- }
45539
- }
45540
- ]
45541
- },
45542
- {
45543
- "kind": "method",
45544
- "name": "getFiles",
45545
- "privacy": "private",
45546
- "static": true,
45547
- "parameters": [
45548
- {
45549
- "name": "serviceIO",
45550
- "type": {
45551
- "text": "ServiceIO"
45552
- }
45553
- },
45554
- {
45555
- "name": "fileDetails",
45556
- "type": {
45557
- "text": "FileDetails"
45558
- }
45559
- },
45560
- {
45561
- "name": "urlPrefix",
45562
- "type": {
45563
- "text": "string"
45564
- }
45565
- },
45566
- {
45567
- "name": "urlPosfix",
45568
- "type": {
45569
- "text": "string"
45570
- }
45571
- }
45572
- ]
45573
- },
45574
- {
45575
- "kind": "method",
45576
- "name": "getFileName",
45577
- "privacy": "private",
45578
- "static": true,
45579
- "parameters": [
45580
- {
45581
- "name": "path",
45582
- "type": {
45583
- "text": "string"
45584
- }
45585
- }
45586
- ]
45587
- },
45326
+ }
45327
+ ]
45328
+ }
45329
+ ],
45330
+ "exports": [
45331
+ {
45332
+ "kind": "js",
45333
+ "name": "MessageUtils",
45334
+ "declaration": {
45335
+ "name": "MessageUtils",
45336
+ "module": "src/views/chat/messages/utils/messageUtils.ts"
45337
+ }
45338
+ }
45339
+ ]
45340
+ },
45341
+ {
45342
+ "kind": "javascript-module",
45343
+ "path": "src/views/chat/messages/utils/updateMessage.ts",
45344
+ "declarations": [
45345
+ {
45346
+ "kind": "class",
45347
+ "description": "",
45348
+ "name": "UpdateMessage",
45349
+ "members": [
45588
45350
  {
45589
45351
  "kind": "method",
45590
- "name": "getFilesAndNewText",
45352
+ "name": "removeElements",
45591
45353
  "privacy": "private",
45592
45354
  "static": true,
45593
45355
  "parameters": [
45594
45356
  {
45595
- "name": "io",
45596
- "type": {
45597
- "text": "ServiceIO"
45598
- }
45599
- },
45600
- {
45601
- "name": "fileDetails",
45602
- "type": {
45603
- "text": "FileDetails"
45604
- }
45605
- },
45606
- {
45607
- "name": "urls",
45608
- "type": {
45609
- "text": "URLSegments"
45610
- }
45611
- },
45612
- {
45613
- "name": "role",
45614
- "optional": true,
45357
+ "name": "messageElementRefs",
45615
45358
  "type": {
45616
- "text": "string"
45359
+ "text": "MessageElements[]"
45617
45360
  }
45618
45361
  },
45619
45362
  {
45620
- "name": "content",
45363
+ "name": "elemsToRemove",
45621
45364
  "optional": true,
45622
45365
  "type": {
45623
- "text": "OpenAIAssistantContent"
45366
+ "text": "MessageElements"
45624
45367
  }
45625
45368
  }
45626
45369
  ]
45627
45370
  },
45628
45371
  {
45629
45372
  "kind": "method",
45630
- "name": "getFileDetails",
45373
+ "name": "removeFilesMessages",
45631
45374
  "privacy": "private",
45632
45375
  "static": true,
45633
45376
  "parameters": [
45634
45377
  {
45635
- "name": "lastMessage",
45378
+ "name": "msg",
45636
45379
  "type": {
45637
- "text": "OpenAIAssistantData"
45380
+ "text": "MessagesBase"
45638
45381
  }
45639
45382
  },
45640
45383
  {
45641
- "name": "content",
45642
- "optional": true,
45384
+ "name": "messageToEls",
45643
45385
  "type": {
45644
- "text": "OpenAIAssistantContent"
45386
+ "text": "MessageToElements[0]"
45645
45387
  }
45646
45388
  }
45647
45389
  ]
45648
45390
  },
45649
45391
  {
45650
45392
  "kind": "method",
45651
- "name": "getFilesAndText",
45652
- "privacy": "public",
45393
+ "name": "removeTextHTMLMessage",
45394
+ "privacy": "private",
45653
45395
  "static": true,
45654
45396
  "parameters": [
45655
45397
  {
45656
- "name": "io",
45657
- "type": {
45658
- "text": "ServiceIO"
45659
- }
45660
- },
45661
- {
45662
- "name": "message",
45398
+ "name": "msg",
45663
45399
  "type": {
45664
- "text": "OpenAIAssistantData"
45400
+ "text": "MessagesBase"
45665
45401
  }
45666
45402
  },
45667
45403
  {
45668
- "name": "urls",
45404
+ "name": "messageToEls",
45669
45405
  "type": {
45670
- "text": "URLSegments"
45406
+ "text": "MessageToElements[0]"
45671
45407
  }
45672
45408
  },
45673
45409
  {
45674
- "name": "content",
45675
- "optional": true,
45410
+ "name": "type",
45676
45411
  "type": {
45677
- "text": "OpenAIAssistantContent"
45412
+ "text": "'text' | 'html'"
45678
45413
  }
45679
45414
  }
45680
45415
  ]
45681
45416
  },
45682
45417
  {
45683
45418
  "kind": "method",
45684
- "name": "parseResult",
45419
+ "name": "updateHTMLMessage",
45685
45420
  "privacy": "private",
45686
45421
  "static": true,
45687
45422
  "parameters": [
45688
45423
  {
45689
- "name": "result",
45424
+ "name": "msg",
45690
45425
  "type": {
45691
- "text": "OpenAIAssistantMessagesResult"
45426
+ "text": "MessagesBase"
45692
45427
  }
45693
45428
  },
45694
45429
  {
45695
- "name": "isHistory",
45430
+ "name": "messageToEls",
45696
45431
  "type": {
45697
- "text": "boolean"
45432
+ "text": "MessageToElements[0]"
45433
+ }
45434
+ },
45435
+ {
45436
+ "name": "newHTML",
45437
+ "type": {
45438
+ "text": "string"
45698
45439
  }
45699
45440
  }
45700
45441
  ]
45701
45442
  },
45702
45443
  {
45703
45444
  "kind": "method",
45704
- "name": "parseMessages",
45445
+ "name": "updateFileMessages",
45705
45446
  "privacy": "private",
45706
45447
  "static": true,
45707
45448
  "parameters": [
45708
45449
  {
45709
- "name": "io",
45450
+ "name": "msg",
45710
45451
  "type": {
45711
- "text": "DirectServiceIO"
45452
+ "text": "MessagesBase"
45712
45453
  }
45713
45454
  },
45714
45455
  {
45715
- "name": "messages",
45456
+ "name": "messageToEls",
45716
45457
  "type": {
45717
- "text": "OpenAIAssistantData[]"
45458
+ "text": "MessageToElements[0]"
45718
45459
  }
45719
45460
  },
45720
45461
  {
45721
- "name": "urls",
45462
+ "name": "newFiles",
45722
45463
  "type": {
45723
- "text": "URLSegments"
45464
+ "text": "MessageFile[]"
45724
45465
  }
45725
45466
  }
45726
45467
  ]
45727
45468
  },
45728
45469
  {
45729
45470
  "kind": "method",
45730
- "name": "processStreamMessages",
45731
- "privacy": "public",
45471
+ "name": "updateTextMessage",
45472
+ "privacy": "private",
45732
45473
  "static": true,
45733
45474
  "parameters": [
45734
45475
  {
45735
- "name": "io",
45476
+ "name": "msg",
45736
45477
  "type": {
45737
- "text": "DirectServiceIO"
45478
+ "text": "MessagesBase"
45738
45479
  }
45739
45480
  },
45740
45481
  {
45741
- "name": "content",
45482
+ "name": "messageToEls",
45742
45483
  "type": {
45743
- "text": "OpenAIAssistantContent[]"
45484
+ "text": "MessageToElements[0]"
45744
45485
  }
45745
45486
  },
45746
45487
  {
45747
- "name": "urls",
45488
+ "name": "newText",
45748
45489
  "type": {
45749
- "text": "URLSegments"
45490
+ "text": "string"
45750
45491
  }
45751
45492
  }
45752
45493
  ]
45753
45494
  },
45754
45495
  {
45755
45496
  "kind": "method",
45756
- "name": "processAPIMessages",
45757
- "privacy": "public",
45497
+ "name": "isElementActive",
45498
+ "privacy": "private",
45758
45499
  "static": true,
45759
45500
  "parameters": [
45760
45501
  {
45761
- "name": "io",
45502
+ "name": "elements",
45762
45503
  "type": {
45763
- "text": "DirectServiceIO"
45504
+ "text": "MessageBodyElements"
45764
45505
  }
45765
- },
45506
+ }
45507
+ ]
45508
+ },
45509
+ {
45510
+ "kind": "method",
45511
+ "name": "update",
45512
+ "privacy": "public",
45513
+ "static": true,
45514
+ "parameters": [
45766
45515
  {
45767
- "name": "result",
45516
+ "name": "msg",
45768
45517
  "type": {
45769
- "text": "OpenAIAssistantMessagesResult"
45518
+ "text": "MessagesBase"
45770
45519
  }
45771
45520
  },
45772
45521
  {
45773
- "name": "isHistory",
45522
+ "name": "messageBody",
45774
45523
  "type": {
45775
- "text": "boolean"
45524
+ "text": "MessageBody"
45776
45525
  }
45777
45526
  },
45778
45527
  {
45779
- "name": "urls",
45528
+ "name": "index",
45780
45529
  "type": {
45781
- "text": "URLSegments"
45530
+ "text": "number"
45782
45531
  }
45783
45532
  }
45784
45533
  ]
@@ -45789,10 +45538,10 @@
45789
45538
  "exports": [
45790
45539
  {
45791
45540
  "kind": "js",
45792
- "name": "OpenAIAssistantUtils",
45541
+ "name": "UpdateMessage",
45793
45542
  "declaration": {
45794
- "name": "OpenAIAssistantUtils",
45795
- "module": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts"
45543
+ "name": "UpdateMessage",
45544
+ "module": "src/views/chat/messages/utils/updateMessage.ts"
45796
45545
  }
45797
45546
  }
45798
45547
  ]
@@ -46162,6 +45911,348 @@
46162
45911
  }
46163
45912
  ]
46164
45913
  },
45914
+ {
45915
+ "kind": "javascript-module",
45916
+ "path": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts",
45917
+ "declarations": [
45918
+ {
45919
+ "kind": "class",
45920
+ "description": "",
45921
+ "name": "OpenAIAssistantUtils",
45922
+ "members": [
45923
+ {
45924
+ "kind": "field",
45925
+ "name": "FILES_WITH_TEXT_ERROR",
45926
+ "type": {
45927
+ "text": "string"
45928
+ },
45929
+ "privacy": "public",
45930
+ "static": true,
45931
+ "readonly": true,
45932
+ "default": "'content with type `text` must have `text` values'"
45933
+ },
45934
+ {
45935
+ "kind": "field",
45936
+ "name": "FUNCTION_TOOL_RESP_ERROR",
45937
+ "privacy": "public",
45938
+ "static": true,
45939
+ "readonly": true
45940
+ },
45941
+ {
45942
+ "kind": "method",
45943
+ "name": "storeFiles",
45944
+ "privacy": "public",
45945
+ "static": true,
45946
+ "parameters": [
45947
+ {
45948
+ "name": "serviceIO",
45949
+ "type": {
45950
+ "text": "ServiceIO"
45951
+ }
45952
+ },
45953
+ {
45954
+ "name": "messages",
45955
+ "type": {
45956
+ "text": "Messages"
45957
+ }
45958
+ },
45959
+ {
45960
+ "name": "files",
45961
+ "type": {
45962
+ "text": "File[]"
45963
+ }
45964
+ },
45965
+ {
45966
+ "name": "storeFilesUrl",
45967
+ "type": {
45968
+ "text": "string"
45969
+ }
45970
+ }
45971
+ ]
45972
+ },
45973
+ {
45974
+ "kind": "method",
45975
+ "name": "getType",
45976
+ "privacy": "private",
45977
+ "static": true,
45978
+ "return": {
45979
+ "type": {
45980
+ "text": "MessageFileType"
45981
+ }
45982
+ },
45983
+ "parameters": [
45984
+ {
45985
+ "name": "fileDetails",
45986
+ "type": {
45987
+ "text": "FileDetails"
45988
+ }
45989
+ },
45990
+ {
45991
+ "name": "index",
45992
+ "type": {
45993
+ "text": "number"
45994
+ }
45995
+ }
45996
+ ]
45997
+ },
45998
+ {
45999
+ "kind": "method",
46000
+ "name": "getFiles",
46001
+ "privacy": "private",
46002
+ "static": true,
46003
+ "parameters": [
46004
+ {
46005
+ "name": "serviceIO",
46006
+ "type": {
46007
+ "text": "ServiceIO"
46008
+ }
46009
+ },
46010
+ {
46011
+ "name": "fileDetails",
46012
+ "type": {
46013
+ "text": "FileDetails"
46014
+ }
46015
+ },
46016
+ {
46017
+ "name": "urlPrefix",
46018
+ "type": {
46019
+ "text": "string"
46020
+ }
46021
+ },
46022
+ {
46023
+ "name": "urlPosfix",
46024
+ "type": {
46025
+ "text": "string"
46026
+ }
46027
+ }
46028
+ ]
46029
+ },
46030
+ {
46031
+ "kind": "method",
46032
+ "name": "getFileName",
46033
+ "privacy": "private",
46034
+ "static": true,
46035
+ "parameters": [
46036
+ {
46037
+ "name": "path",
46038
+ "type": {
46039
+ "text": "string"
46040
+ }
46041
+ }
46042
+ ]
46043
+ },
46044
+ {
46045
+ "kind": "method",
46046
+ "name": "getFilesAndNewText",
46047
+ "privacy": "private",
46048
+ "static": true,
46049
+ "parameters": [
46050
+ {
46051
+ "name": "io",
46052
+ "type": {
46053
+ "text": "ServiceIO"
46054
+ }
46055
+ },
46056
+ {
46057
+ "name": "fileDetails",
46058
+ "type": {
46059
+ "text": "FileDetails"
46060
+ }
46061
+ },
46062
+ {
46063
+ "name": "urls",
46064
+ "type": {
46065
+ "text": "URLSegments"
46066
+ }
46067
+ },
46068
+ {
46069
+ "name": "role",
46070
+ "optional": true,
46071
+ "type": {
46072
+ "text": "string"
46073
+ }
46074
+ },
46075
+ {
46076
+ "name": "content",
46077
+ "optional": true,
46078
+ "type": {
46079
+ "text": "OpenAIAssistantContent"
46080
+ }
46081
+ }
46082
+ ]
46083
+ },
46084
+ {
46085
+ "kind": "method",
46086
+ "name": "getFileDetails",
46087
+ "privacy": "private",
46088
+ "static": true,
46089
+ "parameters": [
46090
+ {
46091
+ "name": "lastMessage",
46092
+ "type": {
46093
+ "text": "OpenAIAssistantData"
46094
+ }
46095
+ },
46096
+ {
46097
+ "name": "content",
46098
+ "optional": true,
46099
+ "type": {
46100
+ "text": "OpenAIAssistantContent"
46101
+ }
46102
+ }
46103
+ ]
46104
+ },
46105
+ {
46106
+ "kind": "method",
46107
+ "name": "getFilesAndText",
46108
+ "privacy": "public",
46109
+ "static": true,
46110
+ "parameters": [
46111
+ {
46112
+ "name": "io",
46113
+ "type": {
46114
+ "text": "ServiceIO"
46115
+ }
46116
+ },
46117
+ {
46118
+ "name": "message",
46119
+ "type": {
46120
+ "text": "OpenAIAssistantData"
46121
+ }
46122
+ },
46123
+ {
46124
+ "name": "urls",
46125
+ "type": {
46126
+ "text": "URLSegments"
46127
+ }
46128
+ },
46129
+ {
46130
+ "name": "content",
46131
+ "optional": true,
46132
+ "type": {
46133
+ "text": "OpenAIAssistantContent"
46134
+ }
46135
+ }
46136
+ ]
46137
+ },
46138
+ {
46139
+ "kind": "method",
46140
+ "name": "parseResult",
46141
+ "privacy": "private",
46142
+ "static": true,
46143
+ "parameters": [
46144
+ {
46145
+ "name": "result",
46146
+ "type": {
46147
+ "text": "OpenAIAssistantMessagesResult"
46148
+ }
46149
+ },
46150
+ {
46151
+ "name": "isHistory",
46152
+ "type": {
46153
+ "text": "boolean"
46154
+ }
46155
+ }
46156
+ ]
46157
+ },
46158
+ {
46159
+ "kind": "method",
46160
+ "name": "parseMessages",
46161
+ "privacy": "private",
46162
+ "static": true,
46163
+ "parameters": [
46164
+ {
46165
+ "name": "io",
46166
+ "type": {
46167
+ "text": "DirectServiceIO"
46168
+ }
46169
+ },
46170
+ {
46171
+ "name": "messages",
46172
+ "type": {
46173
+ "text": "OpenAIAssistantData[]"
46174
+ }
46175
+ },
46176
+ {
46177
+ "name": "urls",
46178
+ "type": {
46179
+ "text": "URLSegments"
46180
+ }
46181
+ }
46182
+ ]
46183
+ },
46184
+ {
46185
+ "kind": "method",
46186
+ "name": "processStreamMessages",
46187
+ "privacy": "public",
46188
+ "static": true,
46189
+ "parameters": [
46190
+ {
46191
+ "name": "io",
46192
+ "type": {
46193
+ "text": "DirectServiceIO"
46194
+ }
46195
+ },
46196
+ {
46197
+ "name": "content",
46198
+ "type": {
46199
+ "text": "OpenAIAssistantContent[]"
46200
+ }
46201
+ },
46202
+ {
46203
+ "name": "urls",
46204
+ "type": {
46205
+ "text": "URLSegments"
46206
+ }
46207
+ }
46208
+ ]
46209
+ },
46210
+ {
46211
+ "kind": "method",
46212
+ "name": "processAPIMessages",
46213
+ "privacy": "public",
46214
+ "static": true,
46215
+ "parameters": [
46216
+ {
46217
+ "name": "io",
46218
+ "type": {
46219
+ "text": "DirectServiceIO"
46220
+ }
46221
+ },
46222
+ {
46223
+ "name": "result",
46224
+ "type": {
46225
+ "text": "OpenAIAssistantMessagesResult"
46226
+ }
46227
+ },
46228
+ {
46229
+ "name": "isHistory",
46230
+ "type": {
46231
+ "text": "boolean"
46232
+ }
46233
+ },
46234
+ {
46235
+ "name": "urls",
46236
+ "type": {
46237
+ "text": "URLSegments"
46238
+ }
46239
+ }
46240
+ ]
46241
+ }
46242
+ ]
46243
+ }
46244
+ ],
46245
+ "exports": [
46246
+ {
46247
+ "kind": "js",
46248
+ "name": "OpenAIAssistantUtils",
46249
+ "declaration": {
46250
+ "name": "OpenAIAssistantUtils",
46251
+ "module": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts"
46252
+ }
46253
+ }
46254
+ ]
46255
+ },
46165
46256
  {
46166
46257
  "kind": "javascript-module",
46167
46258
  "path": "src/views/chat/input/buttons/custom/customButton.ts",
@@ -48833,6 +48924,166 @@
48833
48924
  }
48834
48925
  ]
48835
48926
  },
48927
+ {
48928
+ "kind": "javascript-module",
48929
+ "path": "src/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.ts",
48930
+ "declarations": [
48931
+ {
48932
+ "kind": "class",
48933
+ "description": "",
48934
+ "name": "DragAndDrop",
48935
+ "members": [
48936
+ {
48937
+ "kind": "method",
48938
+ "name": "create",
48939
+ "privacy": "public",
48940
+ "static": true,
48941
+ "parameters": [
48942
+ {
48943
+ "name": "containerElement",
48944
+ "type": {
48945
+ "text": "HTMLElement"
48946
+ }
48947
+ },
48948
+ {
48949
+ "name": "fileAttachments",
48950
+ "type": {
48951
+ "text": "FileAttachments"
48952
+ }
48953
+ },
48954
+ {
48955
+ "name": "dnd",
48956
+ "optional": true,
48957
+ "type": {
48958
+ "text": "boolean | CustomStyle"
48959
+ }
48960
+ }
48961
+ ]
48962
+ },
48963
+ {
48964
+ "kind": "method",
48965
+ "name": "createElement",
48966
+ "privacy": "private",
48967
+ "static": true,
48968
+ "parameters": [
48969
+ {
48970
+ "name": "dnd",
48971
+ "optional": true,
48972
+ "type": {
48973
+ "text": "boolean | CustomStyle"
48974
+ }
48975
+ }
48976
+ ]
48977
+ },
48978
+ {
48979
+ "kind": "method",
48980
+ "name": "addEvents",
48981
+ "privacy": "private",
48982
+ "static": true,
48983
+ "parameters": [
48984
+ {
48985
+ "name": "fileDropElement",
48986
+ "type": {
48987
+ "text": "HTMLElement"
48988
+ }
48989
+ },
48990
+ {
48991
+ "name": "containerElement",
48992
+ "type": {
48993
+ "text": "HTMLElement"
48994
+ }
48995
+ },
48996
+ {
48997
+ "name": "fileAttachments",
48998
+ "type": {
48999
+ "text": "FileAttachments"
49000
+ }
49001
+ }
49002
+ ]
49003
+ },
49004
+ {
49005
+ "kind": "method",
49006
+ "name": "uploadFile",
49007
+ "privacy": "private",
49008
+ "static": true,
49009
+ "parameters": [
49010
+ {
49011
+ "name": "fileAttachments",
49012
+ "type": {
49013
+ "text": "FileAttachments"
49014
+ }
49015
+ },
49016
+ {
49017
+ "name": "event",
49018
+ "type": {
49019
+ "text": "DragEvent"
49020
+ }
49021
+ }
49022
+ ]
49023
+ },
49024
+ {
49025
+ "kind": "method",
49026
+ "name": "display",
49027
+ "privacy": "private",
49028
+ "static": true,
49029
+ "parameters": [
49030
+ {
49031
+ "name": "fileDropElement",
49032
+ "type": {
49033
+ "text": "HTMLElement"
49034
+ }
49035
+ }
49036
+ ]
49037
+ },
49038
+ {
49039
+ "kind": "method",
49040
+ "name": "hide",
49041
+ "privacy": "private",
49042
+ "static": true,
49043
+ "parameters": [
49044
+ {
49045
+ "name": "fileDropElement",
49046
+ "type": {
49047
+ "text": "HTMLElement"
49048
+ }
49049
+ }
49050
+ ]
49051
+ },
49052
+ {
49053
+ "kind": "method",
49054
+ "name": "isEnabled",
49055
+ "privacy": "public",
49056
+ "static": true,
49057
+ "parameters": [
49058
+ {
49059
+ "name": "fileAttachments",
49060
+ "type": {
49061
+ "text": "FileAttachments"
49062
+ }
49063
+ },
49064
+ {
49065
+ "name": "dragAndDrop",
49066
+ "optional": true,
49067
+ "type": {
49068
+ "text": "boolean | CustomStyle"
49069
+ }
49070
+ }
49071
+ ]
49072
+ }
49073
+ ]
49074
+ }
49075
+ ],
49076
+ "exports": [
49077
+ {
49078
+ "kind": "js",
49079
+ "name": "DragAndDrop",
49080
+ "declaration": {
49081
+ "name": "DragAndDrop",
49082
+ "module": "src/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.ts"
49083
+ }
49084
+ }
49085
+ ]
49086
+ },
48836
49087
  {
48837
49088
  "kind": "javascript-module",
48838
49089
  "path": "src/views/chat/input/buttons/uploadFile/uploadFileButton.ts",
@@ -49272,166 +49523,6 @@
49272
49523
  }
49273
49524
  ]
49274
49525
  },
49275
- {
49276
- "kind": "javascript-module",
49277
- "path": "src/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.ts",
49278
- "declarations": [
49279
- {
49280
- "kind": "class",
49281
- "description": "",
49282
- "name": "DragAndDrop",
49283
- "members": [
49284
- {
49285
- "kind": "method",
49286
- "name": "create",
49287
- "privacy": "public",
49288
- "static": true,
49289
- "parameters": [
49290
- {
49291
- "name": "containerElement",
49292
- "type": {
49293
- "text": "HTMLElement"
49294
- }
49295
- },
49296
- {
49297
- "name": "fileAttachments",
49298
- "type": {
49299
- "text": "FileAttachments"
49300
- }
49301
- },
49302
- {
49303
- "name": "dnd",
49304
- "optional": true,
49305
- "type": {
49306
- "text": "boolean | CustomStyle"
49307
- }
49308
- }
49309
- ]
49310
- },
49311
- {
49312
- "kind": "method",
49313
- "name": "createElement",
49314
- "privacy": "private",
49315
- "static": true,
49316
- "parameters": [
49317
- {
49318
- "name": "dnd",
49319
- "optional": true,
49320
- "type": {
49321
- "text": "boolean | CustomStyle"
49322
- }
49323
- }
49324
- ]
49325
- },
49326
- {
49327
- "kind": "method",
49328
- "name": "addEvents",
49329
- "privacy": "private",
49330
- "static": true,
49331
- "parameters": [
49332
- {
49333
- "name": "fileDropElement",
49334
- "type": {
49335
- "text": "HTMLElement"
49336
- }
49337
- },
49338
- {
49339
- "name": "containerElement",
49340
- "type": {
49341
- "text": "HTMLElement"
49342
- }
49343
- },
49344
- {
49345
- "name": "fileAttachments",
49346
- "type": {
49347
- "text": "FileAttachments"
49348
- }
49349
- }
49350
- ]
49351
- },
49352
- {
49353
- "kind": "method",
49354
- "name": "uploadFile",
49355
- "privacy": "private",
49356
- "static": true,
49357
- "parameters": [
49358
- {
49359
- "name": "fileAttachments",
49360
- "type": {
49361
- "text": "FileAttachments"
49362
- }
49363
- },
49364
- {
49365
- "name": "event",
49366
- "type": {
49367
- "text": "DragEvent"
49368
- }
49369
- }
49370
- ]
49371
- },
49372
- {
49373
- "kind": "method",
49374
- "name": "display",
49375
- "privacy": "private",
49376
- "static": true,
49377
- "parameters": [
49378
- {
49379
- "name": "fileDropElement",
49380
- "type": {
49381
- "text": "HTMLElement"
49382
- }
49383
- }
49384
- ]
49385
- },
49386
- {
49387
- "kind": "method",
49388
- "name": "hide",
49389
- "privacy": "private",
49390
- "static": true,
49391
- "parameters": [
49392
- {
49393
- "name": "fileDropElement",
49394
- "type": {
49395
- "text": "HTMLElement"
49396
- }
49397
- }
49398
- ]
49399
- },
49400
- {
49401
- "kind": "method",
49402
- "name": "isEnabled",
49403
- "privacy": "public",
49404
- "static": true,
49405
- "parameters": [
49406
- {
49407
- "name": "fileAttachments",
49408
- "type": {
49409
- "text": "FileAttachments"
49410
- }
49411
- },
49412
- {
49413
- "name": "dragAndDrop",
49414
- "optional": true,
49415
- "type": {
49416
- "text": "boolean | CustomStyle"
49417
- }
49418
- }
49419
- ]
49420
- }
49421
- ]
49422
- }
49423
- ],
49424
- "exports": [
49425
- {
49426
- "kind": "js",
49427
- "name": "DragAndDrop",
49428
- "declaration": {
49429
- "name": "DragAndDrop",
49430
- "module": "src/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.ts"
49431
- }
49432
- }
49433
- ]
49434
- },
49435
49526
  {
49436
49527
  "kind": "javascript-module",
49437
49528
  "path": "src/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.ts",
@@ -49730,6 +49821,18 @@
49730
49821
  "module": "src/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.ts"
49731
49822
  }
49732
49823
  },
49824
+ {
49825
+ "kind": "field",
49826
+ "name": "_onInput",
49827
+ "type": {
49828
+ "text": "((isUser: boolean) => void) | undefined"
49829
+ },
49830
+ "privacy": "private",
49831
+ "inheritedFrom": {
49832
+ "name": "FileAttachmentsType",
49833
+ "module": "src/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.ts"
49834
+ }
49835
+ },
49733
49836
  {
49734
49837
  "kind": "method",
49735
49838
  "name": "attemptAddFile",
@@ -49941,6 +50044,13 @@
49941
50044
  "type": {
49942
50045
  "text": "AttachmentObject"
49943
50046
  }
50047
+ },
50048
+ {
50049
+ "name": "event",
50050
+ "optional": true,
50051
+ "type": {
50052
+ "text": "MouseEvent"
50053
+ }
49944
50054
  }
49945
50055
  ],
49946
50056
  "inheritedFrom": {
@@ -50019,6 +50129,12 @@
50019
50129
  "text": "DeepChat"
50020
50130
  }
50021
50131
  },
50132
+ {
50133
+ "name": "serviceIO",
50134
+ "type": {
50135
+ "text": "ServiceIO"
50136
+ }
50137
+ },
50022
50138
  {
50023
50139
  "name": "files",
50024
50140
  "type": {
@@ -50136,6 +50252,14 @@
50136
50252
  },
50137
50253
  "privacy": "private"
50138
50254
  },
50255
+ {
50256
+ "kind": "field",
50257
+ "name": "_onInput",
50258
+ "type": {
50259
+ "text": "((isUser: boolean) => void) | undefined"
50260
+ },
50261
+ "privacy": "private"
50262
+ },
50139
50263
  {
50140
50264
  "kind": "method",
50141
50265
  "name": "attemptAddFile",
@@ -50311,6 +50435,13 @@
50311
50435
  "type": {
50312
50436
  "text": "AttachmentObject"
50313
50437
  }
50438
+ },
50439
+ {
50440
+ "name": "event",
50441
+ "optional": true,
50442
+ "type": {
50443
+ "text": "MouseEvent"
50444
+ }
50314
50445
  }
50315
50446
  ]
50316
50447
  },