def get_all_memories_as_text(
      self,
      add_time: bool = True,
      sort_by_time: bool = True,
  ) -> Sequence[str]:
    """Returns all memories in the memory bank as a sequence of strings."""
    self._check_phase()
    with self._lock:
      texts = self._memory.get_all_memories_as_text(
          add_time=add_time,
          sort_by_time=sort_by_time)
      return texts
Returns all memories in the memory bank as a sequence of strings.
concordia/components/agent/deprecated/memory_component.py