From e1a0cc23efe78757d1ba34ff453f8e3238b1b432 Mon Sep 17 00:00:00 2001 From: Martin Zanoni Date: Wed, 18 Jan 2023 09:29:24 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b890b5..419f292 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ function getUser() { : UserFactory.anonymous(); } +const recommender = new Recommender(`RELEWISE_DATASET_ID`, `RELEWISE_API_KEY`) const enhancer = createRelewiseEnhancer({ - apiKey: process.env.RELEWISE_API_KEY!, - datasetId: process.env.RELEWISE_DATASET_ID!, + recommender, dataKeys: { products: ['ImageUrl', 'ShortDescription'], contents: ['url'] }, language: 'en-US', currency: 'USD',