Extracting a Final Answer from a Language Model
You are interacting with a large language model to solve a problem. You provide the model with the initial prompt and receive the corresponding output, as shown below. The model has produced a correct line of reasoning but has failed to state the final answer explicitly. Your task is to design a second, follow-up prompt that uses the existing information to guide the model to provide only the final, conclusive answer.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Extracting a Final Answer from a Language Model
A language model was prompted with a question. It produced a correct line of reasoning but did not state the final answer, as shown below.
Original Question: "A grocery store has 15 apples. They sell 7 and then buy 12 more. How many apples do they have now?"
Model's Reasoning: "Okay, let's break this down. The store starts with 15 apples. They sell 7, so we subtract 7 from 15, which is 15 - 7 = 8. Then, they buy 12 more, so we add 12 to the current number, which is 8 + 12 = 20."
Which of the following follow-up prompts is best designed to extract the final answer from the model's existing reasoning?
Constructing a Follow-Up Prompt