langchain/experimental/generative_agents/memory.py/GenerativeAgentMemory/chain
class GenerativeAgentMemory:    def chain(self, prompt: PromptTemplate) -> LLMChain:
        return LLMChain(llm=self.llm, prompt=prompt, verbose=self.verbose)