Effect of adding the above instruction to the prompt.
increase solve percent from 98% to 99%
for the LLM reduced median attempts from 5 to 4 and mean attempts from 4.61 to 4.18.
Before refactoring the prompt
After refactoring the prompt.
Example refactored prompt:
Solve the puzzle by guessing a five-letter word using these clues.
Select word that contains 'r', 'e'
If there is only one word that meets the above criteria, select that word.
On the other hand if more than one word meets the criteria or no words meet the criteria, select the word that is more common.
Provide step-by-step instructions for how you arrived at the selected word. When writing the instructions, do not list words. Return only a json structure with the key 'recommendation' for the recommended word and 'explanation' for your explantion.
List of candidate words:
fears
gears
hears
kearn
nears
rearm
rears
sears
seary
wears
weary
yeara
yearn
years
Close #55
Updated prompt to include instructions like this
Effect of adding the above instruction to the prompt.
Before refactoring the prompt
After refactoring the prompt.
Example refactored prompt: