COLLECTION_NAME_bpr_item_recs
, a BPR Recommender job is already created and configured to produce items-for-item recommendations (as well as items-for-user recommendations).
This is the recommended job type, and produces better results with a short runtime. Download the APPName_item_item_rec_pipelines_bpr.json file and Migrate Fusion Objects to create the query pipeline that consumes this job’s output. See Fetch Items-for-Item Recommendations (Collaborative/BPR Method) for details.
Migrate Fusion Objects
Export an app | Import an app | Export an object | Import an object | Add an object to an app | |
Fusion UI | App configuration | Launcher (entire app) App configuration (combine apps) | - | - | Object Explorer |
Objects API (endpoints) | GET from export endpoint | POST to import endpoint | GET from export endpoint | POST to import endpoint | - |
Fetch Items-for-Item Recommendations (Collaborative/BPR Method)
APPName_item_item_rec_pipelines_bpr.json
file.
APPName
with the name of your Fusion app, such as ProductCatalog_item_item_rec_pipelines_bpr.json
.
APPName
with the name of your Fusion app, such as ProductCatalog
, and save it.
itemId
field and only returns the recommended itemId
values. To get the actual items, you need to make a second query to the respective catalog collection with the returned itemId
values.APPName_items_for_item_bpr_boost.json
file
APPName
with the name of your Fusion app, such as ProductCatalog_item_item_rec_pipelines_bpr.json
.APPName
with the name of your Fusion app, such as ProductCatalog
.collection
name field in the first Recommend Items for Item
stage and save the file.
5. Import the JSON file into your Fusion instance using the Query Pipelines REST API:
id=<itemId>
to be appended to the request in order to work. An example query URL to this pipeline would look like https://example-recs-fusion.com/api/query-pipelines/APPName_items_for_item_bpr_boost/collections/catalog/select?q=**:**&id=SomeItemId
BPR collaborative recommendations dataflow
Migrate Fusion Objects
Export an app | Import an app | Export an object | Import an object | Add an object to an app | |
Fusion UI | App configuration | Launcher (entire app) App configuration (combine apps) | - | - | Object Explorer |
Objects API (endpoints) | GET from export endpoint | POST to import endpoint | GET from export endpoint | POST to import endpoint | - |
Content-based recommendations dataflow
Fetch Items-for-Item Recommendations (Content-Based Method)
APPName_item_item_rec_pipelines_content.json
file.APPName
with the name of your Fusion app, such as ProductCatalog_item_item_rec_pipelines_bpr.json
.APPName
with the name of your Fusion app, such as ProductCatalog
, and save it.itemId
field and returns the recommended itemId
values. To get the actual items, you need to make a second query to the respective catalog collection with the returned itemId
values.APPName_content_boost.json
file
APPName
with the name of your Fusion app, such as ProductCatalog_item_item_rec_pipelines_bpr.json
.APPName
with the name of your Fusion app, such as ProductCatalog
.collection
name field in the first Recommend Items for Item
stage and save the file.id=itemId
to be appended to the request in order to work. An example query URL to this pipeline would look like https://example-recs-fusion.com/api/query-pipelines/APPName_items_for_user_bpr_boost/collections/catalog/select?q=**:**&id=SomeItemId