What's inside this article:
- Basic information
- Manage prompts
- Key names and default prompts
- How to create a custom prompt
- How to create a multi-step prompt
- Advanced AI settings
Basic information
User groups: Editor_2020, Master Editor_2020
About user groups
This article explains how to manage the prompts for AI suggestions in Pangea CMS.
For general information about AI suggestions, see Generating AI suggestions.
About prompts
A prompt is a set of instructions for an AI model. The prompt tells the AI what task to perform and can include additional details to guide its response (such as the topic, length, tone, structure, and audience).
Prompt management
Pangea AI uses a separate prompt for each text type. For a list of the supported text types, see Supported text types.
For each text type, choose from the following:
- Default prompt: Use the Pangea default prompt.
- Custom prompt: Write a prompt tailored to your service.
Manage prompts
Manage Pangea AI prompts from the Site localization page in Pangea CMS.
Access site localization
Access this page via Settings > Site localization.
Find the key you want to manage
To find a prompt on the Site localization page:
- Enter the key name (such as 'AIServices.TeaserTitle.UserPrompt') under Search.
- Click Search.
For a full list of key names, see Key names and default prompts.
The following options are available for each prompt:
- Create or update a custom prompt.
- Check the default prompt.
- Restore a default prompt if you no longer want to use your custom one.
For instructions, see:
Create or update a custom prompt
TIP: Create your custom prompt in an external text editor (not in Pangea CMS). When the prompt is fully prepared, paste the text into Pangea CMS.
To create or update a custom prompt:
- Click the key name.
- Under Local value, paste your custom prompt.
- Click Save.
The prompt is now updated. You do not need to click the System reload button.
For tips on how to create a custom prompt, see:
Check a default prompt
TIP: The default prompts are listed under Key names and default prompts.
To check a default prompt on the Site localization page:
- Click the key name.
- Under Global value, view the default prompt.
Restore a default prompt
To restore a default prompt:
- Click the key name.
- Click Remove local value.
- Click Save.
The default prompt is now restored. You do not need to click the System reload button.
Key names and default prompts
Title prompts
Introduction prompts
Other prompts
How to create a custom prompt
In each prompt, provide detailed instructions. Detailed prompts produce more consistent output and better reflect your desired voice.
Choose suitable adjectives (describing words) to improve the style and tone. Your prompt might include the following adjectives (or any other suitable adjectives):
- Intriguing, compelling, captivating, insightful, engaging, restrained, professional, objective, clear, concise, fact-based...
Different adjectives can bring significantly different results, so we encourage you to experiment and test the impact of different words.
For additional guidance, see the following topics:
How to create a multi-step prompt
Multi-step prompts tell the AI exactly how to solve a problem by breaking the task into small parts. This reduces the risk of errors by allowing the AI to focus on one step at a time. A multi-step prompt can also include more detail and complexity, which produces output tailored to your exact needs.
TIP: The default prompts for Pangea AI all have multiple steps. You can use these prompts as inspiration. See Key names and default prompts.
Create your multi-step prompt in an external text editor (not in Pangea CMS). When the prompt is fully prepared, paste the text into Pangea CMS. For information about how to update a custom prompt in Pangea CMS, see Manage prompts.
Find detailed guidance on multi-step prompts below:
Structure
Structure the prompt as a nested list. The nested list structure might look as follows:
- Step 1: General instruction
- Detailed guidance
- Detailed guidance
- Step 2: General instruction
- Detailed guidance
- Detailed guidance
- Step 3: General instruction
- Detailed guidance
- Detailed guidance
The format does not need to match the example exactly. For example, you might mark list items using hyphens (-), numbers, or other characters.
Content
Separate the process into logical steps. You might separate the process roughly as follows:
- Identify the main focus of the story.
- Prepare initial output.
- Refine the output for style, tone, structure, SEO, audience, and so on.
Below each step in the prompt, you can add one or more points to elaborate and provide more details. For more information, see Structure.
Example
A step might look as follows:
Step 4: Adjust for clarity, engagement, and readability.
- Use a natural, conversational language that is easy to understand.
- Avoid complex language or jargon.
Test different options to find the sequence that works best for your service.
Advanced AI settings
If the output from Pangea AI does not meet your needs, even after extensive prompt testing, you might adjust the Temperature / Top P settings. These settings can limit or extend the creativity of an AI model:
- Temperature: Controls the randomness of the AI. A higher value produces output that is more dynamic and engaging. A lower value produces output that is more restrained and standardized.
- Top P: Controls the range of words the AI uses. A higher value lets the AI choose from more words. This produces richer, more diverse language. A lower value produces language that is more consistent and predictable.
The following examples show how Temperature / Top P can influence the AI's output:
Temperature examples (headlines)
- Lower: "Stock Market Drops After Fed Decision"
- Higher: "Fed’s Surprise Move Sends Shockwaves Through Wall Street"
Top P examples (headlines)
- Lower: "President Announces New Economic Policy"
- Higher: "President Unveils Bold Economic Overhaul Plan"
The default Temperature / Top P values are suitable for most services. If you have special requirements, adjusting these values may produce better results. To test the impact of different Temperature / Top P values, contact Pangea Customer Care.