Introduction
Imagine asking a friend for advice without telling them the full story or what you need. The advice might not be helpful. This is why giving clear context and constraints is important when communicating, especially with AI systems.
Jump into concepts and practice - no test required
Imagine ordering a pizza. If you just say 'I want a pizza,' you might get any kind. But if you say 'I want a medium pepperoni pizza with extra cheese, no onions, and delivered in 30 minutes,' the order is clear and specific.
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Context │─────▶│ AI Model │─────▶│ Response │
└─────────────┘ └─────────────┘ └─────────────┘
▲ ▲ ▲
│ │ │
┌─────────────┐ ┌─────────────┐ │
│ Constraints │─────▶│ Filters │────────────┘context when interacting with an AI?constraint when asking an AI for help?"Summarize the article about climate change in 50 words or less." What is the role of the constraint here?"Explain photosynthesis." but the AI gives a very long answer. How can you fix this using constraints?