Prompt
Input request to a language model: everything you write to it. The prompt determines what the model outputs in response.
What Can Be a Prompt
- a question — «What is RAG?»;
- instruction — «Write a letter in a formal tone»;
- a task with context — «Here is the text, summarize it into 3 points»;
- system prompt — hidden behavioral rules.
Why the Prompt Is Important
The model does not «read minds» — it works with what it receives. The same meaning, formulated differently, yields different results. This is why an entire discipline — prompt engineering — has emerged.
Types of Prompts
| Type | Example |
|---|---|
| Zero-shot | Without examples |
| Few-shot | With examples |
| Chain-of-Thought | «Reason step-by-step» |