class_docstr: Memory class to store the conversations
class_docstr_tok: ["Memory","class","to","store","the","conversations"]
docstr: Returns the last message in the conversation
docstr_tok: ["Returns","the","last","message","in","the","conversation"]
code: def get_last_message(self) -> str:
      """
      Returns the last message in the conversation
      """
      messages = self.get_messages(self._memory_size)
      return "" if len(messages) == 0 else messages[-1]
  
file_path: pandas-ai/pandasai/helpers/memory.py
imports: from typing import Union
label_desc: Use image node_id 10 for calling the Memory obj's underlying member method code with example usage: obj.get_last_message() and returns: unknown