{"text": "Hello there.",
"labels": ["General Kenobi."]},
]
obs_labs = [agent.vectorize(o) for o in obs_labs]
reply = agent.batch_act(obs_labs)
for i in range(len(obs_labs)):
self.assertEqual(reply[i]["text"], f"Training {i}!")
After Change
agent.history.update_history(o)
obs_elabs_vecs.append(agent.vectorize(o, agent.history))
reply = agent.batch_act(obs_elabs_vecs)
import pdb; pdb.set_trace()
for i in range(len(obs_elabs_vecs)):
self.assertEqual(reply[i]["text"], f"Evaluating {i}!")