Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mzanoni committed Jan 19, 2023
2 parents 2a17341 + e1a0cc2 commit 020138c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 020138c

Please sign in to comment.