saving prompt configs works

This commit is contained in:
Kyle Corbitt
2023-06-23 12:18:09 -07:00
parent a31c112745
commit ca78406ad1
13 changed files with 291 additions and 61 deletions

View File

@@ -12,6 +12,14 @@ const experiment = await prisma.experiment.upsert({
},
});
await prisma.modelOutput.deleteMany({
where: {
promptVariant: {
experimentId,
},
},
});
await prisma.promptVariant.deleteMany({
where: {
experimentId,