LangChain - Fundamentals
Identify the error in this LangChain code snippet:
from langchain import PromptTemplate, LLMChain
prompt = PromptTemplate(template="Say hello to {name}.", input_variables=["name"])
chain = LLMChain(prompt=prompt)
result = chain.run(name="Alice")
print(result)