superduper icon indicating copy to clipboard operation
superduper copied to clipboard

Create a meta component which plans and creates other components

Open blythed opened this issue 10 months ago • 0 comments
trafficstars

This is crucial for building workflows which don't "run on rails".

PROMPT = """Here is the syntax of Superduper:

1. There is a base class `Model`.
2. This base class can do ... .
3. There is a wrapper `Listener` ... .

The following is a description of a task; taking the syntax into account, 
please create `Component` instances which produce the required functionality 
in Superduper to implement this logic.
"""

class Planner(Model):
    prompt: str = PROMPT
    datatype: File
    
    def predict(self, description: str) -> File:
        ...

blythed avatar Jan 03 '25 15:01 blythed