web-ai-toolkit
Version:
AI powered features on the web made easy
14 lines (7 loc) • 544 B
TypeScript
export declare function classifyImage(image: Blob, model?: string): Promise<any>;
export declare function doRAGSearch(texts: string[], query: string): Promise<any>;
export declare function ocr(image: Blob, model?: string): Promise<any>;
export declare function summarize(text: string, options?: any): Promise<any>;
export declare function textToSpeech(text: string): Promise<any>;
export declare function transcribeAudioFile(audioFile: Blob, model?: string, timestamps?: boolean, language?: string): Promise<any>;
export { }