In-Context Learning
In-context learning is the phenomenon where an LLM learns a task from examples provided in the prompt, without updating model weights. It …
In-context learning is the phenomenon where an LLM learns a task from examples provided in the prompt, without updating model weights. It …
Prompt injection is an attack where untrusted text (web pages, user content, retrieved documents) attempts to override system instructions, …
Logit bias is a mechanism to increase or decrease the probability of specific tokens during decoding, effectively nudging the model away …
Citation prompting instructs the model to attribute claims to specific sources-retrieved documents, URLs, or internal knowledge base …
Role prompting assigns the model a persona or professional role (e.g., “senior security engineer,” “tax analyst,” …
A prompt router is a decision layer that selects which prompt template (and sometimes which model) to use based on user intent, risk …
Constitutional prompting encodes a set of explicit principles (a “constitution”) into the prompt to guide model behavior toward …
A prompt template is a parameterized prompt skeleton that separates invariant instructions from variable inputs (user query, retrieved …
Few-shot prompting is an in-context learning technique where you include a small set of inputoutput demonstrations inside the prompt to …
Prompt benchmarking is the standardized comparison of prompts across tasks, models, and environments using consistent datasets and metrics. …