def simple_prompt(animal_statement):
return f"""You will be provided a statement about an animal and your job is to determine how many legs that animal has.
Here is the animal statement.
{animal_statement}
How many legs does the animal have? Please respond with a number"""
def better_prompt(animal_statement):
return f"""You will be provided a statement about an animal and your job is to determine how many legs that animal has.
Here is the animal statement.
{animal_statement}
How many legs does the animal have? Please only respond with a single digit like 2 or 9"""
def chain_of_thought_prompt(animal_statement):
return f"""You will be provided a statement about an animal and your job is to determine how many legs that animal has.
Here is the animal statement.
{animal_statement}
How many legs does the animal have?
Start by reasoning about the numbers of legs the animal has, thinking step by step inside of tags.
Then, output your final answer inside of tags.
Inside the tags return just the number of legs as an integer and nothing else."""