Skip to main content

Prompt Engineering - Style Matching

Apply this prompt engineering principle, Style Matching or Make a Sample, to get better prompt results and to boost your efficiency.

Prompt engineering Principle 26 - Style Matching or Make a Sample - focuses on creating prompts that instruct the AI to produce text similar to a provided sample, maintaining the same language style and thematic elements. This technique is particularly useful for ensuring consistency in tone, style, and content. Here's how you can apply this principle in practice:

Example: Continuing a Technical Article Series

Without Principle 26 - Style Matching or Make a Sample:

Prompt: "Write an article about the latest trends in artificial intelligence."

With Principle 26 - Style Matching or Make a Sample:

Prompt: "Write an article about the latest trends in artificial intelligence. Use the same analytical and informative language style based on the provided previous article in the series. Maintain the same level of technical detail and targeted audience engagement."

Example: Expanding a Fantasy Novel

Without Principle 26 - Style Matching or Make a Sample:

Prompt: "Write a new chapter for a fantasy novel."

With Principle 26 - Style Matching or Make a Sample:

Prompt: "Write a new chapter for a fantasy novel. Use the same language style and narrative tone as the provided sample chapter. The new chapter should seamlessly integrate with the existing storyline and character development."

Example: Following a Brand's Marketing Tone

Without Principle 26 - Style Matching or Make a Sample:

Prompt: "Create a marketing copy for a new line of eco-friendly products."

With Principle 26 - Style Matching or Make a Sample:

Prompt: "Create a marketing copy for a new line of eco-friendly products. The copy should match the brand's established style as seen in the provided example, which is conversational and inspiring, aimed at environmentally conscious consumers." 

In each of these examples, Principle 26 - Style Matching or Make a Sampleis applied by instructing the AI to mirror the language style and thematic elements of a provided sample. This ensures that the new content aligns with the established tone, style, or narrative of the existing material, creating a cohesive and consistent output.

The prompt engineering principle, Style Matching prompt is part of the following group:

Guiding Instructions 

- Use Positive Words (4

- Say "You Must" (9)

- Warn of Penalties (10)  

- Think Step-by-Step (12) 

- Match a Sample (26) 

Prompt Engineering Principles