Skip to content

Commit

Permalink
Fix report load
Browse files Browse the repository at this point in the history
  • Loading branch information
henchaves authored Oct 30, 2024
1 parent e2303a2 commit 2d2f426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giskard/rag/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def load(
path = Path(folder_path)
knowledge_base_meta = json.load(open(path / "knowledge_base_meta.json", "r"))
knowledge_base_data = pd.read_json(path / "knowledge_base.jsonl", orient="records", lines=True)
testset = QATestset.load(path / "testset.json")
testset = QATestset.load(path / "testset.jsonl")

answers = json.load(open(path / "agent_answer.json", "r"))
model_outputs = [AgentAnswer(**answer) for answer in answers]
Expand Down

0 comments on commit 2d2f426

Please sign in to comment.