code: def __init__(self):
      # load knowledge base with data from the given file
      knowledge_base = InMemoryKnowledgeBase("knowledge_base_data.json")
  
      # overwrite the representation function of the hotel object
      # by default the representation function is just the name of the object
      knowledge_base.set_representation_function_of_object(
          "hotel", lambda obj: obj["name"] + " (" + obj["city"] + ")"
      )
  
      super().__init__(knowledge_base)
  
imports: from rasa_sdk.knowledge_base.storage import InMemoryKnowledgeBase
  from rasa_sdk.knowledge_base.actions import ActionQueryKnowledgeBase
label_desc: Use image node_id 1 to create a new ActionMyKB object from inherited base classes: ActionQueryKnowledgeBase with example: obj = ActionMyKB()