Artificial Intelligence
Role prompting and prompt chaining
Appears inGen AI Leader
Role prompting: instructing the model to respond by adopting a specific role or persona (e.g. "act as a lawyer specializing in...") to adjust tone and focus. Prompt chaining: breaking a complex task into a sequence of simpler prompts, where the output of one feeds into the input of the next.
On the exam
In GENAI-L (Domain 3, section 3.2) these are listed alongside zero-shot, one-shot, and few-shot as prompting techniques the exam expects you to recognize along with their corresponding use cases.
Related terms
- Chain-of-thought promptingPrompt engineering technique where the model is instructed to make its reasoning explicit step by step before giving the final answer, improving performance on logical or mathematical reasoning tasks.
- Few-shot promptingPrompt engineering technique where several examples of the desired input-output are included in the prompt before the actual request, helping the model understand the expected format or style without fine-tuning. Zero-shot includes no examples; one-shot includes exactly one.