Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a meta component which plans and creates other components #2713

Open
blythed opened this issue Jan 3, 2025 · 0 comments
Open

Create a meta component which plans and creates other components #2713

blythed opened this issue Jan 3, 2025 · 0 comments
Labels
Enhancement idea an idea or proposal that should be discussed

Comments

@blythed
Copy link
Collaborator

blythed commented Jan 3, 2025

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 blythed added idea an idea or proposal that should be discussed Enhancement labels Jan 3, 2025
@blythed blythed moved this to To Do in superduper-open-source Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement idea an idea or proposal that should be discussed
Projects
None yet
Development

No branches or pull requests

1 participant