summaryrefslogtreecommitdiff
path: root/rag/db
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-05 00:42:36 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-05 00:42:36 +0200
commit064cd26f4ffdb28353315a6ecc28bf47cf575071 (patch)
tree55f52427f8b753e113f13402a26781bb00d366e7 /rag/db
parent0a6b7793e982d4c59f3c6ffb947dfe28ca709cdc (diff)
Format
Diffstat (limited to 'rag/db')
-rw-r--r--rag/db/documents.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rag/db/documents.py b/rag/db/documents.py
index bdbf5a4..3c5489d 100644
--- a/rag/db/documents.py
+++ b/rag/db/documents.py
@@ -1,6 +1,7 @@
+import hashlib
import os
from typing import List
-import hashlib
+
import psycopg
from langchain_core.documents.base import Document