diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-06 01:56:32 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-06 01:56:32 +0200 |
commit | e5d6e7d75eeb1bb6b4b2ab6b817854ed9243858c (patch) | |
tree | 603021c5d5e0a76a7699fb304f8678970af45ea3 | |
parent | 69c65c3fe53486c813540f28f5306554fd6911d2 (diff) |
Update log msg
-rw-r--r-- | rag/db/document.py | 2 |
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() |