Concept
Prompt
Input text â system, user or assistant â that conditions a model's next response.
Definition
A prompt is the complete input fed into an LLM at inference time. In chat APIs it is a list of messages with roles; in completion APIs a single string. The prompt's wording, structure, and examples strongly affect output quality, hence the discipline of prompt engineering.
Common use cases
- Chat
- Classification
- Code generation