> For the complete documentation index, see [llms.txt](https://docs.makerobos.com/frontman-enterprise-chatbot-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.makerobos.com/frontman-enterprise-chatbot-platform/story-builder/cards/utility-cards/a-b-splitter.md).

# A/B Splitter

A/B testing empowers you to refine your AI conversations by comparing two variations and measuring their effectiveness. Imagine presenting users with slightly different conversation flows at random. A/B testing allows you to determine which variation drives users towards your desired outcome, such as completing a purchase or scheduling an appointment.

### **Setting Up A/B Testing:**

1. **Split Groups:**

The Story Builder provides a slider to define the percentage of users who will encounter each variant.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FXoQlWzAblZkHCYBRgNlR%2Fab%20split%203.png?alt=media&amp;token=c42d40d0-fbbd-4ee1-bc92-20a959460011" alt=""><figcaption></figcaption></figure>

For example, if you set Group A to 20% and Group B to 80%, approximately 20% of users will experience the chat flow associated with Group A, while the remaining 80% will interact with Group B's flow. This allows you to analyze results without exposing all users to potentially less effective variations.

2. **Assign Blocks:**

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FZN35eZNiCZ7aSgYapEtE%2Fab%20split.png?alt=media&amp;token=d5b15393-708d-45e6-86c2-ae07f2c3dadd" alt=""><figcaption></figcaption></figure>

Next, you'll designate the specific blocks within your story that represent each variant. Enter the block name for Group A (e.g., "One") and Group B (e.g., "Two"). This links the user groups to their corresponding conversational flows.\
\
Note: Cards placed after A/B split will not run

Let's take a Example

We take 2 blocks&#x20;

1. Block 1 named "BOX 1" with text "Yes" and Block 2 named "BOX 2" with text "No"

<div><figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FPiTF3vdrp6YSjiUqbE68%2FScreenshot_272.png?alt=media&amp;token=f469610f-4048-4719-8ad9-3734b97e4e59" alt=""><figcaption></figcaption></figure> <figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FnXOCZ0tlLuu09YOk2Va0%2FScreenshot_273.png?alt=media&amp;token=feb246af-f9e8-4281-8e2f-dc9ef0f41fc8" alt=""><figcaption></figcaption></figure></div>

2. Now in another block we add a A/B Splitter in which firstly we'll assign "BOX 1" in Group A and "BOX 2" in Group B. Than we'll set the ratio to 10% to Group B and Group A with 90%. In the output we'll see that Group B will be given the preference and we'll get "No" as the result.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2F9QeWHZuwK8xpetwEOXxG%2FScreenshot_277.png?alt=media&amp;token=8aec89c6-f2a6-4bf2-881c-f557ae603d2c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FilrYeol7Asgph9lQnfUp%2FScreenshot_275.png?alt=media&amp;token=06cc0167-538f-40dd-bf53-e42850a3615a" alt=""><figcaption></figcaption></figure>

3. Now we set the ratio to 90% to Group B and Group A with 10% and we'll get the result as "No"

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2F42VO9HVpq6ac10npI6L3%2FScreenshot_278.png?alt=media&amp;token=127c5ece-944a-4748-b604-1db24863c033" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FBcf9BCKgrOjzEWgdZruZ%2FScreenshot_270.png?alt=media&amp;token=4bf57193-4326-4eb5-8a40-d6d1022bcc82" alt=""><figcaption></figcaption></figure>
