पाठ 4 / 25

Prompt injection

Prompt injection को स्पष्ट evidence के साथ लागू करें।

Prompt injection को समझें

Prompt injection में पहले उसकी समस्या समझें। Implementation चुनने से पहले input, constraint और दिखने वाला outcome पहचानें।

सोच-समझकर अभ्यास करें

Prompt injection के लिए एक छोटा example बनाएँ और उसे बढ़ाने से पहले result verify करें।

उपयोगी तुलना

Prompt injection route plan जैसा है: हर step को destination से जोड़ता है।

अपनी reasoning जाँचें।

त्वरित जाँच: Prompt injection के लिए सही पहला step क्या है?

  • Goal और constraint तय करें।
  • Unverified example copy करें।
  • Measurement छोड़ दें।
Answer

Goal और constraint तय करें। — स्पष्ट goal और constraint निर्णय को review योग्य बनाते हैं।