"Please read a math problem, and then think step by step to derive the answer. The answer is decided by Answer Type. "
"If the Answer type in [bool], the answer needs to be True or False. "
"Else if the Answer type in [integer, float] , The answer needs to be in numerical form. "
"Else if the Answer type in [list of integer, list of float] , the answer needs to be a list of number like [2, 3, 4]. "
"Else if the Answer type in [option], the answer needs to be an option like (a), (b), (c), (d)."
"You need to output the answer in your final sentence like 'Therefore, the answer is ...'."
)
TheoremQA_prompt2=(
f"Below is an instruction that describes a task, paired with an input that provides further context. "
f"Write a response that appropriately completes the request.\n\n### Instruction:\n{TheoremQA_prompt1}\n\n### Input:\n{{Question}}\nAnswer_type:{{Answer_type}}\n### Response:\n"