๐งช Lab 1: Prompt Engineering in Bedrock Playground
Customized for AnyCompany Financial Group โ generate marketing taglines for AnyCompany Pay using progressive prompt refinement techniques.
Lab Overview
You are a Marketing Executive at AnyCompany Financial Group. Your team is launching a new campaign for AnyCompany Pay โ a digital wallet and PayLater service operating across Southeast Asia (Singapore, Malaysia, Indonesia, Thailand, Vietnam, Philippines).
You have been asked to create campaign taglines and a complete Marketing Brief for the AnyCompany Pay product.
๐ก What you'll learn: This lab teaches the same prompt engineering techniques as the original AWS lab, but with prompts tailored to your company's products and market. You'll see how each technique (persona, context, tone, few-shot, constraints) progressively improves the output.
Objectives
Use basic prompting to generate taglines
Test how Temperature and Top P affect creativity vs consistency
Improve output by adding a persona (role assignment)
Add context about the product and market
Specify tone and target audience
Use the few-shot technique with examples
Optimize with specific constraints (word count, keywords, style)
Create a complete Marketing Brief document
Task 1: Creating and Refining the Tagline
Task 1.2
Basic Tagline Generation
Zero-Shot
Start with the simplest possible prompt โ no context, no role, no constraints.
Generate 5 advertising taglines for a digital payment app.
โ Expected: 5 generic taglines. They'll be decent but not specific to AnyCompany Pay, Southeast Asia, or your target audience. That's the point โ we'll improve from here.
Task 1.3
Testing Inference Parameters
Temperature & Top P
Use the same prompt from Task 1.2. In the Configurations pane:
High Temperature + High Top P (sliders to the right): Run 3 times. Notice more creative, varied taglines each run.
Low Temperature + Low Top P (sliders to the left): Run 3 times. Notice more consistent, similar taglines across runs.
๐ Instructor note: This connects to Day 1 Module 1 โ the "creativity dial." Low temperature = careful accountant (same answer every time). High temperature = creative consultant (different ideas each time). For finance tasks: keep temperature low. For brainstorming: go higher.
Task 1.4
Adjusting the LLM Persona
Role Assignment
Add a persona to influence the tone and quality of the output.
Basic persona:
You are a marketing executive at a fintech company.
Generate 5 advertising taglines for a digital payment app.
Enhanced persona (with experience and specialty):
You are a highly experienced marketing executive with 15 years of experience at a leading Southeast Asian fintech company. You have special expertise in digital payments and a track record of producing catchy, trust-building taglines that resonate with young professionals. Your job is to generate 5 advertising taglines for a digital wallet and PayLater service.
โ Compare: The enhanced persona should produce more polished, industry-specific taglines. Adding "15 years experience" and "Southeast Asian fintech" activates more relevant knowledge in the model.
Task 1.5
Adding More Context
Context
Provide specific details about the product, market, and values.
Generate 5 advertising taglines for AnyCompany Pay โ a digital wallet and PayLater service that serves over 10 million users across 6 Southeast Asian markets. The app prides itself on instant payments, transparent fees, and financial inclusion for underbanked communities.
โ Expected: Taglines now reference specific product features (instant, transparent, inclusion) and feel more targeted than the generic ones from Task 1.2.
Task 1.6
Specifying Tone and Style
Output Framing
Define the audience and emotional tone.
Generate 5 advertising taglines for AnyCompany Pay โ a digital wallet and PayLater service that serves over 10 million users across 6 Southeast Asian markets. The app prides itself on instant payments, transparent fees, and financial inclusion for underbanked communities. The taglines should be confident, modern, and appeal to young professionals aged 25-35 who value convenience and financial empowerment.
Task 1.7
Using the Few-Shot Technique
Few-Shot
Provide examples of the style you want โ the model will pattern-match.
Generate 5 advertising taglines for AnyCompany Pay โ a digital wallet and PayLater service that serves over 10 million users across 6 Southeast Asian markets. The app prides itself on instant payments, transparent fees, and financial inclusion for underbanked communities. The taglines should be confident, modern, and appeal to young professionals aged 25-35 who value convenience and financial empowerment.
Here are some example taglines in the desired style:
1. "Move Money, Not Mountains" (for a remittance app)
2. "Your Wallet, Upgraded" (for a neobank)
3. "Spend Smart, Live Bold" (for a budgeting app)
Now, generate 5 taglines for AnyCompany Pay:
โ Expected: Taglines now match the punchy, short style of the examples. The model copies the rhythm and tone โ not the content.
Task 1.8
Optimizing with Specific Instructions
Constraints
Add structural requirements: word count, keywords, and style rules.
Generate 5 advertising taglines for AnyCompany Pay โ a digital wallet and PayLater service that serves over 10 million users across 6 Southeast Asian markets. The app prides itself on instant payments, transparent fees, and financial inclusion for underbanked communities. The taglines should be confident, modern, and appeal to young professionals aged 25-35 who value convenience and financial empowerment.
Requirements:
- Each tagline should be no more than 6 words
- Include at least one of these keywords in each tagline: instant, smart, trust, or seamless
- Use alliteration or wordplay where possible
Here are some example taglines in the desired style:
1. "Move Money, Not Mountains" (for a remittance app)
2. "Your Wallet, Upgraded" (for a neobank)
3. "Spend Smart, Live Bold" (for a budgeting app)
Now, generate 5 taglines for AnyCompany Pay:
โ Expected: Taglines are now exactly 6 words or fewer, contain the required keywords, and use alliteration. Compare this to Task 1.2 โ the difference is dramatic.
Task 2: Creating a Marketing Brief
Switch to Chat mode in Bedrock Playground (same model: Nova Pro 1.0).
Now combine everything you've learned into a complete document.
Task 2.1
Generate the Marketing Brief
Full Prompt Engineering
Generate a marketing brief for AnyCompany Pay โ a digital wallet and PayLater service operating across 6 Southeast Asian markets (Singapore, Malaysia, Indonesia, Thailand, Vietnam, Philippines). The document should contain the following sections:
1. An introductory paragraph explaining AnyCompany Pay's mission to make digital payments instant, transparent, and accessible to everyone in Southeast Asia.
2. Five tagline sections, each containing:
- A confident, modern tagline (5-6 words) that incorporates keywords like "instant", "smart", "trust", or "seamless". Use wordplay, alliteration or rhymes where possible.
- A 2-3 sentence explanation of how the tagline captures AnyCompany Pay's values and appeals to young professionals aged 25-35 who value convenience and financial empowerment.
3. A closing paragraph summarizing how the taglines collectively position AnyCompany Pay as the trusted digital payment partner for Southeast Asia's next generation.
The tone should be polished, confident, and engaging throughout. Focus on highlighting the app's unique selling points: instant transfers, PayLater flexibility, transparent fees, and multi-market coverage.
Add text formatting markdown following the example below:
# AnyCompany Pay: Marketing Brief
## Tagline 1: "sample tagline 1"
This tagline ...
...
## Closing Paragraph
Through these taglines ...
โ Expected output should contain:
An introductory paragraph about AnyCompany Pay's mission
Five tagline sections, each with the tagline + explanation
A closing paragraph
Markdown formatting (headers, bold text)
Task 2.2
Save Your Marketing Brief
Copy the output and save it as:
anycompany_pay_brief_<your-name-here>.md
Reflection: What Changed at Each Step?
Step
Technique
What improved
1.2
Zero-shot (no context)
Baseline โ generic output
1.3
Temperature tuning
Control over creativity vs consistency
1.4
Persona / Role
More professional, industry-aware tone
1.5
Context (product details)
Specific to AnyCompany Pay's features
1.6
Tone & audience
Matches target demographic
1.7
Few-shot examples
Consistent style and rhythm
1.8
Constraints (rules)
Precise format, keywords, word count
2.1
Full prompt (all combined)
Production-quality document
๐ Key takeaway: The AI model didn't change between steps โ only your prompt did. Better prompts = dramatically better output. This is the foundation for everything on Day 2.