UNPKG

trieve-search-component

Version:

The easiest way to get up and running in your app using trieve search.

18 lines 543 B
import { RecommendationsConfig } from "./Recommendations"; export type RecommendationsChunk = { score: number; chunk: { id: string; link: string; created_at: string; chunk_html: string; metadata: Record<string, any>; image_urls: string[]; }; }; export declare const useRecommendations: (config: RecommendationsConfig) => { status: "error" | "loading" | "success"; results: RecommendationsChunk[]; error: string | null; }; //# sourceMappingURL=use-recommendations.d.ts.map