summaryrefslogtreecommitdiff
path: root/rag/retriever/document.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2025-08-25 00:06:19 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2025-08-25 00:06:19 +0200
commit28a1f5d4eddab6eb7c9ca77346c6fa9608856dd5 (patch)
tree563ffd32f1a6f5705c1fbf6230d5d226fd0e0e48 /rag/retriever/document.py
parent6afba9079eebe867ac4f1b6073b5277513e7491b (diff)
Broken stateHEADmaster
Diffstat (limited to 'rag/retriever/document.py')
-rw-r--r--rag/retriever/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rag/retriever/document.py b/rag/retriever/document.py
index 132ec4b..df7a057 100644
--- a/rag/retriever/document.py
+++ b/rag/retriever/document.py
@@ -44,7 +44,7 @@ class DocumentDB:
)
self.conn.commit()
- def add(self, blob: Blob) -> bool:
+ def create(self, blob: Blob) -> bool:
with self.conn.cursor() as cur:
hash = self.__hash(blob)
cur.execute(