UNPKG

react-native-local-gen-ai

Version:

Local generative ai capabilities using mediapipe in react native

15 lines 489 B
import type { TurboModule } from 'react-native'; export interface Spec extends TurboModule { chatWithLLM(prompt: string): Promise<string>; setModelPath(path: string): Promise<string>; setModelOptions(options: { modelPath?: string; maxTokens?: number; topK?: number; temperature?: number; randomSeed?: number; }): Promise<string>; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeLocalGenai.d.ts.map