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