diff --git a/admin/inertia/components/chat/KnowledgeBaseModal.tsx b/admin/inertia/components/chat/KnowledgeBaseModal.tsx index 0667d88..dadfb3f 100644 --- a/admin/inertia/components/chat/KnowledgeBaseModal.tsx +++ b/admin/inertia/components/chat/KnowledgeBaseModal.tsx @@ -420,6 +420,7 @@ export default function KnowledgeBaseModal({ aiAssistantName = "AI Assistant", o onClick={() => { setResetTyped(''); setBulkMode('reset') }} disabled={isUploading || qdrantOffline || bulkBusy} loading={resetMutation.isPending} + title="Drop the entire embeddings collection and re-embed everything from scratch. Permanently removes vectors for files no longer on disk. Destructive: requires typing RESET to confirm." > Reset & Rebuild @@ -430,6 +431,7 @@ export default function KnowledgeBaseModal({ aiAssistantName = "AI Assistant", o onClick={() => setBulkMode('reembed')} disabled={isUploading || qdrantOffline || bulkBusy || storedFiles.length === 0} loading={reembedMutation.isPending} + title="Re-embed every file on disk, replacing existing vectors file-by-file. Vectors for files no longer on disk are preserved. Use this if the chunker or embedding model has changed." > Re-embed All @@ -440,6 +442,7 @@ export default function KnowledgeBaseModal({ aiAssistantName = "AI Assistant", o onClick={handleConfirmSync} disabled={syncMutation.isPending || isUploading || qdrantOffline || bulkBusy} loading={syncMutation.isPending || isUploading} + title="Scan storage for new files and queue any that haven't been embedded yet. Safe to run anytime; won't touch already-embedded content." > Sync Storage @@ -454,7 +457,7 @@ export default function KnowledgeBaseModal({ aiAssistantName = "AI Assistant", o )} - + className="font-semibold" rowLines={true} columns={[ @@ -466,7 +469,7 @@ export default function KnowledgeBaseModal({ aiAssistantName = "AI Assistant", o return (
- {sourceToDisplayName(record.source)} + {record.displayName} {warnings.map((w, i) => (