LangChain - Fundamentals
What is wrong with this LangChain code snippet?
from langchain import PromptTemplate, LLMChain
from langchain.llms import OpenAI
prompt = PromptTemplate(template="Hello {name}!")
llm = OpenAI(temperature=0)
chain = LLMChain(llm=llm, prompt=prompt)
result = chain.run(person="Bob")
print(result)