📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is meant by prompt injection in prompt engineering?

A. When instructions hidden in external data try to override the intended instruction ✅
B. When a prompt is too long for the context window
C. When a model injects new facts into its training data
D. When a user types a prompt too quickly

Correct Answer: A. When instructions hidden in external data try to override the intended instruction

Explanation

Prompt injection occurs when untrusted content in data is treated as an instruction by the model.