@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
27 lines (25 loc) • 584 B
text/typescript
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;
}