UNPKG

gorsejs

Version:

TypeScript SDK for Gorse recommender system.

6 lines 664 B
import { AxiosInstance } from "axios"; import { Feedback, Score, LatestOptions, RecommendOptions, SessionRecommendOptions } from "../interfaces"; export declare function getLatest(axios: AxiosInstance, { category, cursorOptions }: LatestOptions): Promise<Score[]>; export declare function getRecommend(axios: AxiosInstance, { userId, category, cursorOptions, writeBackType, writeBackDelay, }: RecommendOptions): Promise<string[]>; export declare function getSessionRecommend<T extends string>(axios: AxiosInstance, feedbackList: Feedback<T>[] | undefined, { category, cursorOptions }: SessionRecommendOptions): Promise<any>; //# sourceMappingURL=recommend.d.ts.map