diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-06 13:24:28 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-06 13:24:28 +0200 |
commit | 95f47c4900a96d91daaef93bf87094ed3d4da43c (patch) | |
tree | 7a19c8e6b4517a58b681e764496a6895863ce664 /rag/db | |
parent | 709e9fe8840e9e4111438c57eafab55327cdd490 (diff) |
Update keys
Diffstat (limited to 'rag/db')
-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 b657e55..528a399 100644 --- a/rag/db/document.py +++ b/rag/db/document.py @@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS document ( class DocumentDB: def __init__(self) -> None: self.conn = psycopg.connect( - f"dbname={os.environ['RAG_DB_NAME']} user={os.environ['RAG_DB_USER']}" + f"dbname={os.environ['DOCUMENT_DB_NAME']} user={os.environ['DOCUMENT_DB_USER']}" ) self.__configure() |