You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engage/audiences/generative-audiences.md
+16-31Lines changed: 16 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ beta: true
4
4
5
5
---
6
6
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.
8
8
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.
10
13
11
14
In this article, you'll learn how to use Generative Audiences along with some best practices.
12
15
13
-
<!-- CUT
14
-
## Build an audience with Generative AI
15
-
-->
16
16
17
17
## Getting started with CustomerAI
18
18
Use these steps to get started with CustomerAI:
@@ -26,7 +26,7 @@ Use these steps to get started with CustomerAI:
26
26
27
27
## Create an audience with Generative Audiences
28
28
29
-
To use Generative Audiences to create your audience:
29
+
To create an audience with Generative Audiences:
30
30
31
31
1. Navigate to **Engage > Audiences**, and click **+ New audience**.
32
32
2. From the dropdown menu, select **Audience**.
@@ -42,45 +42,30 @@ To use Generative Audiences to create your audience:
42
42
43
43
### Modify an audience description
44
44
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.
48
46
49
47
> 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.
51
49
52
50
53
51
## Use cases and examples
54
52
55
53
Use the following examples to help you get started with audience prompts.
56
54
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.`
59
56
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.`
68
58
59
+
- To build an audience with customers who spend over $50 on an order enter: `Customers who have orders greater than $50.`
| 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
-
-->
76
61
77
62
## Best practices
78
63
79
64
As you use generative audiences, keep the following best practices in mind:
80
65
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.
82
67
- 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).
84
69
- 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.
85
70
86
71
> success ""
@@ -106,13 +91,13 @@ Audience descriptions around not having profile traits or users who have not per
106
91
- "Customers who have not purchased in the last 30 days."
107
92
108
93

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*.
110
95
111
96
- "Customers who don't have a phone number."
112
97
113
98

114
99
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*.
116
101
117
102
118
103
## Error handling
@@ -121,7 +106,7 @@ Engage uses the following error messages with Generative Audiences:
| 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 |
125
110
| Something went wrong. Try again later. | The AI service is down or the LLM returned an error. |
126
111
| 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. |
0 commit comments