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