summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rag/db/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rag/db/document.py b/rag/db/document.py
index 72e3c66..763eb11 100644
--- a/rag/db/document.py
+++ b/rag/db/document.py
@@ -29,7 +29,7 @@ class DocumentDB:
self.conn.commit()
def __hash(self, chunks: List[Document]) -> str:
- log.debug("Generating sha256 hash of the chunks")
+ log.debug("Hashing document...")
document = str.encode("".join([chunk.page_content for chunk in chunks]))
return hashlib.sha256(document).hexdigest()