feat: knowledge used by app can still be removed (#5811)

This commit is contained in:
Joel
2024-07-01 16:14:49 +08:00
committed by GitHub
parent 0f8625cac2
commit 78d41a27cc
4 changed files with 26 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ const translation = {
deleteDatasetConfirmTitle: 'Delete this Knowledge?',
deleteDatasetConfirmContent:
'Deleting the Knowledge is irreversible. Users will no longer be able to access your Knowledge, and all prompt configurations and logs will be permanently deleted.',
datasetUsedByApp: 'The knowledge is being used by some apps. Apps will no longer be able to use this Knowledge, and all prompt configurations and logs will be permanently deleted.',
datasetDeleted: 'Knowledge deleted',
datasetDeleteFailed: 'Failed to delete Knowledge',
didYouKnow: 'Did you know?',