superduper
superduper copied to clipboard
Create a meta component which plans and creates other components
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:
...