
Answer-first summary for fast verification
Answer: Role or Persona-based Prompting
## Explanation This question demonstrates **Role or Persona-based Prompting**, which is a technique where you assign a specific role, persona, or identity to the AI model to guide its responses in a particular style or tone. **Key Analysis:** 1. **The prompt structure**: "You are an experienced legal advisor..." explicitly assigns a professional role to the AI. 2. **Purpose**: The goal is to ensure the model responds with a professional legal tone appropriate for summarizing legal cases. 3. **Why other options are incorrect:** - **A) Chain-of-Thought Prompting**: This involves breaking down complex problems into step-by-step reasoning, which is not what's happening here. - **C) Zero-shot Prompting**: This refers to giving the model a task without any examples, but doesn't involve assigning a specific role or persona. - **D) Negative Prompting**: This involves telling the model what NOT to do, which is not present in the given prompt. **Real-world application**: Role-based prompting is commonly used in professional contexts (legal, medical, technical) to ensure AI responses maintain appropriate tone, terminology, and perspective for the target audience.
Author: Ritesh Yadav
Ultimate access to all questions.
A company is creating an AI assistant to generate legal summaries. To ensure the model responds in a professional tone, the developer starts the prompt with: "You are an experienced legal advisor. Summarize the following case..." Which prompting strategy does this represent?
A
Chain-of-Thought Prompting
B
Role or Persona-based Prompting
C
Zero-shot Prompting
D
Negative Prompting
No comments yet.