@iblai/iblai-js 1.27.0 → 2.1.0
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.
|
@@ -61547,6 +61547,7 @@ var datasetsTabLabels$3 = {
|
|
|
61547
61547
|
title: "Datasets",
|
|
61548
61548
|
description: "Manage training datasets and knowledge sources."
|
|
61549
61549
|
},
|
|
61550
|
+
infoBox: "Teach your agent with your own material. Upload documents, files, or links and it'll answer from them — grounded in your content instead of guessing.",
|
|
61550
61551
|
search: {
|
|
61551
61552
|
placeholder: "Search datasets..."
|
|
61552
61553
|
},
|
|
@@ -63516,18 +63517,10 @@ var settingsTabLabels$3 = {
|
|
|
63516
63517
|
label: "Featured",
|
|
63517
63518
|
tooltip: "Feature this agent to highlight it in listings."
|
|
63518
63519
|
},
|
|
63519
|
-
ltiAccessible: {
|
|
63520
|
-
label: "LTI Accessible",
|
|
63521
|
-
tooltip: "Allows this agent to be accessible via LTI launches. Unselecting this will immediately remove access for any users users that have launched this via LTI."
|
|
63522
|
-
},
|
|
63523
63520
|
showAttachment: {
|
|
63524
63521
|
label: "Show Attachment",
|
|
63525
63522
|
tooltip: "Show Attachment Options in Chat Interface"
|
|
63526
63523
|
},
|
|
63527
|
-
showVoiceCall: {
|
|
63528
|
-
label: "Show Voice Call",
|
|
63529
|
-
tooltip: "Show Voice Call Options in Chat Interface"
|
|
63530
|
-
},
|
|
63531
63524
|
showVoiceRecord: {
|
|
63532
63525
|
label: "Show Voice Record",
|
|
63533
63526
|
tooltip: "Show Voice Recording Options in Chat Interface"
|
|
@@ -63545,6 +63538,22 @@ var settingsTabLabels$3 = {
|
|
|
63545
63538
|
altText: "Agent",
|
|
63546
63539
|
uploadHint: "+ Upload",
|
|
63547
63540
|
removeAriaLabel: "Remove image"
|
|
63541
|
+
},
|
|
63542
|
+
enhancedDocRetrieval: {
|
|
63543
|
+
label: "Enhanced document retrieval",
|
|
63544
|
+
tooltip: "Run multiple search queries per question to pull in more relevant documents."
|
|
63545
|
+
},
|
|
63546
|
+
promptCaching: {
|
|
63547
|
+
label: "Prompt caching",
|
|
63548
|
+
tooltip: "Cache repeated prompt context to lower latency and cost on long conversations."
|
|
63549
|
+
},
|
|
63550
|
+
privateMode: {
|
|
63551
|
+
label: "Enable private mode",
|
|
63552
|
+
tooltip: "When on, every conversation with this agent runs in private mode — no chat history or memory is stored for any user. Use this for sensitive or compliance-bound deployments."
|
|
63553
|
+
},
|
|
63554
|
+
smartDocRetrieval: {
|
|
63555
|
+
label: "Smart document retrieval",
|
|
63556
|
+
tooltip: "Use function calling during voice calls to fetch documents only when needed."
|
|
63548
63557
|
}
|
|
63549
63558
|
},
|
|
63550
63559
|
actions: {
|
|
@@ -63555,7 +63564,8 @@ var settingsTabLabels$3 = {
|
|
|
63555
63564
|
},
|
|
63556
63565
|
toasts: {
|
|
63557
63566
|
saveSuccess: "Agent updated successfully",
|
|
63558
|
-
saveError: "Failed to update agent"
|
|
63567
|
+
saveError: "Failed to update agent",
|
|
63568
|
+
voiceCallError: "Agent saved, but voice-call settings could not be updated"
|
|
63559
63569
|
},
|
|
63560
63570
|
deleteModal: {
|
|
63561
63571
|
title: "Delete Agent",
|
|
@@ -63583,6 +63593,16 @@ var settingsTabLabels$3 = {
|
|
|
63583
63593
|
successToast: "Agent copied successfully. Switching to new agent",
|
|
63584
63594
|
errorToast: "Failed to copy agent",
|
|
63585
63595
|
missingContextToast: "Unable to copy agent. Missing context."
|
|
63596
|
+
},
|
|
63597
|
+
subTabs: {
|
|
63598
|
+
basic: "Basic",
|
|
63599
|
+
discovery: "Discovery",
|
|
63600
|
+
capabilities: "Capabilities"
|
|
63601
|
+
},
|
|
63602
|
+
sections: {
|
|
63603
|
+
chatExperience: "Chat experience",
|
|
63604
|
+
voiceCalls: "Voice & calls",
|
|
63605
|
+
advanced: "Advanced"
|
|
63586
63606
|
}
|
|
63587
63607
|
};
|
|
63588
63608
|
var skillsProfileAddSkillDialog$3 = {
|
|
@@ -64140,21 +64160,18 @@ var tabsSettingsTab$3 = {
|
|
|
64140
64160
|
whoCanViewTooltipAriaLabel: "More info about chat access",
|
|
64141
64161
|
whoCanChatTooltipAriaLabel: "More info about chat access",
|
|
64142
64162
|
featuredTooltipAriaLabel: "More info about featured",
|
|
64143
|
-
ltiAccessibleTooltipAriaLabel: "More info about lti accessibility",
|
|
64144
64163
|
showAttachmentTooltipAriaLabel: "More info about show attachment",
|
|
64145
|
-
showVoiceCallTooltipAriaLabel: "More info about show voice call",
|
|
64146
64164
|
showVoiceRecordTooltipAriaLabel: "More info about show voice record",
|
|
64147
64165
|
allowCopiesTooltipAriaLabel: "More info about allow copies",
|
|
64148
64166
|
showReasoningTooltipAriaLabel: "More info about verbose reasoning",
|
|
64149
|
-
featuredToggleAriaLabel: "Featured {state}",
|
|
64150
|
-
ltiAccessibleToggleAriaLabel: "Is lti accessible {state}",
|
|
64151
|
-
showAttachmentToggleAriaLabel: "Show attachment {state}",
|
|
64152
|
-
showVoiceCallToggleAriaLabel: "Show voice call {state}",
|
|
64153
|
-
showVoiceRecordToggleAriaLabel: "Show voice record {state}",
|
|
64154
|
-
allowCopiesToggleAriaLabel: "Allow copies {state}",
|
|
64155
|
-
showReasoningToggleAriaLabel: "Verbose reasoning {state}",
|
|
64156
64167
|
toggleStateEnabled: "enabled",
|
|
64157
|
-
toggleStateDisabled: "disabled"
|
|
64168
|
+
toggleStateDisabled: "disabled",
|
|
64169
|
+
settingsSubCategoriesAriaLabel: "Settings sub-categories",
|
|
64170
|
+
enhancedDocRetrievalTooltipAriaLabel: "More info about enhanced document retrieval",
|
|
64171
|
+
promptCachingTooltipAriaLabel: "More info about prompt caching",
|
|
64172
|
+
privateModeTooltipAriaLabel: "More info about enable private mode",
|
|
64173
|
+
smartDocRetrievalTooltipAriaLabel: "More info about smart document retrieval",
|
|
64174
|
+
toggleAriaLabel: "{label} {state}"
|
|
64158
64175
|
};
|
|
64159
64176
|
var tabsTeamsaccesspanel$3 = {
|
|
64160
64177
|
permissionRead: "Read",
|
|
@@ -67230,6 +67247,7 @@ var datasetsTabLabels$2 = {
|
|
|
67230
67247
|
title: "Jeux de données",
|
|
67231
67248
|
description: "Gérez les jeux de données d'entraînement et les sources de connaissances."
|
|
67232
67249
|
},
|
|
67250
|
+
infoBox: "Formez votre agent avec vos propres contenus. Importez des documents, des fichiers ou des liens, et il y puisera ses réponses — en s'appuyant sur votre contenu plutôt qu'en devinant.",
|
|
67233
67251
|
search: {
|
|
67234
67252
|
placeholder: "Rechercher des jeux de données..."
|
|
67235
67253
|
},
|
|
@@ -69199,18 +69217,10 @@ var settingsTabLabels$2 = {
|
|
|
69199
69217
|
label: "En vedette",
|
|
69200
69218
|
tooltip: "Mettez cet agent en avant pour le mettre en valeur dans les listes."
|
|
69201
69219
|
},
|
|
69202
|
-
ltiAccessible: {
|
|
69203
|
-
label: "Accessible via LTI",
|
|
69204
|
-
tooltip: "Permet à cet agent d'être accessible via les lancements LTI. La désélection supprimera immédiatement l'accès pour tous les utilisateurs qui ont lancé cet agent via LTI."
|
|
69205
|
-
},
|
|
69206
69220
|
showAttachment: {
|
|
69207
69221
|
label: "Afficher les pièces jointes",
|
|
69208
69222
|
tooltip: "Afficher les options de pièces jointes dans l'interface de chat"
|
|
69209
69223
|
},
|
|
69210
|
-
showVoiceCall: {
|
|
69211
|
-
label: "Afficher l'appel vocal",
|
|
69212
|
-
tooltip: "Afficher les options d'appel vocal dans l'interface de chat"
|
|
69213
|
-
},
|
|
69214
69224
|
showVoiceRecord: {
|
|
69215
69225
|
label: "Afficher l'enregistrement vocal",
|
|
69216
69226
|
tooltip: "Afficher les options d'enregistrement vocal dans l'interface de chat"
|
|
@@ -69228,6 +69238,22 @@ var settingsTabLabels$2 = {
|
|
|
69228
69238
|
altText: "Agent",
|
|
69229
69239
|
uploadHint: "+ Téléverser",
|
|
69230
69240
|
removeAriaLabel: "Supprimer l'image"
|
|
69241
|
+
},
|
|
69242
|
+
enhancedDocRetrieval: {
|
|
69243
|
+
label: "Enhanced document retrieval",
|
|
69244
|
+
tooltip: "Run multiple search queries per question to pull in more relevant documents."
|
|
69245
|
+
},
|
|
69246
|
+
promptCaching: {
|
|
69247
|
+
label: "Prompt caching",
|
|
69248
|
+
tooltip: "Cache repeated prompt context to lower latency and cost on long conversations."
|
|
69249
|
+
},
|
|
69250
|
+
privateMode: {
|
|
69251
|
+
label: "Enable private mode",
|
|
69252
|
+
tooltip: "When on, every conversation with this agent runs in private mode — no chat history or memory is stored for any user. Use this for sensitive or compliance-bound deployments."
|
|
69253
|
+
},
|
|
69254
|
+
smartDocRetrieval: {
|
|
69255
|
+
label: "Smart document retrieval",
|
|
69256
|
+
tooltip: "Use function calling during voice calls to fetch documents only when needed."
|
|
69231
69257
|
}
|
|
69232
69258
|
},
|
|
69233
69259
|
actions: {
|
|
@@ -69238,7 +69264,8 @@ var settingsTabLabels$2 = {
|
|
|
69238
69264
|
},
|
|
69239
69265
|
toasts: {
|
|
69240
69266
|
saveSuccess: "Agent mis à jour avec succès",
|
|
69241
|
-
saveError: "Échec de la mise à jour de l'agent"
|
|
69267
|
+
saveError: "Échec de la mise à jour de l'agent",
|
|
69268
|
+
voiceCallError: "Agent saved, but voice-call settings could not be updated"
|
|
69242
69269
|
},
|
|
69243
69270
|
deleteModal: {
|
|
69244
69271
|
title: "Supprimer l'agent",
|
|
@@ -69266,6 +69293,16 @@ var settingsTabLabels$2 = {
|
|
|
69266
69293
|
successToast: "Agent copié avec succès. Basculement vers le nouvel agent",
|
|
69267
69294
|
errorToast: "Échec de la copie de l'agent",
|
|
69268
69295
|
missingContextToast: "Impossible de copier l'agent. Contexte manquant."
|
|
69296
|
+
},
|
|
69297
|
+
subTabs: {
|
|
69298
|
+
basic: "Basic",
|
|
69299
|
+
discovery: "Discovery",
|
|
69300
|
+
capabilities: "Capabilities"
|
|
69301
|
+
},
|
|
69302
|
+
sections: {
|
|
69303
|
+
chatExperience: "Chat experience",
|
|
69304
|
+
voiceCalls: "Voice & calls",
|
|
69305
|
+
advanced: "Advanced"
|
|
69269
69306
|
}
|
|
69270
69307
|
};
|
|
69271
69308
|
var skillsProfileAddSkillDialog$2 = {
|
|
@@ -69823,21 +69860,18 @@ var tabsSettingsTab$2 = {
|
|
|
69823
69860
|
whoCanViewTooltipAriaLabel: "Plus d'informations sur l'accès à la consultation",
|
|
69824
69861
|
whoCanChatTooltipAriaLabel: "Plus d'informations sur l'accès au chat",
|
|
69825
69862
|
featuredTooltipAriaLabel: "Plus d'informations sur la mise en avant",
|
|
69826
|
-
ltiAccessibleTooltipAriaLabel: "Plus d'informations sur l'accessibilité LTI",
|
|
69827
69863
|
showAttachmentTooltipAriaLabel: "Plus d'informations sur l'affichage des pièces jointes",
|
|
69828
|
-
showVoiceCallTooltipAriaLabel: "Plus d'informations sur l'affichage des appels vocaux",
|
|
69829
69864
|
showVoiceRecordTooltipAriaLabel: "Plus d'informations sur l'affichage de l'enregistrement vocal",
|
|
69830
69865
|
allowCopiesTooltipAriaLabel: "Plus d'informations sur l'autorisation des copies",
|
|
69831
69866
|
showReasoningTooltipAriaLabel: "Plus d'informations sur le raisonnement détaillé",
|
|
69832
|
-
featuredToggleAriaLabel: "Mis en avant {state}",
|
|
69833
|
-
ltiAccessibleToggleAriaLabel: "Accessible via LTI {state}",
|
|
69834
|
-
showAttachmentToggleAriaLabel: "Affichage des pièces jointes {state}",
|
|
69835
|
-
showVoiceCallToggleAriaLabel: "Affichage des appels vocaux {state}",
|
|
69836
|
-
showVoiceRecordToggleAriaLabel: "Affichage de l'enregistrement vocal {state}",
|
|
69837
|
-
allowCopiesToggleAriaLabel: "Autoriser les copies {state}",
|
|
69838
|
-
showReasoningToggleAriaLabel: "Raisonnement détaillé {state}",
|
|
69839
69867
|
toggleStateEnabled: "activé",
|
|
69840
|
-
toggleStateDisabled: "désactivé"
|
|
69868
|
+
toggleStateDisabled: "désactivé",
|
|
69869
|
+
settingsSubCategoriesAriaLabel: "Settings sub-categories",
|
|
69870
|
+
enhancedDocRetrievalTooltipAriaLabel: "More info about enhanced document retrieval",
|
|
69871
|
+
promptCachingTooltipAriaLabel: "More info about prompt caching",
|
|
69872
|
+
privateModeTooltipAriaLabel: "More info about enable private mode",
|
|
69873
|
+
smartDocRetrievalTooltipAriaLabel: "More info about smart document retrieval",
|
|
69874
|
+
toggleAriaLabel: "{label} {state}"
|
|
69841
69875
|
};
|
|
69842
69876
|
var tabsTeamsaccesspanel$2 = {
|
|
69843
69877
|
permissionRead: "Lire",
|
|
@@ -72913,6 +72947,7 @@ var datasetsTabLabels$1 = {
|
|
|
72913
72947
|
title: "Conjuntos de datos",
|
|
72914
72948
|
description: "Administre los conjuntos de datos de entrenamiento y las fuentes de conocimiento."
|
|
72915
72949
|
},
|
|
72950
|
+
infoBox: "Enseña a tu agente con tu propio material. Sube documentos, archivos o enlaces y responderá a partir de ellos, basándose en tu contenido en lugar de adivinar.",
|
|
72916
72951
|
search: {
|
|
72917
72952
|
placeholder: "Buscar conjuntos de datos..."
|
|
72918
72953
|
},
|
|
@@ -74882,18 +74917,10 @@ var settingsTabLabels$1 = {
|
|
|
74882
74917
|
label: "Destacado",
|
|
74883
74918
|
tooltip: "Destaque este agente para resaltarlo en los listados."
|
|
74884
74919
|
},
|
|
74885
|
-
ltiAccessible: {
|
|
74886
|
-
label: "Accesible vía LTI",
|
|
74887
|
-
tooltip: "Permite que este agente sea accesible mediante lanzamientos LTI. Al deseleccionar, se eliminará inmediatamente el acceso para todos los usuarios que lo hayan lanzado a través de LTI."
|
|
74888
|
-
},
|
|
74889
74920
|
showAttachment: {
|
|
74890
74921
|
label: "Mostrar archivos adjuntos",
|
|
74891
74922
|
tooltip: "Mostrar opciones de archivos adjuntos en la interfaz de chat"
|
|
74892
74923
|
},
|
|
74893
|
-
showVoiceCall: {
|
|
74894
|
-
label: "Mostrar llamada de voz",
|
|
74895
|
-
tooltip: "Mostrar opciones de llamada de voz en la interfaz de chat"
|
|
74896
|
-
},
|
|
74897
74924
|
showVoiceRecord: {
|
|
74898
74925
|
label: "Mostrar grabación de voz",
|
|
74899
74926
|
tooltip: "Mostrar opciones de grabación de voz en la interfaz de chat"
|
|
@@ -74911,6 +74938,22 @@ var settingsTabLabels$1 = {
|
|
|
74911
74938
|
altText: "Agente",
|
|
74912
74939
|
uploadHint: "+ Subir",
|
|
74913
74940
|
removeAriaLabel: "Eliminar imagen"
|
|
74941
|
+
},
|
|
74942
|
+
enhancedDocRetrieval: {
|
|
74943
|
+
label: "Enhanced document retrieval",
|
|
74944
|
+
tooltip: "Run multiple search queries per question to pull in more relevant documents."
|
|
74945
|
+
},
|
|
74946
|
+
promptCaching: {
|
|
74947
|
+
label: "Prompt caching",
|
|
74948
|
+
tooltip: "Cache repeated prompt context to lower latency and cost on long conversations."
|
|
74949
|
+
},
|
|
74950
|
+
privateMode: {
|
|
74951
|
+
label: "Enable private mode",
|
|
74952
|
+
tooltip: "When on, every conversation with this agent runs in private mode — no chat history or memory is stored for any user. Use this for sensitive or compliance-bound deployments."
|
|
74953
|
+
},
|
|
74954
|
+
smartDocRetrieval: {
|
|
74955
|
+
label: "Smart document retrieval",
|
|
74956
|
+
tooltip: "Use function calling during voice calls to fetch documents only when needed."
|
|
74914
74957
|
}
|
|
74915
74958
|
},
|
|
74916
74959
|
actions: {
|
|
@@ -74921,7 +74964,8 @@ var settingsTabLabels$1 = {
|
|
|
74921
74964
|
},
|
|
74922
74965
|
toasts: {
|
|
74923
74966
|
saveSuccess: "Agente actualizado correctamente",
|
|
74924
|
-
saveError: "Error al actualizar el agente"
|
|
74967
|
+
saveError: "Error al actualizar el agente",
|
|
74968
|
+
voiceCallError: "Agent saved, but voice-call settings could not be updated"
|
|
74925
74969
|
},
|
|
74926
74970
|
deleteModal: {
|
|
74927
74971
|
title: "Eliminar agente",
|
|
@@ -74949,6 +74993,16 @@ var settingsTabLabels$1 = {
|
|
|
74949
74993
|
successToast: "Agente copiado correctamente. Cambiando al nuevo agente",
|
|
74950
74994
|
errorToast: "Error al copiar el agente",
|
|
74951
74995
|
missingContextToast: "No se puede copiar el agente. Falta contexto."
|
|
74996
|
+
},
|
|
74997
|
+
subTabs: {
|
|
74998
|
+
basic: "Basic",
|
|
74999
|
+
discovery: "Discovery",
|
|
75000
|
+
capabilities: "Capabilities"
|
|
75001
|
+
},
|
|
75002
|
+
sections: {
|
|
75003
|
+
chatExperience: "Chat experience",
|
|
75004
|
+
voiceCalls: "Voice & calls",
|
|
75005
|
+
advanced: "Advanced"
|
|
74952
75006
|
}
|
|
74953
75007
|
};
|
|
74954
75008
|
var skillsProfileAddSkillDialog$1 = {
|
|
@@ -75506,21 +75560,18 @@ var tabsSettingsTab$1 = {
|
|
|
75506
75560
|
whoCanViewTooltipAriaLabel: "Más información sobre el acceso de visualización",
|
|
75507
75561
|
whoCanChatTooltipAriaLabel: "Más información sobre el acceso al chat",
|
|
75508
75562
|
featuredTooltipAriaLabel: "Más información sobre destacado",
|
|
75509
|
-
ltiAccessibleTooltipAriaLabel: "Más información sobre la accesibilidad LTI",
|
|
75510
75563
|
showAttachmentTooltipAriaLabel: "Más información sobre mostrar adjuntos",
|
|
75511
|
-
showVoiceCallTooltipAriaLabel: "Más información sobre mostrar llamadas de voz",
|
|
75512
75564
|
showVoiceRecordTooltipAriaLabel: "Más información sobre mostrar grabación de voz",
|
|
75513
75565
|
allowCopiesTooltipAriaLabel: "Más información sobre permitir copias",
|
|
75514
75566
|
showReasoningTooltipAriaLabel: "Más información sobre el razonamiento detallado",
|
|
75515
|
-
featuredToggleAriaLabel: "Destacado {state}",
|
|
75516
|
-
ltiAccessibleToggleAriaLabel: "Accesible vía LTI {state}",
|
|
75517
|
-
showAttachmentToggleAriaLabel: "Mostrar adjuntos {state}",
|
|
75518
|
-
showVoiceCallToggleAriaLabel: "Mostrar llamadas de voz {state}",
|
|
75519
|
-
showVoiceRecordToggleAriaLabel: "Mostrar grabación de voz {state}",
|
|
75520
|
-
allowCopiesToggleAriaLabel: "Permitir copias {state}",
|
|
75521
|
-
showReasoningToggleAriaLabel: "Razonamiento detallado {state}",
|
|
75522
75567
|
toggleStateEnabled: "activado",
|
|
75523
|
-
toggleStateDisabled: "desactivado"
|
|
75568
|
+
toggleStateDisabled: "desactivado",
|
|
75569
|
+
settingsSubCategoriesAriaLabel: "Settings sub-categories",
|
|
75570
|
+
enhancedDocRetrievalTooltipAriaLabel: "More info about enhanced document retrieval",
|
|
75571
|
+
promptCachingTooltipAriaLabel: "More info about prompt caching",
|
|
75572
|
+
privateModeTooltipAriaLabel: "More info about enable private mode",
|
|
75573
|
+
smartDocRetrievalTooltipAriaLabel: "More info about smart document retrieval",
|
|
75574
|
+
toggleAriaLabel: "{label} {state}"
|
|
75524
75575
|
};
|
|
75525
75576
|
var tabsTeamsaccesspanel$1 = {
|
|
75526
75577
|
permissionRead: "Leer",
|
|
@@ -78596,6 +78647,7 @@ var datasetsTabLabels = {
|
|
|
78596
78647
|
title: "数据集",
|
|
78597
78648
|
description: "管理训练数据集和知识来源。"
|
|
78598
78649
|
},
|
|
78650
|
+
infoBox: "用您自己的资料训练智能体。上传文档、文件或链接,它就会依据这些内容作答——基于您的内容,而不是凭空猜测。",
|
|
78599
78651
|
search: {
|
|
78600
78652
|
placeholder: "搜索数据集..."
|
|
78601
78653
|
},
|
|
@@ -80565,18 +80617,10 @@ var settingsTabLabels = {
|
|
|
80565
80617
|
label: "推荐",
|
|
80566
80618
|
tooltip: "将此智能体设为推荐,使其在列表中突出显示。"
|
|
80567
80619
|
},
|
|
80568
|
-
ltiAccessible: {
|
|
80569
|
-
label: "支持 LTI 访问",
|
|
80570
|
-
tooltip: "允许通过 LTI 启动访问此智能体。取消选择后,所有通过 LTI 启动此智能体的用户将立即失去访问权限。"
|
|
80571
|
-
},
|
|
80572
80620
|
showAttachment: {
|
|
80573
80621
|
label: "显示附件",
|
|
80574
80622
|
tooltip: "在聊天界面中显示附件选项"
|
|
80575
80623
|
},
|
|
80576
|
-
showVoiceCall: {
|
|
80577
|
-
label: "显示语音通话",
|
|
80578
|
-
tooltip: "在聊天界面中显示语音通话选项"
|
|
80579
|
-
},
|
|
80580
80624
|
showVoiceRecord: {
|
|
80581
80625
|
label: "显示语音录制",
|
|
80582
80626
|
tooltip: "在聊天界面中显示语音录制选项"
|
|
@@ -80594,6 +80638,22 @@ var settingsTabLabels = {
|
|
|
80594
80638
|
altText: "智能体",
|
|
80595
80639
|
uploadHint: "+ 上传",
|
|
80596
80640
|
removeAriaLabel: "移除图片"
|
|
80641
|
+
},
|
|
80642
|
+
enhancedDocRetrieval: {
|
|
80643
|
+
label: "Enhanced document retrieval",
|
|
80644
|
+
tooltip: "Run multiple search queries per question to pull in more relevant documents."
|
|
80645
|
+
},
|
|
80646
|
+
promptCaching: {
|
|
80647
|
+
label: "Prompt caching",
|
|
80648
|
+
tooltip: "Cache repeated prompt context to lower latency and cost on long conversations."
|
|
80649
|
+
},
|
|
80650
|
+
privateMode: {
|
|
80651
|
+
label: "Enable private mode",
|
|
80652
|
+
tooltip: "When on, every conversation with this agent runs in private mode — no chat history or memory is stored for any user. Use this for sensitive or compliance-bound deployments."
|
|
80653
|
+
},
|
|
80654
|
+
smartDocRetrieval: {
|
|
80655
|
+
label: "Smart document retrieval",
|
|
80656
|
+
tooltip: "Use function calling during voice calls to fetch documents only when needed."
|
|
80597
80657
|
}
|
|
80598
80658
|
},
|
|
80599
80659
|
actions: {
|
|
@@ -80604,7 +80664,8 @@ var settingsTabLabels = {
|
|
|
80604
80664
|
},
|
|
80605
80665
|
toasts: {
|
|
80606
80666
|
saveSuccess: "智能体已成功更新",
|
|
80607
|
-
saveError: "更新智能体失败"
|
|
80667
|
+
saveError: "更新智能体失败",
|
|
80668
|
+
voiceCallError: "Agent saved, but voice-call settings could not be updated"
|
|
80608
80669
|
},
|
|
80609
80670
|
deleteModal: {
|
|
80610
80671
|
title: "删除智能体",
|
|
@@ -80632,6 +80693,16 @@ var settingsTabLabels = {
|
|
|
80632
80693
|
successToast: "智能体已成功复制。正在切换到新智能体",
|
|
80633
80694
|
errorToast: "复制智能体失败",
|
|
80634
80695
|
missingContextToast: "无法复制智能体。缺少上下文。"
|
|
80696
|
+
},
|
|
80697
|
+
subTabs: {
|
|
80698
|
+
basic: "Basic",
|
|
80699
|
+
discovery: "Discovery",
|
|
80700
|
+
capabilities: "Capabilities"
|
|
80701
|
+
},
|
|
80702
|
+
sections: {
|
|
80703
|
+
chatExperience: "Chat experience",
|
|
80704
|
+
voiceCalls: "Voice & calls",
|
|
80705
|
+
advanced: "Advanced"
|
|
80635
80706
|
}
|
|
80636
80707
|
};
|
|
80637
80708
|
var skillsProfileAddSkillDialog = {
|
|
@@ -81189,21 +81260,18 @@ var tabsSettingsTab = {
|
|
|
81189
81260
|
whoCanViewTooltipAriaLabel: "关于查看访问权限的更多信息",
|
|
81190
81261
|
whoCanChatTooltipAriaLabel: "关于聊天访问权限的更多信息",
|
|
81191
81262
|
featuredTooltipAriaLabel: "关于精选的更多信息",
|
|
81192
|
-
ltiAccessibleTooltipAriaLabel: "关于 LTI 可访问性的更多信息",
|
|
81193
81263
|
showAttachmentTooltipAriaLabel: "关于显示附件的更多信息",
|
|
81194
|
-
showVoiceCallTooltipAriaLabel: "关于显示语音通话的更多信息",
|
|
81195
81264
|
showVoiceRecordTooltipAriaLabel: "关于显示语音录制的更多信息",
|
|
81196
81265
|
allowCopiesTooltipAriaLabel: "关于允许复制的更多信息",
|
|
81197
81266
|
showReasoningTooltipAriaLabel: "关于详细推理的更多信息",
|
|
81198
|
-
featuredToggleAriaLabel: "精选 {state}",
|
|
81199
|
-
ltiAccessibleToggleAriaLabel: "LTI 可访问 {state}",
|
|
81200
|
-
showAttachmentToggleAriaLabel: "显示附件 {state}",
|
|
81201
|
-
showVoiceCallToggleAriaLabel: "显示语音通话 {state}",
|
|
81202
|
-
showVoiceRecordToggleAriaLabel: "显示语音录制 {state}",
|
|
81203
|
-
allowCopiesToggleAriaLabel: "允许复制 {state}",
|
|
81204
|
-
showReasoningToggleAriaLabel: "详细推理 {state}",
|
|
81205
81267
|
toggleStateEnabled: "已启用",
|
|
81206
|
-
toggleStateDisabled: "已禁用"
|
|
81268
|
+
toggleStateDisabled: "已禁用",
|
|
81269
|
+
settingsSubCategoriesAriaLabel: "Settings sub-categories",
|
|
81270
|
+
enhancedDocRetrievalTooltipAriaLabel: "More info about enhanced document retrieval",
|
|
81271
|
+
promptCachingTooltipAriaLabel: "More info about prompt caching",
|
|
81272
|
+
privateModeTooltipAriaLabel: "More info about enable private mode",
|
|
81273
|
+
smartDocRetrievalTooltipAriaLabel: "More info about smart document retrieval",
|
|
81274
|
+
toggleAriaLabel: "{label} {state}"
|
|
81207
81275
|
};
|
|
81208
81276
|
var tabsTeamsaccesspanel = {
|
|
81209
81277
|
permissionRead: "读取",
|
|
@@ -225155,23 +225223,36 @@ function useAgentSettings() {
|
|
|
225155
225223
|
return ctx;
|
|
225156
225224
|
}
|
|
225157
225225
|
|
|
225158
|
-
function useDatasetsWithPagination(itemsPerPage = 5) {
|
|
225226
|
+
function useDatasetsWithPagination(itemsPerPage = 5, opts = {}) {
|
|
225227
|
+
const { page: controlledPage, search: controlledSearch, onPageChange, onSearchChange } = opts;
|
|
225228
|
+
// Controlled/uncontrolled is decided per axis, independently.
|
|
225229
|
+
const isPageControlled = controlledPage !== undefined;
|
|
225230
|
+
const isSearchControlled = controlledSearch !== undefined;
|
|
225159
225231
|
const { tenantKey, mentorId, username } = useAgentSettings();
|
|
225160
|
-
|
|
225232
|
+
// Input echo — keeps typing responsive in both modes and is the source of
|
|
225233
|
+
// truth for the search term when uncontrolled. Seeded from the controlled
|
|
225234
|
+
// value so a URL-driven search shows up immediately on mount.
|
|
225235
|
+
const [searchQuery, setSearchQuery] = React__default.useState(isSearchControlled ? controlledSearch : '');
|
|
225161
225236
|
const [debouncedSearchQuery] = a(searchQuery, 500);
|
|
225162
|
-
const [
|
|
225237
|
+
const [localPage, setLocalPage] = React__default.useState(1);
|
|
225163
225238
|
const [isTraining, setIsTraining] = React__default.useState(false);
|
|
225164
|
-
const
|
|
225165
|
-
|
|
225166
|
-
|
|
225167
|
-
|
|
225168
|
-
|
|
225239
|
+
const currentPage = isPageControlled ? controlledPage : localPage;
|
|
225240
|
+
// Reset to the first page during render (not in an effect) when the debounced
|
|
225241
|
+
// search changes, so the query never fires with a stale offset. Only touches
|
|
225242
|
+
// internal page state — in page-controlled mode the host performs the reset
|
|
225243
|
+
// via the onSearchChange contract above.
|
|
225244
|
+
const [lastSearchQuery, setLastSearchQuery] = React__default.useState(debouncedSearchQuery);
|
|
225245
|
+
if (lastSearchQuery !== debouncedSearchQuery) {
|
|
225246
|
+
setLastSearchQuery(debouncedSearchQuery);
|
|
225247
|
+
if (!isPageControlled)
|
|
225248
|
+
setLocalPage(1);
|
|
225249
|
+
}
|
|
225169
225250
|
const { data: datasets, isLoading: isDatasetsLoading, isFetching: isDatasetsFetching, } = useGetTrainingDocumentsQuery({
|
|
225170
225251
|
org: tenantKey,
|
|
225171
225252
|
pathway: mentorId,
|
|
225172
|
-
limit:
|
|
225173
|
-
offset:
|
|
225174
|
-
search:
|
|
225253
|
+
limit: itemsPerPage,
|
|
225254
|
+
offset: (currentPage - 1) * itemsPerPage,
|
|
225255
|
+
search: debouncedSearchQuery,
|
|
225175
225256
|
// @ts-expect-error userId is not in the typed args but the API accepts it
|
|
225176
225257
|
userId: username !== null && username !== void 0 ? username : '',
|
|
225177
225258
|
}, {
|
|
@@ -225192,24 +225273,31 @@ function useDatasetsWithPagination(itemsPerPage = 5) {
|
|
|
225192
225273
|
setIsTraining(_isTraining);
|
|
225193
225274
|
}
|
|
225194
225275
|
}, [isDatasetsFetching]);
|
|
225195
|
-
//
|
|
225276
|
+
// Report the debounced search back to the host (search-controlled only).
|
|
225277
|
+
// Firing this implies a page reset — see the onSearchChange contract above.
|
|
225196
225278
|
React__default.useEffect(() => {
|
|
225197
|
-
|
|
225198
|
-
|
|
225199
|
-
|
|
225200
|
-
|
|
225201
|
-
|
|
225202
|
-
|
|
225279
|
+
if (!isSearchControlled)
|
|
225280
|
+
return;
|
|
225281
|
+
if (debouncedSearchQuery === controlledSearch)
|
|
225282
|
+
return;
|
|
225283
|
+
onSearchChange === null || onSearchChange === void 0 ? void 0 : onSearchChange(debouncedSearchQuery);
|
|
225284
|
+
}, [debouncedSearchQuery, isSearchControlled]);
|
|
225285
|
+
// Reconcile the input echo when the controlled search changes externally
|
|
225286
|
+
// (back/forward, reload, shared link) without clobbering in-flight typing.
|
|
225203
225287
|
React__default.useEffect(() => {
|
|
225204
|
-
|
|
225205
|
-
|
|
225206
|
-
|
|
225207
|
-
|
|
225208
|
-
|
|
225209
|
-
|
|
225210
|
-
}, [debouncedSearchQuery]);
|
|
225288
|
+
if (!isSearchControlled)
|
|
225289
|
+
return;
|
|
225290
|
+
if (controlledSearch === debouncedSearchQuery)
|
|
225291
|
+
return;
|
|
225292
|
+
setSearchQuery(controlledSearch);
|
|
225293
|
+
}, [controlledSearch, isSearchControlled]);
|
|
225211
225294
|
const handlePageChange = (newPage) => {
|
|
225212
|
-
|
|
225295
|
+
if (isPageControlled) {
|
|
225296
|
+
onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(newPage);
|
|
225297
|
+
}
|
|
225298
|
+
else {
|
|
225299
|
+
setLocalPage(newPage);
|
|
225300
|
+
}
|
|
225213
225301
|
// Scroll to top of the list when changing pages
|
|
225214
225302
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
225215
225303
|
};
|
|
@@ -227064,6 +227152,9 @@ var addMentorToProjectModal = /*#__PURE__*/Object.freeze({
|
|
|
227064
227152
|
AddMentorToProjectModal: AddMentorToProjectModal
|
|
227065
227153
|
});
|
|
227066
227154
|
|
|
227155
|
+
const CustomSwitch = React.forwardRef(({ className, checked, onCheckedChange, ...props }, ref) => (jsx(Root$a, { checked: checked, onCheckedChange: onCheckedChange, className: cn('peer focus-visible:ring-ring focus-visible:ring-offset-background inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500 data-[state=unchecked]:bg-gray-200', className), ...props, ref: ref, children: jsx(Thumb, { className: cn('pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0') }) })));
|
|
227156
|
+
CustomSwitch.displayName = Root$a.displayName;
|
|
227157
|
+
|
|
227067
227158
|
const DeleteDatasetModal$1 = dynamic(() => Promise.resolve().then(function () { return deleteDatasetModal; }).then((mod) => ({
|
|
227068
227159
|
default: mod.DeleteDatasetModal,
|
|
227069
227160
|
})));
|
|
@@ -227165,7 +227256,7 @@ function TrainingStatusSwitch({ is_trained, url, training_status, disabled, hand
|
|
|
227165
227256
|
if (training_status === 'pending') {
|
|
227166
227257
|
return (jsx(Badge, { variant: "outline", className: "bg-blue-50 text-blue-700", children: t('datasetsTabDatasetItem.inProgress') }));
|
|
227167
227258
|
}
|
|
227168
|
-
return (jsx(
|
|
227259
|
+
return (jsx(CustomSwitch, { checked: is_trained, onCheckedChange: () => {
|
|
227169
227260
|
// If trying to train an untrained dataset, show the modal
|
|
227170
227261
|
if (!is_trained) {
|
|
227171
227262
|
onTrainRequest === null || onTrainRequest === void 0 ? void 0 : onTrainRequest();
|
|
@@ -227223,6 +227314,7 @@ const AGENT_DATASETS_TAB_LABELS = {
|
|
|
227223
227314
|
title: 'Datasets',
|
|
227224
227315
|
description: 'Manage training datasets and knowledge sources.',
|
|
227225
227316
|
},
|
|
227317
|
+
infoBox: "Teach your agent with your own material. Upload documents, files, or links and it'll answer from them — grounded in your content instead of guessing.",
|
|
227226
227318
|
search: {
|
|
227227
227319
|
placeholder: 'Search datasets...',
|
|
227228
227320
|
},
|
|
@@ -227282,6 +227374,7 @@ function buildDatasetsTabLabels(t) {
|
|
|
227282
227374
|
title: t('datasetsTabLabels.header.title'),
|
|
227283
227375
|
description: t('datasetsTabLabels.header.description'),
|
|
227284
227376
|
},
|
|
227377
|
+
infoBox: t('datasetsTabLabels.infoBox'),
|
|
227285
227378
|
search: {
|
|
227286
227379
|
placeholder: t('datasetsTabLabels.search.placeholder'),
|
|
227287
227380
|
},
|