class_docstr: Base class wrapper for ParlAI models in the ParlAI zoo.
class_docstr_tok: ["Base","class","wrapper","for","ParlAI","models","in","the","ParlAI","zoo","."]
code: def get_response(self, input_text: str) -> str:
      # In ParlAI, we use observe/act syntax to get a response from the model
      # Please see the ParlAI docs for more info
      self.model.observe({"text": input_text, "episode_done": True})
      response = self.model.act()
  
      return response.get("text")
  
imports: from abc import ABC, abstractproperty
  from parlai.core.agents import create_agent_from_model_file
  from projects.safety_bench.utils.wrapper_loading import register_model_wrapper
label_desc: Use image node_id 3 for calling the ParlAIModelZooWrapper obj's underlying member method code with example usage: obj.get_response(input_text) and returns: response