LangChain - Prompt Templates
What will be the output of this chained prompt code?
from langchain import PromptTemplate, LLMChain
prompt1 = PromptTemplate(template="Name: {name}")
prompt2 = PromptTemplate(template="Greeting: Hello {name}!")
chain1 = LLMChain(prompt=prompt1)
chain2 = LLMChain(prompt=prompt2)
intermediate = chain1.run(name="Bob")
final_output = chain2.run(name=intermediate)