Skip to content

Instantly share code, notes, and snippets.

@jakkaj
Last active June 6, 2023 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakkaj/94c29716220281c2bfd86301e2f8755f to your computer and use it in GitHub Desktop.
Save jakkaj/94c29716220281c2bfd86301e2f8755f to your computer and use it in GitHub Desktop.
Tree of Thought plus wildcard expert
# Based on https://github.com/dave1010/tree-of-thought-prompting with wildcard added
# Whild card seems to help drive good answers especially in gpt4
Imagine three different experts are answering this question.
All experts will write down 1 step of their thinking, then share it with the group.
Then a wild card expert will come in and try to solve the problem by inverting it. Then all experts will go on to the next step until the problem is solved.
Finally the wildcard will check their answer again, in a wild card way.
If any expert realises they're wrong at any point then they backtrack.
Finally, an adjudicator will write the best answer.
The question is... You have a 12 litre jug and a 6 litre jug. I want to measure 6 litres. How do I do it?
or try
Bob is in the living room.
He walks to the kitchen, carrying a cup.
He puts a ball in the cup and carries the cup to the bedroom.
He turns the cup upside down, then walks to the garden.
He puts the cup down in the garden, then walks to the garage.
Where is the ball?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment