File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def save(self, folder_path: str):
152
152
path = Path (folder_path )
153
153
path .mkdir (exist_ok = True , parents = True )
154
154
self .to_html (path / "report.html" )
155
- self ._testset .save (path / "testset.json " )
155
+ self ._testset .save (path / "testset.jsonl " )
156
156
157
157
report_details = {"recommendation" : self ._recommendation }
158
158
with open (path / "report_details.json" , "w" , encoding = "utf-8" ) as f :
@@ -195,7 +195,7 @@ def load(
195
195
path = Path (folder_path )
196
196
knowledge_base_meta = json .load (open (path / "knowledge_base_meta.json" , "r" ))
197
197
knowledge_base_data = pd .read_json (path / "knowledge_base.jsonl" , orient = "records" , lines = True )
198
- testset = QATestset .load (path / "testset.json " )
198
+ testset = QATestset .load (path / "testset.jsonl " )
199
199
200
200
answers = json .load (open (path / "agent_answer.json" , "r" ))
201
201
model_outputs = [AgentAnswer (** answer ) for answer in answers ]
You can’t perform that action at this time.
0 commit comments