p = Parea(api_key="PAREA_API_KEY") # replace with your API keydata = [ {"problem": "1+2", "target": 3, "tags": ["easy"]}, {"problem": "Solve the differential equation dy/dx = 3y.", "target": "y = c * e^(3x)", "tags": ["hard"]}]# this will create a new dataset on Parea named "Math problems".# The dataset will have one column named "problem", and two columns using the reserved names "target" and "tags".# when using this dataset the expected prompt template should have a placeholder for the varible problem.p.create_test_collection(data, name="Math problems")
p = Parea(api_key="PAREA_API_KEY") # replace with your API keydata = [ {"problem": "1+2", "target": 3, "tags": ["easy"]}, {"problem": "Solve the differential equation dy/dx = 3y.", "target": "y = c * e^(3x)", "tags": ["hard"]}]# this will create a new dataset on Parea named "Math problems".# The dataset will have one column named "problem", and two columns using the reserved names "target" and "tags".# when using this dataset the expected prompt template should have a placeholder for the varible problem.p.create_test_collection(data, name="Math problems")
p = Parea(api_key="PAREA_API_KEY") # replace with your API keydata = [ {"problem": "1+2", "target": 3, "tags": ["easy"]}, {"problem": "Solve the differential equation dy/dx = 3y.", "target": "y = c * e^(3x)", "tags": ["hard"]}]# this will create a new dataset on Parea named "Math problems".# The dataset will have one column named "problem", and two columns using the reserved names "target" and "tags".# when using this dataset the expected prompt template should have a placeholder for the varible problem.p.create_test_collection(data, name="Math problems")