-
Is it possible to do somehting like this: import gymnasium as gym
import browsergym.core # register the openended task as a gym environment
instruction = "Please find an apple pie recipe and summarize how to make it"
env = gym.make(
"browsergym/openended",
task_kwargs={"start_url": "https://www.google.com/", "instruction": instruction},
wait_for_user_message=True
)
obs, info = env.reset()
done = False
while not done:
action = ... # implement your agent here
obs, reward, terminated, truncated, info = env.step(action) where |
Beta Was this translation helpful? Give feedback.
Answered by
xhluca
Jun 11, 2024
Replies: 2 comments
-
Found it, it's
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xhluca
-
Glad you found it :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found it, it's