UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

26 lines (25 loc) 629 B
export interface ILogger { debug(message: string, meta?: any): void; info(message: string, meta?: any): void; warn(message: string, meta?: any): void; error(message: string, meta?: any): void; } export interface PromptDefinition { name: string; description: string; template: string; responseFormat: string; tools: Record<string, any>; priority?: number; config?: { temperature?: number; max_tokens?: number; model?: string; provider?: string; }; } export interface HistoryEntry { request: string; response: string; timestamp: number; }