= LLMChain.from_string(llm=llm, template=template)llm_chain.predict(adjective="sad", subject="ducks")    '\n\nQ: What did the duck say when his friend died?\nA: Quack, quack, goodbye.'PreviousFoundationalNextRouterGet startedAdditional ways of running LLMChainParsing the outputsInitialize from stringCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
An LLMChain is a simple chain that adds some functionality around language models. It is used widely throughout LangChain, including in other chains and agents.
An LLMChain is a simple chain that adds some functionality around language models. It is used widely throughout LangChain, including in other chains and agents. ->: = LLMChain.from_string(llm=llm, template=template)llm_chain.predict(adjective="sad", subject="ducks")    '\n\nQ: What did the duck say when his friend died?\nA: Quack, quack, goodbye.'PreviousFoundationalNextRouterGet startedAdditional ways of running LLMChainParsing the outputsInitialize from stringCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.