Zhejian
bugfix
d46834f
raw
history blame contribute delete
321 Bytes
import json
from schemas import AgentOutputItem
def load_agent_output_dataset(dataset_path:str = "dataset/example_agent_output.json") -> list[AgentOutputItem]:
with open(dataset_path, "r") as f:
agent_output_dataset = json.load(f)
return [AgentOutputItem(**item) for item in agent_output_dataset]