CATEGORY · 37 AI terms
Prompts & AI use
Instructions and practical interaction patterns.
TERMS
37 terms in this topic
AI Fluency
A term from AI education for the practical ability to decide what to hand off to AI, make clear requests, critically review what AI produces, and use it responsibly.
Context Compaction
A technique for running AI agents that summarizes a conversation as it approaches the context window limit, then uses the summary to continue work in a fresh context.
Zero-shot
Zero-shot prompting means asking a large language model (LLM) to perform a task from an instruction alone, without including any worked examples in the prompt. The GPT-3 paper (2020) defined the zero-shot setting as one where "no demonstrations are allowed and only an instruction in natural language is given," alongside one-shot and few-shot settings that add one or several examples.[1] OpenAI recommends trying this approach first with reasoning models, then adding examples if needed.[2]
Few-shot
Few-shot prompting is a technique in which you include a small number of input-and-output examples in the prompt so that a large language model (LLM) follows the same format, tone and criteria in its answer. The model picks up the pattern from the examples without any additional training or fine-tuning.[1][3]
User Prompt
A user prompt is the question or instruction that a person types into a conversation with a large language model (LLM) such as ChatGPT or Claude, turn by turn. In chat APIs it is sent as a message with the "user" role, separate from the system or developer instructions that the application sets in advance.[3][4]
Tree of Thoughts
Tree of Thoughts (ToT) is a reasoning technique for large language models that extends chain-of-thought prompting. Instead of following one line of reasoning, the model proposes several candidate intermediate steps, evaluates them, and keeps exploring the most promising ones, looking ahead or backtracking when needed.[1]
JSON Mode
JSON mode is an API option, introduced by OpenAI at its DevDay in November 2023, that makes a large language model reply with valid JSON (JavaScript Object Notation) instead of free text, so that downstream code can parse the answer reliably.[1] It guarantees valid JSON syntax but not that the output follows a particular schema; schema adherence is the job of the later Structured Outputs feature.[2][3]
Jailbreak
A jailbreak is an input designed to get a large language model (LLM) to bypass its safety guardrails and produce responses it is trained to refuse.[1] OWASP treats jailbreaking as a form of prompt injection in which the attacker tries to make the model disregard its safety rules entirely.[4]
Top-p
Top-p, also called nucleus sampling, is a sampling setting for large language models (LLMs). When the model picks its next token, it keeps only the most likely candidates whose combined probability reaches a threshold p, and samples from that group.[1][6] With top_p = 0.1, for example, only the tokens that make up the top 10% of the probability mass are considered.[2]
Tool Use
Tool use is the ability of a large language model (LLM) to call external tools, such as functions, APIs or code that a developer has registered, while it is answering, so that it can fetch information or carry out a task. The model decides when a tool is needed from the user's request and the tool's description, then returns a structured call. Either your application runs it (client tools) or the provider runs it (server tools), and the result goes back to the model.[1] Anthropic uses the name "tool use"; OpenAI introduced the same capability in June 2023 as "function calling" and now also calls it "tool calling".[3][5]
Token Cost
Token cost is the usage-based price of calling a large language model (LLM) through an API. Providers bill by the number of tokens the model reads (input) and writes (output), usually quoted in US dollars per million tokens, with separate rates for each.[1][2][3] Prompt caching, batch processing and choosing a cheaper model tier can lower it.[1]
Temperature
Temperature is a sampling parameter for large language models (LLMs). It reshapes the probability distribution the model uses to pick the next token: lower values make the most likely tokens even more likely, and higher values give less likely tokens more chance. It lets you trade consistency for variety in the output.[1][3]
Custom Instructions
Custom instructions are a ChatGPT setting, introduced by OpenAI in July 2023, where you write down once what the AI should know about you and how it should respond, so that every later conversation takes it into account.[1] The term is now also used more broadly for similar account-level settings in other AI assistants, such as "Instructions for Claude" and "Instructions for Gemini".[3][8]
System Prompt
System prompt
A system prompt is a high-priority instruction given to a large language model (LLM) before a conversation starts. It sets the model's role, tone, rules and background information, and the model is expected to follow it in every response that comes after.[8][1]
Structured Output
Structured output
Structured output is a way of making a large language model (LLM) answer in a format defined in advance by a schema, usually JSON Schema, so that downstream code can parse and check the answer safely. Major model APIs implement it with constrained decoding: while the model generates, tokens that would break the schema are blocked.[1][2] Developers can often write the schema as a code type, such as a Pydantic or Zod model, and let the SDK convert it.[1][9]
Streaming
Streaming is a way of delivering AI output in which a large language model (LLM) sends its answer piece by piece as it is generated, instead of waiting until the whole response is finished. By default, the OpenAI API generates the entire output before returning it in one HTTP response; with streaming, the application can start showing or processing the beginning while the rest is still being written.[1] Both OpenAI and Anthropic deliver text streams as server-sent events (SSE).[1][2]
GPTs
GPTs are custom versions of ChatGPT that OpenAI announced on November 6, 2023. A GPT combines instructions, extra knowledge from uploaded files, and selected capabilities such as web search, image generation or data analysis, and was designed to be built without coding and shared with others.[1] Since January 2024 they could be listed in the GPT Store.[2] As of October 2026, OpenAI plans to retire custom GPTs, with a standard scheduled retirement date of December 11, 2026; qualified Enterprise workspaces with an approved deferral have February 11, 2027, and recommends moving their workflows to plugins.[8]
Context Rot
Context rot is the uneven decline in a language model's output quality as its input context grows longer. Simon Willison recorded the phrase in a quotation from a developer comment in June 2025.[5] In July 2025, Chroma, the company behind an open-source vector database, published a technical report titled "Context Rot" that tested 18 models, including GPT-4.1, Claude 4, Gemini 2.5 and Qwen3, and found that performance became less reliable as input length grew, even on simple tasks.[1] A larger context window does not mean the model reads everything equally well. This is a main reason context engineering, choosing only the information a model needs, has gained attention.[3]
Context Injection
Context injection is the practice of placing reference material, such as internal documents, live data, or excerpts from files, into the prompt alongside the user's question so that a large language model (LLM) answers from that material. It is the step that turns retrieved or selected information into model input, and it is central to retrieval-augmented generation (RAG).[1] Anthropic describes the broader discipline of choosing what goes into the model's limited context window as context engineering.[2]
Context Engineering
Context engineering is the practice of deciding what information goes into a large language model's (LLM's) context window, and in what order and form, each time the model is called. It covers everything the model reads: instructions, tool definitions, retrieved documents, conversation history, external data and working notes. Anthropic describes it as the natural progression of prompt engineering: prompt engineering focuses on writing good instructions, while context engineering manages the whole set of tokens the model sees, aiming for the smallest set of high-signal information that produces the desired result.[2] The term came to prominence in 2025 as teams started building AI agents that run over many steps.[2][3]
Function Calling
Function calling
Function calling is an API capability that OpenAI introduced in June 2023. Developers describe functions to the model with JSON Schema, and the model can answer with a function name and JSON arguments instead of plain text. The application then runs the function and sends the result back, which lets the model work with tools, databases and live data.[1][2] Anthropic calls the same capability "tool use", and Google's Gemini API also supports it.[4][6]
Self-Consistency
Self-consistency samples multiple reasoning paths for the same problem and selects the most frequent final answer. It replaces a single greedy chain-of-thought output with an aggregation over sampled outputs. The original method does not require additional training for the aggregation procedure. [1]
ReAct
ReAct is a language-model prompting approach that interleaves reasoning-oriented steps with actions and observations from an environment or tools. The original research studies how this interaction can support tasks requiring both information and decisions. [1][2]
Prompt Versioning
Prompt versioning records identifiable revisions of prompts and their associated settings so changes can be reviewed, evaluated, and rolled back. A version is a record of configuration, not a guarantee that model outputs are deterministic. [1][2]
Prompt Library
A prompt library is an organized collection of reusable prompts with descriptions and usage guidance. For team use it can include owners, versions, examples, and evaluation records; merely storing text does not make prompts validated.
Prompt Injection
Prompt injection
Prompt injection is an attempt to make a model or model-integrated application follow unintended instructions in its inputs. Direct injection comes through a prompt; indirect injection can arrive through retrieved pages, files, or other external content. [1][2]
Prompt Engineering
Prompt engineering
Prompt engineering is the design, evaluation, and revision of instructions, context, examples, and output requirements supplied to a model. It aims to improve task performance without necessarily changing the model’s trained parameters. [1][2]
Prompt Chaining
Prompt chaining divides a task into successive model calls, where a stage’s output becomes input for a later stage. Intermediate checks can guide whether to continue or revise. It trades additional calls and latency for a more inspectable workflow, without guaranteeing higher accuracy. [1][2]
Projects
In AI assistants, a project is a workspace that groups related conversations, reference material, and instructions for ongoing work. Claude and ChatGPT provide product-specific project features with their own context, sharing, and plan settings. [1][2]
Chain of Thought
Chain of thought (CoT) is a prompting technique that asks a large language model to produce intermediate reasoning steps before giving its final answer. In the original study, showing a few worked examples with those steps markedly improved large models on arithmetic, commonsense, and symbolic reasoning tasks.[1]
Persona Prompting
Persona prompting asks a language model to respond from a specified role, perspective, or style. A role instruction can focus behavior and tone, but does not give the model real professional credentials or guarantee factual accuracy. [1][2]
Artifacts
In Claude, artifacts are standalone outputs created and worked on alongside a conversation, such as documents, code, and interactive experiences.[2] Anthropic’s 2025 update also describes embedding AI capabilities in shareable apps.[1] This article refers to Claude’s product feature, not every use of the general word artifact.
One-shot Prompting
One-shot prompting supplies exactly one demonstration of the desired task in a model’s context. It can illustrate an input-output relationship, format, or style without updating the model’s weights. [1]
Meta Prompting
Meta prompting uses a model to help construct or improve the instructions used for another task. A research method with the same name also describes a model coordinating expert roles through task-agnostic scaffolding.[1]
Memory
AI memory is stored or retrieved context that can influence later interactions. Product memory, conversation history, project instructions, and an agent’s own memory store are related but distinct mechanisms.[1][2]
Max Tokens
A maximum-token parameter sets an upper bound on generated tokens for a model request. Its name and what it counts depend on the API and model; it is not a requested exact answer length.[1][2]
LLM-as-a-Judge
LLM-as-a-Judge uses a language model to score, compare, or select model responses against a rubric. The MT-Bench study reported over80% agreement between GPT-4 judgments and human preferences in its evaluation setting and also identified judge biases.[1][2] Agreement in one study does not guarantee performance on a different task.