Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

changed with to named for duolicate message

Olfa Maslahe8d830fc66c6
diff --git a/frontend/components/duplicate-handling-dialog.tsx b/frontend/components/duplicate-handling-dialog.tsx
index 1d19cf357..a19faabc4 100644
--- a/frontend/components/duplicate-handling-dialog.tsx
+++ b/frontend/components/duplicate-handling-dialog.tsx
@@ -42,7 +42,7 @@ export const DuplicateHandlingDialog: React.FC<
? "1 duplicate document already exists. Overwriting will replace the existing document version. This can't be undone."
: `${duplicateCount} duplicate documents already exist. Overwriting will replace the existing document versions. This can't be undone.`
: duplicateLabel
- ? `A document with "${duplicateLabel}" already exists. Overwriting will replace the existing document version. This can't be undone.`
+ ? `A document named "${duplicateLabel}" already exists. Overwriting will replace the existing document version. This can't be undone.`
: "Overwriting will replace the existing document with another version. This can't be undone.";
const overwriteLabel =
typeof duplicateCount === "number" ? "Overwrite duplicates" : "Overwrite";