|
1 | 1 | ---
|
2 | 2 | title: Generative Audiences
|
3 | 3 | beta: true
|
4 |
| - |
| 4 | +plan: engage-foundations |
5 | 5 | ---
|
6 | 6 |
|
7 |
| -> info "Generative Audiences is in beta" |
8 |
| -> Generative Audiences is in beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available. [Contact Segment](https://segment.com/help/contact/){:target="_blank"} with any feedback or questions. |
| 7 | +> info "Generative Audiences is in private beta" |
| 8 | +> Generative Audiences is in private beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available. [Contact Segment](https://segment.com/help/contact/){:target="_blank"} with any feedback or questions. |
9 | 9 |
|
10 | 10 | With Generative Audiences, part of Segment's CustomerAI, use generative AI to create Engage Audiences with natural language prompts.
|
11 | 11 |
|
12 | 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.
|
13 | 13 |
|
14 | 14 | In this article, you'll learn how to use Generative Audiences along with some best practices.
|
15 | 15 |
|
16 |
| - |
17 |
| -## Getting started with CustomerAI |
18 |
| -Use these steps to get started with CustomerAI: |
19 |
| -<!-- ask for a demo of this process --> |
20 |
| -1. From your message composer, select **Launch AI Copywriter**. |
21 |
| -2. In the drag-and-drop editor for in-app messages, select a text block and select in the block's toolbar. |
22 |
| -3. Enter a product name or description in the input field. |
23 |
| -4. Select the output language. This can be different from your input language. |
24 |
| -5. Select an appoximate output length. |
25 |
| -6. Click **Generate Copy**. |
26 |
| - |
27 | 16 | ## Create an audience with Generative Audiences
|
28 | 17 |
|
29 | 18 | To create an audience with Generative Audiences:
|
@@ -88,24 +77,25 @@ At this time, Segment only supports audience description prompts in the English
|
88 | 77 |
|
89 | 78 | Audience descriptions around not having profile traits or users who have not performed certain events are expected to have their conditions configured in the following way:
|
90 | 79 |
|
91 |
| -- **Prompt**: "Customers who have not purchased in the last 30 days." |
92 |
| -- **Expected output**: Segment generates a condition where *the event is performed at most 0 times*. |
| 80 | +1. **Prompt**: "Customers who have not purchased in the last 30 days." |
93 | 81 |
|
94 | 82 | 
|
95 | 83 |
|
96 |
| -- **Prompt**: "Customers who don't have a phone number." |
97 |
| -- **Expected output**: Segment generates a condition where *the trait doesn't exist*. |
| 84 | +- **Expected output**: Segment generates a condition where *the event is performed at most 0 times*. |
| 85 | + |
| 86 | +2. **Prompt**: "Customers who don't have a phone number." |
98 | 87 |
|
99 | 88 | 
|
100 | 89 |
|
| 90 | +- **Expected output**: Segment generates a condition where *the trait doesn't exist*. |
101 | 91 |
|
102 | 92 | ## Error handling
|
103 | 93 |
|
104 | 94 | Engage uses the following error messages with Generative Audiences:
|
105 | 95 |
|
106 | 96 | | Error message | Cause |
|
107 | 97 | |---------------------------|---------------------------------------|
|
108 |
| -| 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 | |
| 98 | +| Something went wrong | This error displays when one of the following scenarios occur: <br> - Exception not found <br> - Invalid LLM output <br> - LLM error terminal <br> - Unknown exception | |
109 | 99 | | Something went wrong. Try again later. | The AI service is down or the LLM returned an error. |
|
110 | 100 | | Segment had trouble creating an audience from this description. Try rewording it using these [best practices](#best-practices). | The prompt 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. |
|
111 | 101 |
|
|
0 commit comments