UNPKG

jeanmemory-node

Version:

Node.js SDK for Jean Memory - Build personalized AI chatbots for backend applications

21 lines 633 B
interface JeanAgentConfig { apiKey?: string; systemPrompt?: string; model?: string; } export declare class JeanAgent { private config; constructor(config: JeanAgentConfig); /** * Process a message with Jean Memory context enhancement */ process(message: string, userToken: string): Promise<any>; /** * Create Next.js API route handler */ createHandler(): (req: any, res: any) => Promise<any>; private getUserFromToken; } export declare function createJeanHandler(config: JeanAgentConfig): (req: any, res: any) => Promise<any>; export {}; //# sourceMappingURL=index.d.ts.map