TextWorld¶
- class textworld.envs.tw.TextWorldEnv(request_infos=None)[source]¶
Bases:
Environment
Environment 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
step
andreset
on the copied environment.Warning
The
Game
andInform7Game
private objects are soft copies.- Return type: