UNPKG

semem

Version:

Semantic Memory for Intelligent Agents

10 lines (8 loc) 304 B
// Utility: Load and parse ragno-config.json import fs from 'fs/promises'; import path from 'path'; export default async function loadRagnoConfig() { const configPath = path.resolve('config/ragno-config.json'); const data = await fs.readFile(configPath, 'utf-8'); return JSON.parse(data).ragno; }