---
title: Rewriting Articles
slug: editorial/rewriting-articles
description: Use Purple Prompts to rewrite articles with predefined or custom prompts, quick action buttons and detailed content review. Highlighted phrases show retained, omitted and re-created content for accuracy. Easily accept or regenerate suggestions
docTags: 
createdAt: 2023-07-24T14:59:03.896Z
---

Purple Prompts

***

## Summary

Use prompts to rewrite articles: Select predefined prompts, create custom prompts, use action buttons for quick tasks, and review rewritten content.&#x20;

When viewing the suggested results, Purple Prompts highlights retained, omitted and newly generated phrases to ensure accuracy. You can accept or regenerate the rewritten content and have the option to rewrite specific sections of the article.&#x20;

## Using predefined prompts

::Image[]{src="https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-U4QTQg_ZweFQ2FxBl8wyg-20240730-134719.png" size="60" width="786" height="796" position="center" alt="Using predefined prompts" darkWidth="786" darkHeight="796" showCaption="false"}

From the **dropdown (1)**, you can choose one of the prompts defined in [Prompt Management](docId\:Moptb53AYy9Mwv1Xi0nmo), and see the **details of this prompt (2)**. With a click on **'Rewrite article' (3)**, a popup opens, and the language model starts working.

## Customising an existing prompt

::Image[]{src="https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-PrG5l1VW384yACXgFzH8Z-20240730-141248.png" size="50" width="786" height="798" position="center" caption="Customising an existing prompt" alt="Customising an existing prompt" darkWidth="786" darkHeight="798" showCaption="true"}

Alternatively, you can **select a prompt from the dropdown (1), click on 'Edit' (2), the selected prompt will now be renamed to 'Custom...'  in the dropdown (1)**.&#x20;

This enables you to edit a prompt spontaneously right here by **typing your prompt into the text field (3)**.&#x20;

The model parameters, the **temperature (4)** and **max tokens (5)** can also be adjusted.&#x20;

The **Rewrite button (6)** works the same as with a predefined prompt (see paragraph 'Using predefined prompts' above).



## Using Action Buttons

::Image[]{src="https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-sOkkzqpOvLeQH72IYkM-j-20240730-153925.png" size="50" width="698" height="340" position="center" alt="Action Buttons" darkWidth="698" darkHeight="340" showCaption="false"}

If a prompt was defined not simply with 'Rewrite Article' as its use case, but with 'Rewrite Article (Action Button)', you will see it in the Purple Prompts sidebar as a button. Clicking it will immediately open up the rewriting dialog, so this is especially useful for simple and repeating tasks that are needed on a regular basis.

## The Rewriting-Dialog

![Rewriting-Dialog](https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-xAt3snqvkhWAOleIQgf38-20240731-121900.png)

Once started, the rewriting process gets shown in a popup dialogue. You can see the **original post content in text form (1)** on the left (this is what the language model works with), and you can watch the **AI output being generated (2)** on the right side.

**Statistics about the rewritten text (3)** are displayed at the top. These include measures like the word count of both texts in general, but also data about text preservation in the original and generated text.

Based on of the two available **highlighting modes (4)**, we try to detect important phrases and colour-code them, to give you content confidence at a glance. You also have the option to switch off the highlighting.

### <font color="#06a90e">Green phrases</font>&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/aPFCBVLQ7CEoTUzb7pSEo_5h7nq8h-xi6qvsith6oemimage.png" size="90" width="3802" height="958" position="center" alt="Green phrases " darkWidth="3802" darkHeight="958" showCaption="false"}

<font color="#06a90e">**Green phrases**</font> are detected in the left and right text (e.g. 1, 2, 3 in the screenshot above) and indicate that this information was preserved by the language model.

### <font color="#878787">Grey phrases</font><font color="#878787"> </font>

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/DZ2mVKQ0HFNXnofWTwp1D_oxtysqasqeszuwlnnzxrimage-1.png" size="90" width="3772" height="851" position="center" alt="Grey phrases " showCaption="false"}

<font color="#878787">**Grey phrases**</font> are detected on the left, but not on the right: The language model might have ignored or omitted information here. E.g. 1 in the screenshot above. In this example, the language model has only taken part of the phrase. As the word 'ursprünglich' wasn't taken into account, the phrase was marked as 'grey' on the left side, but green on the right one. For summarisation tasks, this can be desired.

### <font color="#ff6900">Orange phrases</font>

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/zNnObcw3OCeqNmhrRKQPY_o1z8d962vavpkmh-f7cj2image-2.png" size="90" width="3793" height="654" position="center" alt="Orange phrases" showCaption="false"}

<font color="#ff6900">**Orange phrases**</font> are detected on the right, but not on the left: The language model generated this text, but it was not found in the original text. This might be due to re-phrasing or synonym usage, but it might also indicate cases of hallucinations.&#x20;

:::hint{type="info"}
Please review Orange phrases closely. Should the model actually imagine wrong information here, see also if you can adjust your prompt as described in [Prompt Writing Best Practices](docId\:XeiYYpZnVOcj5sC6AZUu9).
:::

### Replace / Append/ Generate Again

![Replace / Append/ Generate Again](https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-zZ1EQijMSGd1bMn9IOiSI-20240731-122324.png)

After reviewing the generated text, you can accept it into your article in two different ways:

- Clickin&#x67;**&#x20;'Replace' (1)** simply replaces the original text with the generated one, while trying to preserve the structure and formatting of the article as it is.
- Clicking **'Append' (2)** does not modify the existing blocks of the article, but instead adds the newly generated content to the bottom of the article. We try to preserve structure and formatting here as well, which might lead to duplicated blocks. This option is useful if you want to manually merge the generated text with the original and pick parts from both versions.

The **'Generate again' (3)** button restarts the language model and produces a new output. Depending on the prompt text and also especially the temperature setting, the newly generated text might be exactly or nearly the same as before, or completely different.

:::hint{type="info"}
See [Prompt Writing Best Practices](docId\:XeiYYpZnVOcj5sC6AZUu9) for more information.
:::

## Rewriting selected blocks only

![Rewriting selected blocks ](https://api.archbee.com/api/optimize/sCxKkm0StdQInfax4mSE5-UnJHsTAlDT0PfWn0i8Y4n-20240731-122857.png)

It is possible to rewrite only parts of a post, rather than rewriting the whole post at once. To do this, simply select text in the block editor. Only the **selected blocks (1)** will be sent to the language model. Above the **rewrite buttons (2)** will be shown the number of selected blocks to indicate that a partial rewrite will happen. This also applied to rewrite action buttons.
