UNPKG

ai-persona-hub

Version:

AI Profile CLI - Create custom AI profiles run against dynamic LLM providers

51 lines 1.16 kB
export type AIProvider = 'openai' | 'anthropic' | 'google'; export interface AIProfile { id: string; name: string; systemPrompt: string; maxTokens?: number; createdAt: string; lastUsed?: string; } export interface ChatMessage { role: 'user' | 'assistant' | 'system'; content: string; } export interface ConversationState { profileId: string; messages: ChatMessage[]; } export interface AIConfig { provider: AIProvider; model: string; maxTokens?: number; } export interface ProviderConfig { openai?: { apiKey: string; }; anthropic?: { apiKey: string; }; google?: { apiKey: string; }; } export interface ConversationMetadata { id: string; profileId: string; startedAt: string; lastMessageAt: string; messageCount: number; } export interface ChatHistory { profileId: string; userMessages: string[]; lastUpdated: string; } export interface SavedConversation { metadata: ConversationMetadata; messages: ChatMessage[]; } export declare const PROVIDER_MODELS: Record<AIProvider, string[]>; //# sourceMappingURL=index.d.ts.map