Skip to content

What is Prompt?

A prompt is the input text, question, or instruction given to an AI model (especially a large language model) to guide what it should generate or how it should respond.

The model processes the prompt as context and uses patterns learned during training to predict and produce relevant output, such as text, code, or answers.

Prompts can range from simple questions to detailed instructions that include examples, roles, or constraints, allowing users to steer the model's behavior without changing its weights.

Effective prompting often involves techniques like specifying format, providing few-shot examples, or breaking tasks into steps to improve accuracy and relevance.

Example

Typing 'Summarize the plot of Hamlet in three bullet points' into ChatGPT is a prompt that tells the model exactly what kind of output is desired.

Why it matters

Prompts let anyone control powerful AI systems through natural language, making advanced models usable and adaptable without retraining or coding.

Frequently asked questions

A prompt is the actual input you give the model, while prompt engineering is the skill of designing and refining prompts to get better results.