/gorse-js

TypeScript SDK for gorse recommender system

Primary LanguageTypeScriptApache License 2.0Apache-2.0

gorse.js

TypeScript SDK for Gorse recommender system.

CI

Install

  • Install with npm:
npm install gorsejs
  • Install with yarn:
yarn add gorsejs

Usage

Create a client by the entrypoint and api key.

import { Gorse } from "gorsejs";

const client = new Gorse({
  endpoint: "http://127.0.0.1:8087",
  secret: "api_key",
});

const reccomends = await client.getRecommend({userId: 'zhenghaoz'})