maple.server.daemon.RunRequest

class maple.server.daemon.RunRequest(*, policy_id: str, env_id: str, task: str, instruction: str | None = None, max_steps: int = 300, seed: int | None = None, model_kwargs: Dict[str, Any] | None = {}, env_kwargs: Dict[str, Any] | None = {}, save_video: bool = False, video_dir: str | None = None)

Request model for running a policy on an environment task.

Methods

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

policy_id

env_id

task

instruction

max_steps

seed

model_kwargs

env_kwargs

save_video

video_dir