Keep a user's correction attached to one item
Use the quotation marks to locate each speaker's words. · 179 words
Name the exact item that a correction changes. Suppose a museum shop list says, "Item M-17, blue tote, $8." The customer replies, "That tote is $10, not $8." Try this prompt: "Apply my correction only to item M-17. Change its price from $8 to $10. Keep every other item and price unchanged, and show the updated line." The source is the last customer message and item ID M-17. The check is simple: the output must read "M-17, blue tote, $10" and preserve all unmentioned prices. A clear scope stops one correction from changing the whole list.
A train ticket example uses the same rule. Both passengers originally depart at 09:20. The order lists passenger P2 in seat 14A, and the user wants only P2's departure changed from 09:20 to 10:05. Say: "Update passenger P2's time to 10:05. Leave passenger P1 and all other fields unchanged. Print the final order." Check both passengers: P2 should show 10:05 and seat 14A, while P1 must remain at 09:20. Naming the item, field, and facts to preserve makes the result easy to verify.
Check your recall
What keeps the museum shop correction from changing prices that the customer did not mention?
Check your answer
The prompt limits the correction to item M-17, requires every other item and price to remain unchanged, and asks for the updated line so the change can be checked.
Sources and credits
Original KeyTouch lesson. Background reading · DAIR.AI · Prompt Chaining.