UNPKG

@sconedev/ai_toolkit

Version:

Simplify AI integration in web apps with local and offline model support

14 lines (13 loc) 312 B
interface Config { provider: string; apiKey: string; model?: string; onRequest?: (data: { provider: string; function: string; input: any; }) => void; } export declare function configure(newConfig: Config): void; export declare function getConfig(): Config; export {};