@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
12 lines (11 loc) • 525 B
TypeScript
import { ResponseSpec, AnalysisParams, AnalysisStatus, UserQueryMatch } from '../types';
declare const _default: (apiUrl: string) => {
analyzeUserQuery: (authToken: string, memoriID: string, params: AnalysisParams) => Promise<ResponseSpec & {
status: AnalysisStatus;
}>;
getUserQueryMatches: (authToken: string, analysisID: string, from: number, howMany: number, threshold?: number) => Promise<ResponseSpec & {
count: number;
matches: UserQueryMatch[];
}>;
};
export default _default;