def from_yaml(self, session_id: str, path: str) -> Memory:
        """Load the memory from a yaml file."""
        conversation = Conversation.from_yaml(path)
        self.conversation = conversation
        self.session_id = session_id
        return self
Load the memory from a yaml file.
taskweaver/memory/memory.py