Interface ImportOptions

Options for importing memory data via Memory.import().

interface ImportOptions {
    format?: "auto" | "json" | "markdown" | "sqlite" | "csv" | "obsidian" | "chatgpt";
    dedup?: boolean;
}

Properties

Properties

format?: "auto" | "json" | "markdown" | "sqlite" | "csv" | "obsidian" | "chatgpt"

Source format of the import file.

  • 'auto' – detect from file extension / magic bytes.
  • 'sqlite' – AgentOS SQLite export.
  • 'json' – newline-delimited JSON export.
  • 'markdown' – parse headings as trace content.
  • 'obsidian' – Obsidian vault (wiki-links become graph edges).
  • 'chatgpt' – ChatGPT conversation export (conversations.json).
  • 'csv' – flat CSV with content column.

Default

'auto'
dedup?: boolean

Whether to skip importing traces whose content hash already exists in the store, preventing duplicates on repeated imports.

Default

true