
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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
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:
The prompt structure: "You are an experienced legal advisor..." explicitly assigns a professional role to the AI.
Purpose: The goal is to ensure the model responds with a professional legal tone appropriate for summarizing legal cases.
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.