@8wave/ai-elements 0.126.0-beta.4 → 0.126.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{Agent-DMvYDpLa.js → Agent-CekUHTMX.js} +375 -359
- package/dist/_chunks/Agent-CekUHTMX.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-DXcXrGlu.js → PkFilePreview-lW67C8H1.js} +3 -3
- package/dist/_chunks/{PkFilePreview-DXcXrGlu.js.map → PkFilePreview-lW67C8H1.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-KXGgpxmi.js → PkFilePreviewDialog-D3CfqzoG.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-KXGgpxmi.js.map → PkFilePreviewDialog-D3CfqzoG.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-DpN9fQVH.js → PkImageEditorDialog-DeDcbpTx.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-DpN9fQVH.js.map → PkImageEditorDialog-DeDcbpTx.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-mc8_fmAf.js → PkSelectionActions-DjQxIfV3.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-mc8_fmAf.js.map → PkSelectionActions-DjQxIfV3.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-C-UwSQ9_.js → PkStreamingMarkdown-CA6Yy0Ul.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-C-UwSQ9_.js.map → PkStreamingMarkdown-CA6Yy0Ul.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-B_apV6dN.js → PkToolChatFile-DmNIFwm4.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-B_apV6dN.js.map → PkToolChatFile-DmNIFwm4.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-5ttHwPcp.js → PkToolRequestGeolocation-D196AF0R.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-5ttHwPcp.js.map → PkToolRequestGeolocation-D196AF0R.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DAGUKLTk.js → PkToolRequestOAuthConnection-JhdCcPGn.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-DAGUKLTk.js.map → PkToolRequestOAuthConnection-JhdCcPGn.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-Br1dw9_a.js → PkToolShowArtifact-DkJaxkWI.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-Br1dw9_a.js.map → PkToolShowArtifact-DkJaxkWI.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-D3G_9NhR.js → PkToolShowContactForm-dLdK3POY.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-D3G_9NhR.js.map → PkToolShowContactForm-dLdK3POY.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-T9zmaVnV.js → PkToolShowForm-Ce0IzrxF.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-T9zmaVnV.js.map → PkToolShowForm-Ce0IzrxF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-Cma0W3Lc.js → PkToolShowImageGallery-g_2RBM8g.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-Cma0W3Lc.js.map → PkToolShowImageGallery-g_2RBM8g.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D9sJv2kh.js → PkToolShowProductList-B-fw08V_.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-D9sJv2kh.js.map → PkToolShowProductList-B-fw08V_.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-BtGR_hGC.js → PkToolShowSources-IgpsG650.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-BtGR_hGC.js.map → PkToolShowSources-IgpsG650.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-gpuWzpoh.js → PkToolShowSuggestedReply-DKKMLvpr.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-gpuWzpoh.js.map → PkToolShowSuggestedReply-DKKMLvpr.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CF5fbuem.js → PkToolShowVideo-Dadpkgeb.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CF5fbuem.js.map → PkToolShowVideo-Dadpkgeb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-C7NRjgaF.js → PkToolShowWebPages-B7dYxtRc.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-C7NRjgaF.js.map → PkToolShowWebPages-B7dYxtRc.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-Dv_WHhDs.js → chatImagePolicy-xnyXgC-e.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-Dv_WHhDs.js.map → chatImagePolicy-xnyXgC-e.js.map} +1 -1
- package/dist/_chunks/{markdown-BYpvcbWH.js → markdown-DrtQCs3N.js} +94 -109
- package/dist/_chunks/markdown-DrtQCs3N.js.map +1 -0
- package/dist/_chunks/{utils-C2aFWWye.js → utils-DFHOr4A0.js} +2 -2
- package/dist/_chunks/{utils-C2aFWWye.js.map → utils-DFHOr4A0.js.map} +1 -1
- package/dist/ai-elements.es.js +420 -403
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-B9iJ1WvR.js → Agent-D5aZyBZ0.js} +360 -346
- package/dist-vue/_chunks/Agent-D5aZyBZ0.js.map +1 -0
- package/dist-vue/_chunks/{Document-DnsOE7s6.js → Document-Ds51J0AA.js} +123 -136
- package/dist-vue/_chunks/Document-Ds51J0AA.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-CuZpfjTV.js → PkChatbot-DcH0Q-v8.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CuZpfjTV.js.map → PkChatbot-DcH0Q-v8.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-DfyYZXHQ.js → PkChatbotEmptyState-CbpQFb1b.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-DfyYZXHQ.js.map → PkChatbotEmptyState-CbpQFb1b.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-CBalSveL.js → PkChatbotInput-Bn-B0DNK.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotInput-CBalSveL.js.map → PkChatbotInput-Bn-B0DNK.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-C2AUTqk4.js → PkChatbotMessages-BVZ43ZOC.js} +18 -18
- package/dist-vue/_chunks/{PkChatbotMessages-C2AUTqk4.js.map → PkChatbotMessages-BVZ43ZOC.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bb3Y6kuL.js → PkChatbotStepPayload-C0J8ajea.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bb3Y6kuL.js.map → PkChatbotStepPayload-C0J8ajea.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CwOxzYOe.js → PkChatbotStepToolDetail-GcOljcQh.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CwOxzYOe.js.map → PkChatbotStepToolDetail-GcOljcQh.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-FduD9X9i.js → PkChatbotSteps-BhoWAoId.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-FduD9X9i.js.map → PkChatbotSteps-BhoWAoId.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CqsZUVwH.js → PkChatbotViewChat-BxjBteX-.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-CqsZUVwH.js.map → PkChatbotViewChat-BxjBteX-.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-BmogvLfQ.js → PkChatbotViewConversations-DBIFAunZ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-BmogvLfQ.js.map → PkChatbotViewConversations-DBIFAunZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-D8zQlZnl.js → PkChatbotViewFiles-ElbOlcb4.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-D8zQlZnl.js.map → PkChatbotViewFiles-ElbOlcb4.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-jIyADxiV.js → PkChatbotViewProfile-zjpDEqiI.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-jIyADxiV.js.map → PkChatbotViewProfile-zjpDEqiI.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-kyTrO7DS.js → PkFilePreview-BnvJc9wF.js} +3 -3
- package/dist-vue/_chunks/{PkFilePreview-kyTrO7DS.js.map → PkFilePreview-BnvJc9wF.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-CuMIXEQK.js → PkFilePreviewDialog-DJPd6F6h.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-CuMIXEQK.js.map → PkFilePreviewDialog-DJPd6F6h.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-CjMwpb-a.js → PkImageEditorDialog-SGh0yd88.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-CjMwpb-a.js.map → PkImageEditorDialog-SGh0yd88.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-7Kl_VBH-.js → PkStreamingMarkdown-Cdk4iAL3.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-7Kl_VBH-.js.map → PkStreamingMarkdown-Cdk4iAL3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-DcNRCVXy.js → PkToolChatFile-DypSO5o3.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-DcNRCVXy.js.map → PkToolChatFile-DypSO5o3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Bhh7UomV.js → PkToolRequestGeolocation-C5zOostC.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Bhh7UomV.js.map → PkToolRequestGeolocation-C5zOostC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-8GJlt5G1.js → PkToolRequestOAuthConnection-DBXEQcsm.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-8GJlt5G1.js.map → PkToolRequestOAuthConnection-DBXEQcsm.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-C7CxCqVO.js → PkToolShowArtifact-CQBi5Mg1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-C7CxCqVO.js.map → PkToolShowArtifact-CQBi5Mg1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowChart-DULlrMjq.js → PkToolShowChart-RwwJPpQP.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowChart-DULlrMjq.js.map → PkToolShowChart-RwwJPpQP.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-472d-SAE.js → PkToolShowContactForm-DIlOfZMP.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-472d-SAE.js.map → PkToolShowContactForm-DIlOfZMP.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-RrqVpOaX.js → PkToolShowDiagram-CqYnz_Yb.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-RrqVpOaX.js.map → PkToolShowDiagram-CqYnz_Yb.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CgyszDEI.js → PkToolShowForm-CCPTQ61I.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CgyszDEI.js.map → PkToolShowForm-CCPTQ61I.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-LBx9JE6p.js → PkToolShowImageGallery-DJRImJce.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-LBx9JE6p.js.map → PkToolShowImageGallery-DJRImJce.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-THiH4EzZ.js → PkToolShowProductList-B0_9HndQ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-THiH4EzZ.js.map → PkToolShowProductList-B0_9HndQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CEqGXOOt.js → PkToolShowSources-BVWaatPE.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-CEqGXOOt.js.map → PkToolShowSources-BVWaatPE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DxlGhMvE.js → PkToolShowSuggestedReply-D2F-ub_s.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DxlGhMvE.js.map → PkToolShowSuggestedReply-D2F-ub_s.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-8Gi3vOer.js → PkToolShowVideo-B4UQ0Tor.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-8Gi3vOer.js.map → PkToolShowVideo-B4UQ0Tor.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-xjUPdfOU.js → PkToolShowWebPages-CPIcsqFG.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-xjUPdfOU.js.map → PkToolShowWebPages-CPIcsqFG.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DmPcjwB3.js → createChatbotApiClient-DiazhjCh.js} +18 -18
- package/dist-vue/_chunks/{createChatbotApiClient-DmPcjwB3.js.map → createChatbotApiClient-DiazhjCh.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-Ci7k5fU2.js → useChatbotStore-Wu5B9krh.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-Ci7k5fU2.js.map → useChatbotStore-Wu5B9krh.js.map} +1 -1
- package/dist-vue/_chunks/{utils-VVbH-Liq.js → utils-MJ9tUQYf.js} +2 -2
- package/dist-vue/_chunks/{utils-VVbH-Liq.js.map → utils-MJ9tUQYf.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +18 -1
- package/dist-vue/apps/web-component/src/utils/cookie.d.ts +3 -3
- package/dist-vue/composables.js +118 -101
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +3256 -3221
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +8 -0
- package/dist-vue/packages/auth/src/anonymous-reauth-plugin.d.ts +8 -6
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -3
- package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +7 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +12 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +3 -0
- package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +7 -0
- package/package.json +1 -1
- package/dist/_chunks/Agent-DMvYDpLa.js.map +0 -1
- package/dist/_chunks/markdown-BYpvcbWH.js.map +0 -1
- package/dist-vue/_chunks/Agent-B9iJ1WvR.js.map +0 -1
- package/dist-vue/_chunks/Document-DnsOE7s6.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -111,6 +111,7 @@ var e = {
|
|
|
111
111
|
error: "Error",
|
|
112
112
|
invalidJson: "The input is not valid JSON",
|
|
113
113
|
loading: "Loading…",
|
|
114
|
+
euInferenceCost: "In the EU, answers cost up to 10% more. Document indexing, audio transcription, voice, memories and web search stay outside the region.",
|
|
114
115
|
defaultAgentWelcome: "Hello! How can I help you today?",
|
|
115
116
|
noResults: "No results",
|
|
116
117
|
noConversations: "No conversations found",
|
|
@@ -243,6 +244,7 @@ var e = {
|
|
|
243
244
|
privacy: "Privacy",
|
|
244
245
|
zeroDataRetention: "Zero data retention (ZDR)",
|
|
245
246
|
disallowPromptTraining: "Prompt training disallowed",
|
|
247
|
+
euInference: "EU inference",
|
|
246
248
|
voice: "Voice",
|
|
247
249
|
voiceEnabled: "Voice conversation",
|
|
248
250
|
voiceId: "Voice",
|
|
@@ -475,6 +477,7 @@ var e = {
|
|
|
475
477
|
selectionActionsMax: "At most {count} actions in the menu, built-in and the agent's together.",
|
|
476
478
|
modelRetired: "No longer available on the platform: move the agents using it to another model.",
|
|
477
479
|
modelNotCompatible: "Not compatible with the privacy flags of this agent.",
|
|
480
|
+
modelOutsideInferenceRegion: "Not served in the EU: switch EU inference off or pick another model.",
|
|
478
481
|
modelGuaranteedOnSome: "The guarantees you switched on hold only on some providers of this model: the gateway routes accordingly.",
|
|
479
482
|
modelContextWindow: "Context window: {count}k tokens.",
|
|
480
483
|
voiceId: "Cloned voices are not allowed here.",
|
|
@@ -502,6 +505,7 @@ var e = {
|
|
|
502
505
|
mmrCandidatesLimitTooltip: "The number of top candidate chunks retrieved from the database before applying the MMR diversity filter. For example, if set to 100, the system selects the 100 highest-scoring chunks first, then filters them to find the most diverse subset.",
|
|
503
506
|
zeroDataRetention: "Route requests only to ZDR-compliant providers. Restricts the pool of available providers.",
|
|
504
507
|
disallowPromptTraining: "Route requests only to providers that do not use your data to train AI models.",
|
|
508
|
+
euInference: "The provider runs the agent's answers in European Union data centers. Only the models available there are offered.",
|
|
505
509
|
voiceEnabled: "Let people talk to this agent. The answer is still this agent, with its knowledge and tools.",
|
|
506
510
|
voiceApprovalRefused: "During a call these actions do not run: approval is given on screen and on the phone there is nobody to ask, so the agent refuses them and says so. Affected: {tools}.",
|
|
507
511
|
voiceLanguage: "Used to recognise speech and to speak.",
|
|
@@ -1132,6 +1136,7 @@ var e = {
|
|
|
1132
1136
|
error: "Errore",
|
|
1133
1137
|
invalidJson: "L'input non è un JSON valido",
|
|
1134
1138
|
loading: "Caricamento…",
|
|
1139
|
+
euInferenceCost: "In UE le risposte costano fino al 10% in più. Restano fuori dal vincolo l'indicizzazione dei documenti, la trascrizione degli audio, la voce, le memorie e la ricerca web.",
|
|
1135
1140
|
defaultAgentWelcome: "Ciao! Come posso aiutarti oggi?",
|
|
1136
1141
|
noResults: "Nessun risultato trovato",
|
|
1137
1142
|
noConversations: "Nessuna conversazione trovata",
|
|
@@ -1264,6 +1269,7 @@ var e = {
|
|
|
1264
1269
|
privacy: "Privacy",
|
|
1265
1270
|
zeroDataRetention: "Zero data retention (ZDR)",
|
|
1266
1271
|
disallowPromptTraining: "Prompt training disabilitato",
|
|
1272
|
+
euInference: "Inferenza in UE",
|
|
1267
1273
|
voice: "Voce",
|
|
1268
1274
|
voiceEnabled: "Conversazione vocale",
|
|
1269
1275
|
voiceId: "Voce",
|
|
@@ -1496,6 +1502,7 @@ var e = {
|
|
|
1496
1502
|
selectionActionsMax: "Al massimo {count} azioni nel menu, predefinite e dell'agente insieme.",
|
|
1497
1503
|
modelRetired: "Non più disponibile sulla piattaforma: sposta su un altro modello gli agenti che lo usano.",
|
|
1498
1504
|
modelNotCompatible: "Non compatibile con i flag di riservatezza di questo agente.",
|
|
1505
|
+
modelOutsideInferenceRegion: "Non disponibile in UE: spegni l'inferenza in UE o scegli un altro modello.",
|
|
1499
1506
|
modelGuaranteedOnSome: "Le garanzie che hai acceso valgono solo su alcuni provider di questo modello: il gateway instrada di conseguenza.",
|
|
1500
1507
|
modelContextWindow: "Finestra di contesto: {count}k token.",
|
|
1501
1508
|
voiceId: "Le voci clonate qui non sono ammesse.",
|
|
@@ -1523,6 +1530,7 @@ var e = {
|
|
|
1523
1530
|
mmrCandidatesLimitTooltip: "Quanti risultati pre-selezionare dal database prima di filtrare e diversificare. Esempio: se impostato a 100, il sistema cercherà i 100 chunk più pertinenti e poi estrarrà tra questi quelli più diversi tra loro fino a raggiungere il limite finale per la chat.",
|
|
1524
1531
|
zeroDataRetention: "Instrada le richieste solo verso provider con accordi ZDR. Restringe il pool di provider disponibili.",
|
|
1525
1532
|
disallowPromptTraining: "Instrada le richieste solo verso provider che non usano i dati per addestrare i modelli AI.",
|
|
1533
|
+
euInference: "Il provider elabora le risposte dell'agente in data center dell'Unione europea. Sono proposti solo i modelli disponibili lì.",
|
|
1526
1534
|
voiceEnabled: "Permette di parlare con questo agente. La risposta resta sua, con la sua knowledge base e i suoi strumenti.",
|
|
1527
1535
|
voiceApprovalRefused: "Durante una chiamata queste azioni non partono: l'approvazione si dà a schermo e al telefono non c'è nessuno a cui chiederla, quindi l'agente le rifiuta e lo dice. Riguarda: {tools}.",
|
|
1528
1536
|
voiceLanguage: "Usata per riconoscere il parlato e per parlare.",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { BetterAuthPlugin } from 'better-auth';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Lets an anonymous user come back after its session expired, so the widget
|
|
4
|
+
* does not start a new anonymous user and lose the chats of the previous one.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* The widget proves it held a session of that user with a proof the backend
|
|
7
|
+
* signed and handed to that session (`/anonymous-reauth/proof`). The id alone
|
|
8
|
+
* is not enough: it leaves the visitor's browser (the host page receives it
|
|
9
|
+
* on sign-in), and until 2026-11-05 whoever knew it took the session, the
|
|
10
|
+
* chats, and could carry them into an account of their own. Only anonymous
|
|
11
|
+
* users come back this way.
|
|
10
12
|
*/
|
|
11
13
|
export declare function anonymousReauth(): BetterAuthPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentFormSettings, AgentReasoning, AgentWebSearch, HostToolsSettings, LocalizedString, PageAccessSettings, SelectionActionsSettings, Media, ModelCatalogEntry, OrganizationFeature, VoiceOption, AgentBuiltInTool, AgentChannel, AgentToolWorkingSetMode, AgentLoaderStrategy, AgentType, PageAccessLevel, WebSearchProvider, StoragePolicy } from '../../../models/src';
|
|
1
|
+
import { AgentFormSettings, AgentReasoning, AgentWebSearch, GatewayInferenceRegion, HostToolsSettings, LocalizedString, PageAccessSettings, SelectionActionsSettings, Media, ModelCatalogEntry, OrganizationFeature, VoiceOption, AgentBuiltInTool, AgentChannel, AgentToolWorkingSetMode, AgentLoaderStrategy, AgentType, PageAccessLevel, WebSearchProvider, StoragePolicy } from '../../../models/src';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
organizationSlug?: string;
|
|
@@ -129,6 +129,7 @@ type __VLS_ModelProps = {
|
|
|
129
129
|
'zeroDataRetention'?: boolean;
|
|
130
130
|
'disallowPromptTraining'?: boolean;
|
|
131
131
|
'providerTimeoutMs'?: number | undefined;
|
|
132
|
+
'inferenceRegion'?: GatewayInferenceRegion | undefined;
|
|
132
133
|
'smoothStream'?: boolean | undefined;
|
|
133
134
|
'showExtendedSteps'?: boolean | undefined;
|
|
134
135
|
'showReasoning'?: boolean | undefined;
|
|
@@ -163,9 +164,9 @@ type __VLS_ModelProps = {
|
|
|
163
164
|
} | undefined;
|
|
164
165
|
};
|
|
165
166
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
166
|
-
declare var
|
|
167
|
+
declare var __VLS_941: {};
|
|
167
168
|
type __VLS_Slots = {} & {
|
|
168
|
-
default?: (props: typeof
|
|
169
|
+
default?: (props: typeof __VLS_941) => any;
|
|
169
170
|
};
|
|
170
171
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
171
172
|
"update:reasoning": (value: {
|
|
@@ -400,6 +401,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
400
401
|
"update:zeroDataRetention": (value: boolean) => any;
|
|
401
402
|
"update:disallowPromptTraining": (value: boolean) => any;
|
|
402
403
|
"update:providerTimeoutMs": (value: number | undefined) => any;
|
|
404
|
+
"update:inferenceRegion": (value: "eu" | undefined) => any;
|
|
403
405
|
"update:smoothStream": (value: boolean | undefined) => any;
|
|
404
406
|
"update:showExtendedSteps": (value: boolean | undefined) => any;
|
|
405
407
|
"update:showReasoning": (value: boolean | undefined) => any;
|
|
@@ -704,6 +706,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
704
706
|
"onUpdate:zeroDataRetention"?: ((value: boolean) => any) | undefined;
|
|
705
707
|
"onUpdate:disallowPromptTraining"?: ((value: boolean) => any) | undefined;
|
|
706
708
|
"onUpdate:providerTimeoutMs"?: ((value: number | undefined) => any) | undefined;
|
|
709
|
+
"onUpdate:inferenceRegion"?: ((value: "eu" | undefined) => any) | undefined;
|
|
707
710
|
"onUpdate:smoothStream"?: ((value: boolean | undefined) => any) | undefined;
|
|
708
711
|
"onUpdate:showExtendedSteps"?: ((value: boolean | undefined) => any) | undefined;
|
|
709
712
|
"onUpdate:showReasoning"?: ((value: boolean | undefined) => any) | undefined;
|
|
@@ -26,6 +26,13 @@ type __VLS_Props = {
|
|
|
26
26
|
*/
|
|
27
27
|
zeroDataRetention?: boolean;
|
|
28
28
|
disallowPromptTraining?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The region the agent pins its inference to: a gateway model not
|
|
31
|
+
* served there is hidden, as every request to it would fail. An
|
|
32
|
+
* endpoint model stays, as with the flags: the gateway does not route
|
|
33
|
+
* it, and the save drops the region of an agent on one.
|
|
34
|
+
*/
|
|
35
|
+
inferenceRegion?: string;
|
|
29
36
|
/**
|
|
30
37
|
* The model already saved on the agent. It is never hidden, however
|
|
31
38
|
* incompatible: a picker that drops the current choice from under
|
|
@@ -585,10 +585,12 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
585
585
|
zeroDataRetention: boolean;
|
|
586
586
|
disallowPromptTraining: boolean;
|
|
587
587
|
providerTimeoutMs?: number | undefined;
|
|
588
|
+
inferenceRegion?: "eu" | undefined;
|
|
588
589
|
}> | undefined, Partial<{
|
|
589
590
|
zeroDataRetention: boolean;
|
|
590
591
|
disallowPromptTraining: boolean;
|
|
591
592
|
providerTimeoutMs?: number | undefined;
|
|
593
|
+
inferenceRegion?: "eu" | undefined;
|
|
592
594
|
}> | undefined>;
|
|
593
595
|
externalContext: globalThis.Ref<Record<string, unknown> | undefined, Record<string, unknown> | undefined>;
|
|
594
596
|
agentHostTools: globalThis.Ref<{
|
|
@@ -2739,10 +2741,12 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
2739
2741
|
zeroDataRetention: boolean;
|
|
2740
2742
|
disallowPromptTraining: boolean;
|
|
2741
2743
|
providerTimeoutMs?: number | undefined;
|
|
2744
|
+
inferenceRegion?: "eu" | undefined;
|
|
2742
2745
|
}> | undefined, Partial<{
|
|
2743
2746
|
zeroDataRetention: boolean;
|
|
2744
2747
|
disallowPromptTraining: boolean;
|
|
2745
2748
|
providerTimeoutMs?: number | undefined;
|
|
2749
|
+
inferenceRegion?: "eu" | undefined;
|
|
2746
2750
|
}> | undefined>;
|
|
2747
2751
|
externalContext: globalThis.Ref<Record<string, unknown> | undefined, Record<string, unknown> | undefined>;
|
|
2748
2752
|
agentHostTools: globalThis.Ref<{
|
|
@@ -4893,10 +4897,12 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
4893
4897
|
zeroDataRetention: boolean;
|
|
4894
4898
|
disallowPromptTraining: boolean;
|
|
4895
4899
|
providerTimeoutMs?: number | undefined;
|
|
4900
|
+
inferenceRegion?: "eu" | undefined;
|
|
4896
4901
|
}> | undefined, Partial<{
|
|
4897
4902
|
zeroDataRetention: boolean;
|
|
4898
4903
|
disallowPromptTraining: boolean;
|
|
4899
4904
|
providerTimeoutMs?: number | undefined;
|
|
4905
|
+
inferenceRegion?: "eu" | undefined;
|
|
4900
4906
|
}> | undefined>;
|
|
4901
4907
|
externalContext: globalThis.Ref<Record<string, unknown> | undefined, Record<string, unknown> | undefined>;
|
|
4902
4908
|
agentHostTools: globalThis.Ref<{
|
|
@@ -1316,6 +1316,9 @@ export declare const AgentGatewayOptionsSchema: z.ZodObject<{
|
|
|
1316
1316
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1317
1317
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
1318
1318
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1319
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
1320
|
+
eu: "eu";
|
|
1321
|
+
}>>;
|
|
1319
1322
|
}, z.core.$strip>;
|
|
1320
1323
|
export type AgentGatewayOptions = z.infer<typeof AgentGatewayOptionsSchema>;
|
|
1321
1324
|
/**
|
|
@@ -1861,6 +1864,9 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1861
1864
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1862
1865
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
1863
1866
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1867
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
1868
|
+
eu: "eu";
|
|
1869
|
+
}>>;
|
|
1864
1870
|
}, z.core.$strip>>>;
|
|
1865
1871
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
1866
1872
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2726,6 +2732,9 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
2726
2732
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
2727
2733
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
2728
2734
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2735
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
2736
|
+
eu: "eu";
|
|
2737
|
+
}>>;
|
|
2729
2738
|
}, z.core.$strip>>>;
|
|
2730
2739
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
2731
2740
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3592,6 +3601,9 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
3592
3601
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
3593
3602
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
3594
3603
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3604
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
3605
|
+
eu: "eu";
|
|
3606
|
+
}>>;
|
|
3595
3607
|
}, z.core.$strip>>>;
|
|
3596
3608
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
3597
3609
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -223,6 +223,9 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
223
223
|
zeroDataRetention: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
224
224
|
disallowPromptTraining: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
225
225
|
providerTimeoutMs: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
226
|
+
inferenceRegion: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
eu: "eu";
|
|
228
|
+
}>>>;
|
|
226
229
|
}, z.core.$strip>>;
|
|
227
230
|
deviceContext: z.ZodOptional<z.ZodObject<{
|
|
228
231
|
dateTime: z.ZodOptional<z.ZodString>;
|
|
@@ -425,6 +425,7 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
425
425
|
}, z.core.$strip>>;
|
|
426
426
|
zdr: z.ZodEnum<typeof ModelGuarantee>;
|
|
427
427
|
noTraining: z.ZodEnum<typeof ModelGuarantee>;
|
|
428
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
429
|
retired: z.ZodBoolean;
|
|
429
430
|
disabled: z.ZodBoolean;
|
|
430
431
|
sourceOff: z.ZodBoolean;
|
|
@@ -395,6 +395,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
395
395
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
396
396
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
397
397
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
eu: "eu";
|
|
400
|
+
}>>;
|
|
398
401
|
}, z.core.$strip>>>;
|
|
399
402
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
400
403
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1313,6 +1316,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
1313
1316
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1314
1317
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
1315
1318
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1319
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
1320
|
+
eu: "eu";
|
|
1321
|
+
}>>;
|
|
1316
1322
|
}, z.core.$strip>>>;
|
|
1317
1323
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
1318
1324
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -395,6 +395,9 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
395
395
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
396
396
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
397
397
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
eu: "eu";
|
|
400
|
+
}>>;
|
|
398
401
|
}, z.core.$strip>>>;
|
|
399
402
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
400
403
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1270,6 +1273,9 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
1270
1273
|
zeroDataRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1271
1274
|
disallowPromptTraining: z.ZodDefault<z.ZodBoolean>;
|
|
1272
1275
|
providerTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
+
inferenceRegion: z.ZodOptional<z.ZodEnum<{
|
|
1277
|
+
eu: "eu";
|
|
1278
|
+
}>>;
|
|
1273
1279
|
}, z.core.$strip>>>;
|
|
1274
1280
|
channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>>;
|
|
1275
1281
|
externalContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -36,6 +36,13 @@ export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-
|
|
|
36
36
|
* test checks it against a saved copy of the gateway's endpoints.
|
|
37
37
|
*/
|
|
38
38
|
export declare const GATEWAY_ALLOWED_PROVIDERS: readonly ["openai", "azure", "anthropic", "claudeaws", "google", "vertex", "vertexAnthropic", "bedrock", "mistral", "xai", "meta", "alibaba", "digitalocean", "baseten", "modal", "fireworks", "nebius", "typesafe-ai", "perplexity", "parallel"];
|
|
39
|
+
/**
|
|
40
|
+
* The regions an agent can pin its inference to, as the gateway spells them
|
|
41
|
+
* (`inferenceRegion.geoRegion`). The gateway also offers `us`, `au` and `jp`:
|
|
42
|
+
* only the EU is offered, because it is the one our customers ask for.
|
|
43
|
+
*/
|
|
44
|
+
export declare const GATEWAY_INFERENCE_REGIONS: readonly ["eu"];
|
|
45
|
+
export type GatewayInferenceRegion = (typeof GATEWAY_INFERENCE_REGIONS)[number];
|
|
39
46
|
/**
|
|
40
47
|
* A model id: an entry of {@link GATEWAY_MODELS}, or a `byok/` id served by an
|
|
41
48
|
* organization's own endpoint. A plain string on purpose, because the second
|