UNPKG

baseai

Version:

The Web AI Framework Dev - BaseAI.dev

20 lines (18 loc) 612 B
#!/usr/bin/env node type LogCategories = 'pipe' | 'pipe.completion' | 'pipe.request' | 'pipe.response' | 'tool' | 'tool.calls' | 'memory' | 'memory.similarChunks' | 'memory.augmentedContext'; type NestedCategories = { [key in LogCategories]?: boolean | NestedCategories; }; type LoggerConfig = { isEnabled: boolean; logSensitiveData: boolean; } & NestedCategories; interface MemoryConfig { useLocalEmbeddings: boolean; } interface BaseAIConfig { log: LoggerConfig; memory: MemoryConfig; envFilePath: string; } export type { BaseAIConfig, LogCategories, LoggerConfig, MemoryConfig };