Test Bloomreach Algorithms via API

This use case covers how to test the changes made to Bloomreach recall algorithms via third-party AB testing tools.

Features used


We suggest that you go through the below guides to better understand this use case:

  • API Controls: This guide lists all the parameters that you can send in the front-end API calls to change the algorithm settings.

How to implement use case


Follow the steps given below:

1. Prepare AB test calls

To prepare the test calls, append the respective algorithm mode parameters to the front-end API call. In this example, we are testing Text Match precision mode against LLM-based precision mode.

Example requests

Control variant: Enable Text Match Precision to retrieve the recall

https://core.dxpapi.com/api/v1/core/?
q=dress
&query.precision=text_match_precision
&facet.precision=standard
&query.relaxation=product_type
&query.spellcorrect=closest_match
&query.numeric_precision=standard
&query.smartsort=top_products
&account_id=6092
&domain_key=homeoasis_bloomreach
&url=www.bloomique.com
&ref_url=www.bloomique.com
&request_type=search
&rows=10
&start=0
&fl=pid%2Ctitle%2Cbrand%2Cprice%2Csale_price
&search_type=keyword

Test variant: Enable LLM-based Precision to retrieve the recall

https://core.dxpapi.com/api/v1/core/?
q=dress
&query.precision=llm_based_precision
&facet.precision=standard
&query.relaxation=product_type
&query.spellcorrect=closest_match
&query.numeric_precision=standard
&query.smartsort=top_products
&account_id=6092
&domain_key=homeoasis_bloomreach
&url=www.bloomique.com
&ref_url=www.bloomique.com
&request_type=search
&rows=10
&start=0
&fl=pid%2Ctitle%2Cbrand%2Cprice%2Csale_price
&search_type=keyword

2. Setup test in your AB test tool

Configure the traffic split and reporting to conduct the AB test in your AB Testing tool.