MemotivaPrompt Engineering Patterns: Instruction Following, Negative Constraints, and Output Format Control

How do you control output tone and style?

Prompt Engineering Patterns: Instruction Following, Negative Constraints, and Output Format Control

Audio flashcard · 0:19

Nortren·

How do you control output tone and style?

0:19

Control tone by being specific in your instructions, providing examples of the desired style, and assigning a role that matches the tone. "Write in a professional, neutral tone like a Wikipedia article" works better than "be professional." For consistency across many outputs, codify the desired style in the system prompt and reference it in user prompts.
docs.anthropic.com