Skip to content

Instantly share code, notes, and snippets.

@SrJSDev
Created May 23, 2023 16:53
Show Gist options
  • Save SrJSDev/d3749650b34c487178ea2e9bb5ba8406 to your computer and use it in GitHub Desktop.
Save SrJSDev/d3749650b34c487178ea2e9bb5ba8406 to your computer and use it in GitHub Desktop.
The Tree of Thoughts Prompt Template (chatGPT)
Step1 :
Prompt: I have a problem related to [describe your problem area]. Could you brainstorm three distinct solutions? Please consider a variety of factors such as [Your perfect factors]
Step 2:
Prompt: For each of the three proposed solutions, evaluate their potential. Consider their pros and cons, initial effort needed, implementation difficulty, potential challenges, and the expected outcomes. Assign a probability of success and a confidence level to each option based on these factors
Step 3:
Prompt: For each solution, deepen the thought process. Generate potential scenarios, strategies for implementation, any necessary partnerships or resources, and how potential obstacles might be overcome. Also, consider any potential unexpected outcomes and how they might be handled.
Step 4:
Prompt: Based on the evaluations and scenarios, rank the solutions in order of promise. Provide a justification for each ranking and offer any final thoughts or considerations for each solution
@SrJSDev
Copy link
Author

SrJSDev commented May 23, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment