nemo_gym.episode_types
nemo_gym.episode_types
Wire contracts for environment servers.
Module Contents
Classes
Data
API
Bases: BaseModel, Generic[TaskInputT]
Carry environment-neutral identity and typed task input.
Bases: BaseModel, Generic[EpisodeResultT]
Return either a typed result or a handled failure.
Bases: BaseModel
Describe a failure using the same fields on the wire and in saved records.
The explanation is failure_reason. Kind and stage are optional. The kind
identifies what happened; it does not determine terminality. A collector
observing a lost reply may not know the episode’s stage.
Bases: BaseModel
Identify one physical attempt of a logical rollout.
Return the attempt-qualified key used by capture routes.
Keep the derived capture key injective without changing existing keys.
Bases: BaseModel, Generic[TaskInputT]
Carry durable task identity and protocol-shaped task input.
Bases: BaseModel
Identify one task within a run-qualified taskset.