Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
HotFix json linker fatal bug (#452)
Browse files Browse the repository at this point in the history
Co-authored-by: jeffrey <[email protected]>
  • Loading branch information
vkehfdl1 and jeffrey authored Jan 4, 2024
1 parent f642b0e commit 59e79f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RAGchain/utils/linker/json_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def __init__(self):
if json_path is None:
raise ValueError("Please set JSON_LINKER_PATH to environment variable")

self.data = {}
self.json_path = json_path
self.create_or_load_json()
self.data = {}

def create_json(self):
with open(self.json_path, "w") as f:
Expand Down

0 comments on commit 59e79f5

Please sign in to comment.