Skip to content

🐝 The First Self-Improving agents with RL / Prompting Optimization

385 B
Raw Blame
from abc import ABC, abstractmethod
from typing import Optional


class VisualLLM(ABC):
    @abstractmethod
    def gen(self,
            task: Optional[str] = None,
            img: Optional[str] = None) -> str:
        pass

    @abstractmethod
    def gen_video(self,
                  task: Optional[str] = None,
                  video: Optional[str] = None) -> str:
        pass