class_docstr: Container for keeping the content of one interaction between agents.
class_docstr_tok: ["Container","for","keeping","the","content","of","one","interaction","between","agents","."]
code: def compile_message(self):
      d = dict()
      d["action"] = self.get_action()
      d["text"] = self.get_text()
      d["context"] = self.get_context()
      return d
  
imports: from typing import Dict, Union
  import parlai.utils.logging
  from parlai.crowdsourcing.projects.wizard_of_internet.wizard_internet_blueprint import WIZARD_INTERNET_PARLAICHAT_BLUEPRINT
  from parlai.crowdsourcing.utils.analysis import AbstractResultsCompiler
  from mephisto.abstractions.blueprint import AgentState
label_desc: Use image node_id 6 for calling the ChatMessage obj's underlying member method code with example usage: obj.compile_message() and returns: d