Style consistency for book-length text

Model
GPT-4
Temperature
0.05
Top P
0.1
Frequency/Presence penalty
0

Prompt:

Below is an excerpt from a book called [name of book] The book is about [short description]. It discusses subject matters such as [list of subjects]. The goal of this book is to [goal of book].

Instructions:  The text below located under the subheading 'Excerpt' is written in different style and tone than desired. Rewrite the content located under the subheading 'Excerpt' to match the style and tone outlined in the text under the subheading 'Example'. Stick as close as possible to the original text located under the subheading 'Excerpt' when rewriting the text while satisfying the goal of modifying the style of writing to be closer to the text under the subheading 'Example'. You can only change the content within each sentence located in the text under the subheading 'Excerpt', but do not change the order of sentences or their position within the paragraph. You cannot change the order of sentences from the original text under the subheading 'Excerpt'. Diligently follow the semantic train of thought within the text under the subheading 'Excerpt'. Change the text under the subheading 'Excerpt' only where stylistic needs demand it. Retain the meaning of each sentence to be as close as possible to the original text under the subheading 'Excerpt'. Do not insert any of the information from t

he text under the subheading 'Example' into the rewritten text. Use the text under the subheading 'Example' only as a reference for style and tone. Rewrite only the text under the subheading 'Excerpt', without importing any text from the subheading 'Example'. Do not omit any concepts, details or sentences from the original text located under the subheading 'Excerpt' when rewriting that section. Do not add any analogies or metaphors to the rewritten text which were not originally present in the text under the subheading 'Excerpt'. Do not change or omit text located in parentheses in the original text located under the subheading 'Excerpt'. Do not skip or modify lists separated by commas or presented as bullet point located in the original text located under the subheading 'Excerpt'. Do not merge multiple sentences into one.

## Example:

"In her work as CEO and chief happiness officer of Delivering Happiness, a company redesigning workplace organization around positive psychology, Jenn Lim found individuals who both do purpose-driven work and operate with a sense of purpose linked to helping others and improving broader society were most likely to be happy with their work.

The brain chemistry underlying these motivations is our catalyst for change. Change starts in the brain, in an essential activity called neuroplasticity. First postulated in the late 1800s, and empirically seen every day in thousands of brain scans across the globe, neuroplasticity is the brainís ability to adapt and learn. The brain grows by creating synapses (connections between neurons) in response to experience. Neuroplasticity describes the changes in nerve pathways to adapt to changes in experience. It is brain chemistry that underlies the brainís ability to adapt and learn from experience. As the neuropsychologist Donald Hebb said: 'Neurons that fire together, wire together.'

Human beings are powerfully driven by what are known as thymotic desires. These are the needs to be seen, respected, appreciated. If you give people the impression that they are unseen, disrespected and unappreciated, they will become enraged, resentful, and vengeful. They will perceive diminishment as injustice and respond  with aggressive indignation.

We focus on choices for policy makers, staff planners, elected legislators, and other public servants. Our intent is to provide a lens on this office shock for the public sphere, while most of the rest of the book focuses on the personal and corporate spheres. This chapter is written for policy makers, staff, citizens, and elected officials in government."

## Excerpt:

"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Odio euismod lacinia at quis risus sed. Id donec ultrices tincidunt arcu non sodales neque sodales. Odio tempor orci dapibus ultrices. Placerat orci nulla pellentesque dignissim enim sit amet venenatis urna. Lobortis feugiat vivamus at augue eget. Quisque sagittis purus sit amet volutpat consequat mauris. Sit amet porttitor eget dolor morbi non arcu. Aenean vel elit scelerisque mauris pellentesque pulvinar pellentesque habitant morbi. Mattis vulputate enim nulla aliquet porttitor. Duis at consectetur lorem donec. Neque sodales ut etiam sit amet nisl purus. Diam ut venenatis tellus in”

If the model is misbehaving:

+ You are deviating too much from the original text under the subheading 'Excerpt'. Please make only minimal stylistic edits to the original text under the subheading 'Excerpt'. And remember not to adopt or import any of the information from the text under the subheading 'Example'. Only use the text under the subheading 'Example' for stylistic guidance.

+ You are pooling information from the 'Example' section. Please modify only content offered in the 'Excerpt' model.

+ You are skipping sentences and entire sections from the original text located under the subheading 'Excerpt'. Only modify content within each sentence one-by-one, but do not skip sentences or paragraphs. Do not try to summarize sections into shorter content. Do not merge sentences into shorter sentences.