UNPKG

tiny-ai-api

Version:

A customizable and extensible client api for managing conversations and AI interactions, currently supporting the **Google Gemini** API — with flexibility to support any similar AI APIs.

16 lines (15 loc) 482 B
declare class TinyAiInstance { cache: {}; _insertServerCache: any; _getServerCache: any; _createContentData(data: any): { contents: never[]; }; _insertCache(name: any, data: any): any; getCache(name: any): any; _setInsertServerCache(value: any): void; insertServerCache(name: any, data: any): any; _setGetServerCache(value: any): void; #private; } declare function getFicCache(id: any, instructionId: any, newContent: any): void;