This commit is contained in:
Timothy J. Baek committed 2024-10-03 21:05:55 -07:00
1 parent 124a17e826
commit 6747478f67
4 files changed
+23 -8

No files matched your search

+1 -1
View File
@@ -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(