Skip to content

concepts

Prompt

Knowledge captured in João Lopes' learning graph.

Text input provided to a language model that conditions its response, including user messages, system prompts, and any other context.

↑ Contents

Definition

A prompt is any text the model receives as input — a user message, a system prompt, tool results, or conversation history. The model produces a response conditioned on the prompt and the rest of the context. In agent systems, the user’s message is one prompt among many: the system prompt, tool results, and conversation history all form the full input the model reasons over.

↑ Contents

Source

↑ Contents

Source: OKF Markdown