15 lines
428 B
JavaScript
15 lines
428 B
JavaScript
import { importMemind } from './lib-path.mjs';
|
|
|
|
export async function initializePersonalMemoryCandidateStore(
|
|
pool,
|
|
{ importMemindModule = importMemind } = {},
|
|
) {
|
|
const {
|
|
createPersonalMemoryCandidateStore,
|
|
ensurePersonalMemoryCandidateSchema,
|
|
} = await importMemindModule('memory-v2-personal-store.mjs');
|
|
|
|
await ensurePersonalMemoryCandidateSchema(pool);
|
|
return createPersonalMemoryCandidateStore(pool);
|
|
}
|