Explore Library
Code QuizIntermediate

Persona in the Wrong Role

Identify why this persona instruction fails to steer the model.

Codejavascript
const messages = [
  { role: "assistant", content: "You are a witty Shakespearean poet. Answer in verse." },
  { role: "user", content: "Describe a sunrise." }
];

await client.chat.completions.create({ model: "gpt-4o-mini", messages });

What is the bug in this persona assignment?