Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SITES-20406 – Update on prompts #223

Merged
merged 4 commits into from Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions prompt-templates/card.prompt
@@ -1,7 +1,7 @@
{{# -------------------------------------------------------------------------- }}
{{# CONTEXT }}
{{# Describe the context of where content will be displayed, detailing the }}
{{# intented user experience or expected interaction. }}
{{# intended user experience or expected interaction. }}
{{# -------------------------------------------------------------------------- }}
On our webpage, users are presented with a Card. block which has multiple Card elements. A Card contains summary content and actions about a single subject and linking to its details. They can be used by themselves or within a list. Cards are interactive, and the entire Card container needs to be clickable. Each Card has its own title and description text which should not be presenting detailed information or multiple concepts. Upon interacting with the Card element, {{explain_interaction}}.

Expand All @@ -24,7 +24,7 @@ Your assigned target audience is {{target_audience}}.
{{# 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 a Card 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.
Your task is to compose {{number_of_variations}} distinct piece(s) of copy for a Card targeted to our target audience that is concise, engaging and persuading 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 Card if it is personalized to their interests.
Expand All @@ -36,7 +36,7 @@ To accomplish your task, the text you compose must strictly comply with the foll
{{# brand writing guidelines. }}
{{# -------------------------------------------------------------------------- }}
Requirements: ```
- The text must consist of three parts, a Title, a Body and a "AI Rationale".
- The text must consist of three parts: a Title, a Body and an "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 6 words or 30 characters, including spaces.
Expand All @@ -51,12 +51,12 @@ Requirements: ```
```

{{# -------------------------------------------------------------------------- }}
{{# ADDTIONAL CONTEXT }}
{{# DOMAIN KNOWLEDGE AND TRUSTED SOURCE DOCUMENTS }}
{{# Here you will Provide more background information or specific details to }}
{{# guide the creation of the content. }}
{{# -------------------------------------------------------------------------- }}
Additional context: [[
{{additional_context}}
Additional Context: [[
{{domain_knowledge_and_trusted_source_documents}}
]]

{{# -------------------------------------------------------------------------- }}
Expand Down Expand Up @@ -98,9 +98,9 @@ Additional context: [[
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}
22 changes: 11 additions & 11 deletions prompt-templates/cart-abandonment.prompt
@@ -1,7 +1,7 @@
{{# -------------------------------------------------------------------------- }}
{{# CONTEXT }}
{{# Describe the context of where content will be displayed, detailing the }}
{{# intented user experience or expected interaction. }}
{{# intended user experience or expected interaction. }}
{{# -------------------------------------------------------------------------- }}
On our webpage, users are presented with a web banner reminding them that they have an on-going purchase ready in their shopping cart. Upon interacting with the web banner, the user will navigate to a page where they can complete the checkout process or, alternatively, compare and choose a different product for purchase.

Expand All @@ -27,17 +27,17 @@ Your assigned target audience is {{target_audience}}.
Your task is to compose {{number_of_variations}} distinct piece(s) of copy for a web banner targeted to our target audience that is specific to the Additional Context 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 numbered in triple backticks (```) below and address the following hypotheses:
- Customers will be more likely complete a purchase if there's a sense of urgency
- Customers will be more likely complete a purchase if it is easy for them to complete the purchase
- Customers will be more likely complete a purchase if the offer is relevant to their needs
- Customers will be more likely to complete a purchase if there's a sense of urgency
- Customers will be more likely to complete a purchase if it is easy for them to complete the purchase
- Customers will be more likely to complete a purchase if the offer is relevant to their needs

{{# -------------------------------------------------------------------------- }}
{{# REQUIREMENTS }}
{{# Specify any and all conditions your content must comply with to meet your }}
{{# brand writing guidelines. }}
{{# -------------------------------------------------------------------------- }}
Requirements: ```
- The text must consist of four parts, a Title, a Body, a Call-to-Action and a "AI Rationale".
- The text must consist of four parts: a Title, a Body, a Call-to-Action and an "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 7 words or 35 characters, including spaces.
Expand All @@ -54,12 +54,12 @@ Requirements: ```
```

{{# -------------------------------------------------------------------------- }}
{{# ADDTIONAL CONTEXT }}
{{# DOMAIN KNOWLEDGE AND TRUSTED SOURCE DOCUMENTS }}
{{# Here you will Provide more background information or specific details to }}
{{# guide the creation of the content. }}
{{# -------------------------------------------------------------------------- }}
Additional context: [[
{{additional_context}}
Additional Context: [[
{{domain_knowledge_and_trusted_source_documents}}
]]

{{# -------------------------------------------------------------------------- }}
Expand Down Expand Up @@ -87,9 +87,9 @@ Additional context: [[
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}
8 changes: 4 additions & 4 deletions prompt-templates/faq.prompt
Expand Up @@ -24,7 +24,7 @@ Each FAQ must meet the following criteria to ensure clarity and conciseness:
- The overall tone should be helpful and knowledgeable, instilling confidence in the user.
- Format the response as an array of valid, iterable RFC8259 compliant JSON. Always list the "AI Rationale" attribute last.

Additional context for the {{product}} and user inquiries can be found here: [[{{additional_context}}]]"
Additional Context for the {{product}} and user inquiries can be found here: [[{{domain_knowledge_and_trusted_source_documents}}]]"

{{# --------------------- }}
{{# METADATA. }}
Expand All @@ -43,9 +43,9 @@ Additional context for the {{product}} and user inquiries can be found here: [[{
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}
10 changes: 5 additions & 5 deletions prompt-templates/headline.prompt
Expand Up @@ -13,13 +13,13 @@ Your assigned target audience is {{target_audience}}.
{{# --------------------- }}
{{# TASK }}
{{# --------------------- }}
Your task is to create {{number_of_variations}} unique headline(s), targeted to our target audience, that are impactful, and aligned with the users' interests and preferences. Each headline should embody our intent to {{explain_intent}} and incorporate any relevant information provided in [[{{additional_context}}]]. Keep in mind the specific traits of our target audience.
Your task is to create {{number_of_variations}} unique headline(s), tailored to our target audience, that are impactful, and aligned with the users' interests and preferences. Each headline should reflect our intent, which is to {{explain_intent}} and incorporate any relevant information provided in [[{{domain_knowledge_and_trusted_source_documents}}]]. Keep in mind the specific traits of our target audience.

{{# --------------------- }}
{{# REQUIREMENTS }}
{{# --------------------- }}
To ensure the Headlines are effective and meet our objectives, adhere to the following guidelines:
- The text must consist of two parts, a Headline and a "AI Rationale".
- The text must consist of two parts: a Headline and an "AI Rationale".
- 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.
- Each Headline must be concise and impactful.
- Not exceeding 10 words or 50 characters, including spaces.
Expand Down Expand Up @@ -61,9 +61,9 @@ To ensure the Headlines are effective and meet our objectives, adhere to the fol
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}
18 changes: 9 additions & 9 deletions prompt-templates/hero.prompt
@@ -1,7 +1,7 @@
{{# -------------------------------------------------------------------------- }}
{{# CONTEXT }}
{{# Describe the context of where content will be displayed, detailing the }}
{{# intented user experience or expected interaction. }}
{{# intended user experience or expected interaction. }}
{{# -------------------------------------------------------------------------- }}
On our webpage, users are presented with a Hero banner. A Hero banner is an interface element which creates an immediate impact with its visually striking image on the right and compelling text on the left, including a title, body, and call-to-action button. It effectively communicates the website's core message, capturing users' attention and guiding them towards the desired action. Upon interacting with the Hero banner, {{explain_interaction}}.

Expand All @@ -10,7 +10,7 @@ On our webpage, users are presented with a Hero banner. A Hero banner is an inte
{{# 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}}.
Our intent is to engage users, encouraging them to click and {{explain_intent}}.

{{# -------------------------------------------------------------------------- }}
{{# TARGET AUDIENCE }}
Expand All @@ -37,7 +37,7 @@ To accomplish your task, the text you compose must strictly comply with the foll
{{# brand writing guidelines. }}
{{# -------------------------------------------------------------------------- }}
Requirements: ```
- The text must consist of four parts, a Title, a Body, a Call-to-Action and a "AI Rationale".
- The text must consist of four parts: a Title, a Body, a Call-to-Action and an "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 7 words or 35 characters, including spaces.
Expand All @@ -53,12 +53,12 @@ Requirements: ```
```

{{# -------------------------------------------------------------------------- }}
{{# ADDTIONAL CONTEXT }}
{{# DOMAIN KNOWLEDGE AND TRUSTED SOURCE DOCUMENTS }}
{{# Here you will Provide more background information or specific details to }}
{{# guide the creation of the content. }}
{{# -------------------------------------------------------------------------- }}
Additional context: [[
{{additional_context}}
Additional Context: [[
{{domain_knowledge_and_trusted_source_documents}}
]]

{{# -------------------------------------------------------------------------- }}
Expand Down Expand Up @@ -100,9 +100,9 @@ Additional context: [[
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}
12 changes: 6 additions & 6 deletions prompt-templates/rewrite.prompt
Expand Up @@ -38,12 +38,12 @@ Requirements: ```
```

{{# -------------------------------------------------------------------------- }}
{{# ADDTIONAL CONTEXT }}
{{# DOMAIN KNOWLEDGE AND TRUSTED SOURCE DOCUMENTS }}
{{# Here you will Provide more background information or specific details to }}
{{# guide the creation of the content. }}
{{# -------------------------------------------------------------------------- }}
Additional context: [[
{{additional_context}}
Additional Context: [[
{{domain_knowledge_and_trusted_source_documents}}
]]

{{# -------------------------------------------------------------------------- }}
Expand Down Expand Up @@ -85,9 +85,9 @@ Additional context: [[
type=number
}}

{{@additional_context,
label="Additional Context and Trusted Source Documents",
{{@domain_knowledge_and_trusted_source_documents,
label="Domain Knowledge 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",
default="No domain knowledge or trusted source documents provided",
type=text
}}