{/each}
diff --git a/src/lib/components/workspace/Knowledge.svelte b/src/lib/components/workspace/Knowledge.svelte
index 77d1124f8..2e5d389c4 100644
--- a/src/lib/components/workspace/Knowledge.svelte
+++ b/src/lib/components/workspace/Knowledge.svelte
@@ -119,7 +119,11 @@
class=" flex space-x-4 cursor-pointer text-left w-full px-4 py-3 border border-gray-50 dark:border-gray-850 hover:bg-gray-50 dark:hover:bg-gray-850 rounded-xl"
on:click={() => {
if (item?.meta?.document) {
- toast.error($i18n.t('Only collections can be edited, create a new knowledge instead.'));
+ toast.error(
+ $i18n.t(
+ 'Only collections can be edited, create a new knowledge base to edit/add documents.'
+ )
+ );
} else {
goto(`/workspace/knowledge/${item.id}`);
}
diff --git a/src/lib/components/workspace/Models/Knowledge.svelte b/src/lib/components/workspace/Models/Knowledge.svelte
index 1a945a276..3ea8215ea 100644
--- a/src/lib/components/workspace/Models/Knowledge.svelte
+++ b/src/lib/components/workspace/Models/Knowledge.svelte
@@ -1,9 +1,9 @@
@@ -13,91 +13,44 @@
- {$i18n.t('To add documents here, upload them to the "Documents" workspace first.')}
+ {$i18n.t('To attach knowledge base here, add them to the "Knowledge" workspace first.')}