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