Interface ExportOptions

Options for exporting the memory store via Memory.export().

interface ExportOptions {
    format?: "json" | "markdown" | "sqlite" | "obsidian";
    includeEmbeddings?: boolean;
    includeConversations?: boolean;
}

Properties

format?: "json" | "markdown" | "sqlite" | "obsidian"

Serialisation format for the export artifact.

  • 'sqlite' – copy of the SQLite file (binary).
  • 'json' – newline-delimited JSON of all traces.
  • 'markdown' – human-readable Markdown summary.
  • 'obsidian' – Obsidian vault with one note per trace and wiki-links.

Default

'json'
includeEmbeddings?: boolean

Whether to include raw embedding vectors in the export. Embeddings dramatically increase file size but allow round-trip import without re-embedding.

Default

false
includeConversations?: boolean

Whether to include conversation turn traces in the export.

Default

true