Add parser functionality to the prompt classes so each prompt template class implement the parsing of the llm response.