TextWorld¶
- class textworld.envs.tw.TextWorldEnv(request_infos=None)[source]¶
Bases:
EnvironmentEnvironment for playing games by TextWorld.
- Parameters:
request_infos (
Optional[EnvInfos]) – Information to be included in the game state. By default, only the game’s narrative is included.
- copy()[source]¶
Return a copy of this environment.
It is safe to call
stepandreseton the copied environment.Warning
The
GameandInform7Gameprivate objects are soft copies.- Return type: