CoT Prompting & ToT Prompting:

 


  • CoT Prompting:

    • Task: Given a simple math word problem, create a CoT prompt to guide the model to break down the problem into smaller steps and solve it.
    • Example:
      • Prompt: "If a store has 10 apples and sells 3, how many apples are left?"
      • CoT Prompt: "Let's break this down step-by-step. First, we need to identify the total number of apples. Then, we'll subtract the number of apples sold. Finally, we'll calculate the remaining apples. So, 10 apples minus 3 apples equals..."
  • ToT Prompting:

    • Task: Given a complex reasoning problem, create a ToT prompt to guide the model to explore multiple hypotheses and arrive at a conclusion.
    • Example:
      • Prompt: "A person is found dead in a locked room. There are no obvious signs of foul play. How could this have happened?"
      • ToT Prompt: "Let's consider different possibilities:
        • Hypothesis 1: Natural Causes
          • Could the person have died of a heart attack?
          • Were there any underlying health conditions?
        • Hypothesis 2: Accidental Death
          • Could the person have fallen and hit their head?
          • Was there any hazardous substance in the room?
        • Hypothesis 3: Murder
          • Could someone have entered the room without leaving a trace?
          • Was there a hidden weapon or poison? After exploring these possibilities, we can analyze the evidence and draw a conclusion."
  • Comments

    Popular posts from this blog

    AI Agents for Enterprise Leaders -Next Era of Organizational Transformation

    Airport twin basic requirements

    The AI Revolution: Are You Ready? my speech text in multiple languages -Hindi,Arabic,Malayalam,English