Data extraction utility for dynamic recommendations in IBM Product Recommendations

The Intelligent Offer data extraction utility is a command-line utility that we can use to create the Enterprise Product Report (EPR) data for dynamic recommendations required by . The utility extracts catalog data from the database and generates ECDF and EPCMF files in the correct format to load into IBM Product Recommendations. We can provide these two files to IBM Product Recommendations regularly for processing dynamic recommendations. The IBM Product Recommendations data extraction utility generates two CSV (comma-separated value) file types that contain the catalog data for each IBM Digital Analytics client ID:


Sample of the generated EPCMF file

This sample shows the catalog entry data that the utility extracts for the EPCMF file:

This file contains up to 55 columns:


Sample of the generated ECDF file

This sample shows the catalog hierarchy data that the utility extracts for the ECDF file:

The five columns in this file contain mandatory data that IBM Product Recommendations requires:


Configuration files for the IBM Product Recommendations data extraction utility

The IBM Product Recommendations data extraction utility uses three types of configuration files. Samples are provided, but we must update the samples with configuration information specific to the site and environment. These configuration files are based on the Data Load utility configuration files, but they include some extensions.


Use the utility in different environments

The data extraction utility for IBM Product Recommendations can be run in the staging and production environments. However, we are recommended to run the utility in an environment that has all of the information required. For example, the staging environment might not have inventory or pricing information. In this case, run the utility on the production environment.

We can generate the CSV files in your staging environment to load into your IBM Product Recommendations test environment. We can also generate the CSV files in the production environment to load into your IBM Product Recommendations production environment. The utility is not intended to be run in the development environment. Support is provided in the development environment with a Derby database for customization purposes only. For example, when we are testing changes to the business object configuration file to include custom catalog entry attributes for the EPCMF file.