MemoGrafter
Constructor
Create the session-oriented core API.
What it does
Create the session-oriented core API.
The constructor wires the dependencies used by the MemoGrafter APIs on the pages in this group.
Signature
TypeScript
new MemoGrafter(config: MemoGrafterConfig): MemoGrafterConfiguration
config (MemoGrafterConfig) — Provider, storage, and memory behavior used by the new instance.Example
example.ts
const memo = new MemoGrafter({ db, llm, embedder });