What's inside this article:
- Basic information
- Manage prompts
- Key names and default prompts
- Create a custom prompt
- 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 the Artificial Intelligence (AI) suggestions feature in Pangea CMS.
A prompt is a set of instructions for an AI model. It 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).
For instructions on how to use the AI suggestions feature, see the following article:
Manage prompts
Pangea AI uses a separate prompt for each text type. You can manage all prompts from the Site localization page in Pangea CMS.
For each text type, choose from the following:
- Default prompt: Use the Pangea default prompt.
- Custom prompt: Write a custom prompt.
Access site localization
To open the page, go to Settings > Site localization.
Find a prompt
To find a prompt on the Site localization page:
- Enter the key name (such as AIServices.TeaserTitle.UserPrompt) under Search.
- Click Search.
For a list of the key names, see Key names and default prompts.
The following options are available for each prompt:
- Create or update a custom prompt.
- Check a 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 saved. You do not need to click the System reload button.
For tips on how to create a custom prompt, see:
Check a default prompt
To check a default prompt:
- Click the key name.
- Under Global value, check the default prompt.
TIP: You can also check the default prompts in this article under Key names and default prompts.
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
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:
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 create or update a custom prompt in Pangea CMS, see Manage prompts.
Find detailed guidance on multi-step prompts below:
Structure the prompt
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 can mark list items using hyphens (-), numbers, or other characters.
Add step details
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, search engine optimization (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 the prompt.
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 needs.
Advanced AI settings
If the output from Pangea AI does not meet your needs, even after extensive prompt testing, we can adjust your Temperature and 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 and 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 and Top P values are suitable in most cases. If you have special requirements, adjusting these values may produce better results. To test the impact of different Temperature and Top P values, contact Pangea Customer Care.