From e5d6e7d75eeb1bb6b4b2ab6b817854ed9243858c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 6 Apr 2024 01:56:32 +0200 Subject: Update log msg --- rag/db/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rag') 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() -- cgit v1.2.3-70-g09d2