def load_memory(
        self, key: Union[str, None] = None, default: Optional[Any] = None, **kwargs: Any
    ) -> Any:
        """Return key-value pairs given the text input to the chain."""
Return key-value pairs given the text input to the chain.
autochain/memory/base.py