/
tile.prompt
107 lines (95 loc) · 7.15 KB
/
tile.prompt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{{# -------------------------------------------------------------------------- }}
{{# CONTEXT }}
{{# Describe the context of where content will be displayed, detailing the }}
{{# intented user experience or expected interaction. }}
{{# -------------------------------------------------------------------------- }}
On our webpage, users are presented with a Tile. A Tile is a rectangular or square-shaped interface element that serves as a container for specific content. Tiles are primarily used as clickable elements that lead users to other parts of the website, or to perform certain actions. They are designed to simplify user interactions and provide a visually appealing way to navigate and access information. Upon interacting with the Tile, {{explain_interaction}}.
{{# -------------------------------------------------------------------------- }}
{{# INTENT }}
{{# State the intended user experience and the rationale behind crafting such }}
{{# an experience. }}
{{# -------------------------------------------------------------------------- }}
Our intent is to engage with users to click and {{explain_intent}}.
{{# -------------------------------------------------------------------------- }}
{{# TARGET AUDIENCE }}
{{# Describe the audience you're targeting by specifying all relevant traits }}
{{# or behaviors. }}
{{# -------------------------------------------------------------------------- }}
Your assigned target audience is {{target_audience}}.
{{# -------------------------------------------------------------------------- }}
{{# TASK }}
{{# Describe the content to be generated. We suggest you modify the hypotheses }}
{{# to fit your needs. }}
{{# -------------------------------------------------------------------------- }}
Your task is to compose {{number_of_variations}} distinct piece(s) of copy for the Tile, targeted to our target audience, that is concise, engaging and persuasive to the user by selecting any available content provided in double-brackets ([[]]) below. The text you compose will be used to test the hypotheses below in a live experiment. Keep in mind the specific traits of our target audience, considering that users will typically only read the title.
To accomplish your task, the text you compose must strictly comply with the following requirements listed in triple backticks (```) below and address the following hypotheses:
- Users will be more likely to engage with the Tile if it is personalized to their interests.
- Users will be more likely to engage with the Tile if the call-to-action is clear, concise and relevant to the page content.
- Users will be more likely to engage with the Tile if the text is concise, persuasive and engaging.
{{# -------------------------------------------------------------------------- }}
{{# REQUIREMENTS }}
{{# Specify any and all conditions your content must comply with to meet your }}
{{# brand writing guidelines. }}
{{# -------------------------------------------------------------------------- }}
Requirements: ```
- The text must consist of three parts, a Title, a Body and a "AI Rationale".
- The text must be brief, such that:
* In 20 words (100 characters) or less, compose the "AI Rationale" text first and use it to explain your reasoning for composing the copy, before composing the other parts.
* The Title text must not exceed 10 words or 50 characters, including spaces.
* The Body text must not exceed 16 words or 80 characters, including spaces.
- The tone of the text needs to be: {{tone_of_voice}}.
- The product name must appear once either in the Title text or Body text.
- Never abbreviate or shorten the name of the product in the text.
- Compose the text without using the same adjective more than once.
- Do not use exclamation marks or points at the end of sentences in the text.
- Do not use exclamation marks or points in the text.
- Format the response as an array of valid, iterable RFC8259 compliant JSON. Always list the "AI Rationale" attribute last.
```
{{# -------------------------------------------------------------------------- }}
{{# ADDTIONAL CONTEXT }}
{{# Here you will Provide more background information or specific details to }}
{{# guide the creation of the content. }}
{{# -------------------------------------------------------------------------- }}
Additional context: [[
{{additional_context}}
]]
{{# -------------------------------------------------------------------------- }}
{{# METADATA }}
{{# -------------------------------------------------------------------------- }}
{{@explain_interaction,
label="Explain user interaction",
description="Elaborate on the user's interaction with the element, emphasizing the results and impacts of the interaction",
default="the user is taken to a product page displaying a detailed view of our bestselling wireless headphones. Here, they can read product specifications, customer reviews, and make a purchase if they so choose",
type=text
}}
{{@explain_intent,
label="Explain interaction intent",
description="Specify the primary objectives and purposes of the content presented within the web element",
default="interact more with our website content so they can make an informed purchase decision",
type=text
}}
{{@target_audience,
label="Target Audience",
description="Choose your audience. For Target, audiences with no description will be unavailable. For CSV, Adobe provides audiences to get you started. To modify audiences publish a CSV file and update the URL in the prompt.",
csv="https://raw.githubusercontent.com/adobe/aem-genai-assistant/GIT_BRANCH/data/target-audiences.csv",
adobe_target=true,
type=audience
}}
{{@tone_of_voice,
label="Tone of voice",
description="Indicate the desired tone of voice",
default="optimistic, smart, engaging, human, and creative",
type=text
}}
{{@number_of_variations,
label="Number of Variations",
description="Enter a number to generate the desired number of variations",
default=4,
type=number
}}
{{@additional_context,
label="Additional Context and Trusted Source Documents",
description="Provide more background information or specific details to guide the creation of the content. For Trusted Source Documents, include specific context, which can include your branding materials, website content, data schemas for such data, templates, and other trusted documents. Include additional prompting E.g. 'use the following source document as a reference in generation to match brand voice' to ensure accurate use.",
default="No additional context provided",
type=text
}}