TypeScript SDK for Gorse recommender system.
- Install with npm:
npm install gorsejs
- Install with yarn:
yarn add gorsejs
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'})