0]); $prompt = new PromptTemplate( "Question: {question}\nAnswer: Let's think step by step.?", ['question'], ); $chain = new LLMChain($llm, $prompt, ['verbose' => true]); $question = 'What NFL team won the Super Bowl in the year Justin Beiber was born?'; echo $chain->predict(['question' => $question]);