[docs]    @abstractmethod
    def save_context(self, inputs: Dict[str, Any], outputs: Dict[str, str]) -> None:
        """Save the context of this chain run to memory."""
[docs]    @abstractmethod
    def clear(self) -> None:
        """Clear memory contents."""