Skip to content

Commit 4d16e08

Browse files
committed
edits
1 parent f531455 commit 4d16e08

File tree

1 file changed

+16
-31
lines changed

1 file changed

+16
-31
lines changed

src/engage/audiences/generative-audiences.md

Lines changed: 16 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ beta: true
44

55
---
66

7-
Generative Audiences, part of Segment's CustomerAI, uses generative AI to create Engage Audiences with natural language prompts.
7+
With Generative Audiences, part of Segment's CustomerAI, use generative AI to create Engage Audiences with natural language prompts.
88

9-
Build audiences by describing your desired audience based on events performed, profile traits, or referencing existing audiences in your workspace. Based on your prompt, Segment builds the audience with Generative AI.
9+
<!-- CUT
10+
Generative Audiences, part of Segment's CustomerAI, uses generative AI to create Engage Audiences with natural language prompts. -->
11+
12+
Describe your desired audience based on events performed, profile traits, or existing audiences in your workspace. Based on your prompt, Segment builds the audience with generative AI.
1013

1114
In this article, you'll learn how to use Generative Audiences along with some best practices.
1215

13-
<!-- CUT
14-
## Build an audience with Generative AI
15-
-->
1616

1717
## Getting started with CustomerAI
1818
Use these steps to get started with CustomerAI:
@@ -26,7 +26,7 @@ Use these steps to get started with CustomerAI:
2626

2727
## Create an audience with Generative Audiences
2828

29-
To use Generative Audiences to create your audience:
29+
To create an audience with Generative Audiences:
3030

3131
1. Navigate to **Engage > Audiences**, and click **+ New audience**.
3232
2. From the dropdown menu, select **Audience**.
@@ -42,45 +42,30 @@ To use Generative Audiences to create your audience:
4242
4343
### Modify an audience description
4444

45-
Once Segment generates the audience conditions, the prompt box will remain open for reference. You can close this box, or modify your audience description and click **Build** again.
46-
47-
Modifying an audience overwrites the existing audience conditions Segment previously generated.
45+
Once Segment generates the audience conditions, the prompt box remains open for reference. You can close this box, or modify your audience description and click **Build** again. Modifying an audience overwrites the existing audience conditions Segment previously generated.
4846

4947
> success ""
50-
> Once Segment generates the audience, you can adjust or remove any conditions straight from the audience builder.
48+
> Once Segment generates the audience, you can also adjust or remove any conditions straight from the audience builder.
5149
5250

5351
## Use cases and examples
5452

5553
Use the following examples to help you get started with audience prompts.
5654

57-
To build an audience with customers who haven't made a purchase in the last 30 days:
58-
- Enter: `Customers who haven't purchased in the last 30 days.`
55+
- To build an audience with customers who haven't made a purchase in the last 30 days enter: `Customers who haven't purchased in the last 30 days.`
5956

60-
To find all profiles that have recently opened an email:
61-
- Enter: `Profiles that recently opened an email.`
62-
63-
To build an audience with customers who spend over $50 on an order:
64-
- Enter: `Customers who have orders greater than $50.`
65-
66-
<!-- CUT
67-
View the table below for a few example prompts:
57+
- To find all profiles that have recently opened an email enter: `Profiles that recently opened an email.`
6858

59+
- To build an audience with customers who spend over $50 on an order enter: `Customers who have orders greater than $50.`
6960

70-
| Audience description | Prompt |
71-
|------------------------|--------------------------------|
72-
| Build an audience with customers who haven't made a purchase in the last 30 days | "Customers who haven't purchased in the last 30 days." |
73-
| Build an audience with customers who spend over $50 on an order | "Customers who have orders greater than $50." |
74-
| Find all profiles that have recently opened an email. | "Profiles that recently opened an email." |
75-
-->
7661

7762
## Best practices
7863

7964
As you use generative audiences, keep the following best practices in mind:
8065

81-
- Write specific descriptions. CustomerAI generates more accurate conditions when you use the names of existing events and traits. <!-- should I say "customerAI generates" or "Generative Audiences generates"? -->
66+
- Write specific descriptions. CustomerAI generates more accurate conditions when you use the names of existing events and traits.
8267
- Ensure that all events and traits you reference exist in your workspace.
83-
- Avoid using sensitive data, or customer Personal Identifiable Information (PII).
68+
- Avoid using sensitive data or customer Personal Identifiable Information (PII).
8469
- Experiment with your prompts. If you don't receive what you want on the first try, rewrite your prompt. Submitting a new prompt replaces existing conditions.
8570

8671
> success ""
@@ -106,13 +91,13 @@ Audience descriptions around not having profile traits or users who have not per
10691
- "Customers who have not purchased in the last 30 days."
10792

10893
![Creating an audience where customers haven't made a purchase in the last 30 days.](/docs/engage/images/No-purchases.png)
109-
The expected output is for Segment to generate a condition where the *event is performed at most 0 times*.
94+
The expected output is for Segment to generate a condition where *the event is performed at most 0 times*.
11095

11196
- "Customers who don't have a phone number."
11297

11398
![Creating an audience where customers don't have a phone number.](/docs/engage/images/phone-doesn't-exist.png)
11499

115-
The expected output is to generate a condition where the *trait doesn't exist*.
100+
The expected output is to generate a condition where *the trait doesn't exist*.
116101

117102

118103
## Error handling
@@ -121,7 +106,7 @@ Engage uses the following error messages with Generative Audiences:
121106

122107
| Error message | Cause |
123108
|---------------------------|---------------------------------------|
124-
| Something went wrong | This error displays when one of the following occur: <br> - Not found exception <br> - Invalid LLM output <br> - LLM error terminal <br> - Uknown exception |
109+
| Something went wrong | This error displays when one of the following occur: <br> - Not found exception <br> - Invalid LLM output <br> - LLM error terminal <br> - Unknown exception |
125110
| Something went wrong. Try again later. | The AI service is down or the LLM returned an error. |
126111
| Segment had trouble creating an audience from this description. Try rewording it using these [best practices](#best-practices). | Referenced an invalid or non-existing trait, audience, or event within the workspace. You may also see this when an objective is impossible or misunderstood. |
127112

0 commit comments

Comments
 (0)