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