Closed justinvdm closed 6 months ago
At the moment, we use some guesses to determine whether we need to wait for data generation jobs to start, and then poll until they have. This guesswork isn't robust though, and there are edge cases where it won't be the case. In these cases, the users will either not get the AI results they need, or wait for them indefinitely. Fixing this will also enable us to show progress for both shape prediction and data generation together (e.g. as a single percent), which means the user isn't sometimes seeing progress and sometimes not.
UX changes
Code changes
startPredictionJobs
route for starting up all jobs (both shapes and data generation), removes code that was usingstartDataGenerationJobs
insteadstartPredictionJobs
route, so we can use this endpoint for the use case of prompt details provided via seed configCorresponding snaplet PR: https://github.com/snaplet/snaplet/pull/2638
Demo: https://www.loom.com/share/2665a08668a74eabb3b1680a3b9830fd?from_recorder=1&focus_title=1