Purple Growth
Purple Prompts

Prompt Management

4min

Purple Prompts



Summary

Prompts in Purple Hub are defined via a custom post type (similar to Create a Custom Post Type in Hub). Therefore, you can find them near the top of the left-side menu in the Purple Hub and can manage them similarly to how posts are managed.

Overview

Clicking on 'Purple Prompts' (1) > 'All Prompts' (2) shows the list of all prompts defined in your Purple Hub:

Document image


Editing

When editing a prompt, you find no block editor, but instead a simple text box next to some additional settings.

Document image


The text box (1) is used to define the prompt, and you can use placeholders to add e.g. the post content into the prompt at the fitting location.

On the right side, you need to define firstly the intended usage area for this prompt (2). The prompt can then be used for this feature only. As an example, this prompt here asks for a specific tone and style of the post title, and therefore it should only be used for the title generation feature (see Generating Meta Information) and not e.g. article rewriting.

Below that are settings that affect the language model itself:

  • Temperature (3): This controls the "creativity" of the model. A higher temperature results in a more diverse and creative output, while a lower temperature makes the output more deterministic and focused. (Read more here, or dive into technical details here)
  • Max Tokens (4): This is a parameter that controls the maximum length of the generated text. Text generation will automatically stop at the given limit.

Saving

Document image


'Saving' (1) a prompt makes it available for all editors. If a prompt gets moved to the trash, it can not be used for its configured use case and will not be shown there. This can be helpful when you want to experiment with many different prompts and clean up afterwards without permanently deleting the prompts.