优化: 知识检索同项目加权与拒绝池

This commit is contained in:
lxy
2026-10-05 23:41:27 +08:00
parent 0f3c3ce1aa
commit 9e81182b4f
9 changed files with 387 additions and 22 deletions
+15 -1
View File
@@ -6,20 +6,30 @@ export default {
library: 'Library',
// inbox = pending items (candidate + pending_review); library is published-only (F-260616-02 decision a)
inbox: 'Pending',
// Archive box (2026-10-05 archive tail): low-frequency visible & restorable
archived: 'Archive Box',
// Rejected pool (2026-10-05 split): review rejections, separate from archive
rejected: 'Rejected',
},
searchPlaceholder: 'Search title, tags, content...',
categoryAll: 'All',
emptyInbox: '✅ No pending items',
emptyLibrary: '📭 No matching knowledge',
emptyArchived: '🗄️ Archive box is empty',
emptyRejected: '🚫 No rejected knowledge',
edit: '✏️ Edit',
publish: 'Publish',
reject: 'Reject',
archive: 'Archive',
restore: 'Restore',
resubmit: 'Resubmit',
// ⑤ Operation feedback toast
savedToast: 'Saved',
publishedToast: 'Published to library',
rejectedToast: 'Rejected',
rejectedToast: 'Rejected, moved to rejected pool',
archivedToast: 'Archived',
restoredToast: 'Restored to library',
resubmittedToast: 'Resubmitted, moved to pending',
createdToast: 'Created, moved to pending',
reuseCount: '🔄 Reused {n} times',
confidenceBadge: 'Confidence: {label}',
@@ -66,6 +76,7 @@ export default {
pending_review: 'Reviewing',
published: 'Published',
archived: 'Archived',
rejected: 'Rejected',
},
confidence: {
high: 'High',
@@ -89,6 +100,9 @@ export default {
createFailed: 'Failed to create knowledge',
updateStatusFailed: 'Failed to update status',
archiveFailed: 'Failed to archive',
restoreFailed: 'Failed to restore',
rejectFailed: 'Failed to reject',
resubmitFailed: 'Failed to resubmit',
saveFailed: 'Failed to save',
loadConfigFailed: 'Failed to load config',
saveConfigFailed: 'Failed to save config',