diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2025-08-25 00:06:19 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2025-08-25 00:06:19 +0200 |
commit | 28a1f5d4eddab6eb7c9ca77346c6fa9608856dd5 (patch) | |
tree | 563ffd32f1a6f5705c1fbf6230d5d226fd0e0e48 /rag/retriever/document.py | |
parent | 6afba9079eebe867ac4f1b6073b5277513e7491b (diff) |
Diffstat (limited to 'rag/retriever/document.py')
-rw-r--r-- | rag/retriever/document.py | 2 |
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( |