xoo-creative / flash

⚡️ flash: Learn new technologies more quickly and concretely. Made by engineers, for engineers, utilizing education techniques.
0 stars 0 forks source link

Change `generate` to use `Taipy.Core` #54

Closed tommysteryy closed 9 months ago

tommysteryy commented 9 months ago

Description

Sparked by the fact that Gui.run() in taipy cannot seem to use async callback functions (like the one we would need for the button in #36, we need to change things up.

Instead, we may need to configure our pipeline using Data input/output nodes and tasks.

We would specify one DataNodeConfig: technology, and multiple TaskConfigs that are each OpenAI API call.

Then, we would be able to submit all of them in parallel either just by how the pipeline executes, or through this API here.

Acceptance Criteria

The same current performance, but using taipy.core.

Tasks

NA

tommysteryy commented 9 months ago

Put this on pause and can continue if #57 doesn't work out.

tommysteryy commented 9 months ago

Since #57 was successfully implemented, this will not be necessary anymore. Closing.