refac
This commit is contained in:
1 parent
124a17e826
commit
6747478f67
4 files changed
+23
-8
No files matched your search
@@ -649,7 +649,7 @@ def save_docs_to_vector_db(
|
||||
)
|
||||
if existing_docs:
|
||||
log.info(f"Document with hash {metadata['hash']} already exists")
|
||||
return True
|
||||
raise ValueError(ERROR_MESSAGES.DUPLICATE_CONTENT)
|
||||
|
||||
if split:
|
||||
text_splitter = RecursiveCharacterTextSplitter(
|
||||
|
||||
Reference in new issue
Block a user