'From a ParlAI-standard observation dict, returns a prediction from
the model.'

def predict(self, observation):

    if ('episode_done' not in observation):
        observation['episode_done'] = True
    self.agent.observe(observation)
    reply = self.agent.act()
    return reply
