Turning Learners Into Developers
Codekilla
CODEKILLA
कोर्स पर वापस
पाठ 32 / 9135%
Advanced Prompting Techniques2/6

Self-Consistency Prompting

Run the prompt N times, vote on the answer.

// chain-of-thought · think step by stepQ: A bat & ball cost ₹110. Bat is ₹100 more.Step 1: Let ball = x.Step 2: bat = x + 100.Step 3: x + (x+100) = 110 → 2x = 10Answer: ball = ₹5.
Visual explanation diagram · click steps to walk through it

यह पाठ केवल Pro के लिए है।

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

अनलॉक करने के लिए साइन इन करें
// feedback.matters()
Did this lesson help you?