Configuration for FileVectorStore

interface FileVectorStoreConfig {
    basePath: string;
    writeSummaries?: boolean;
    format?: "json" | "binary";
}

Properties

basePath: string

Base directory path for storing files. Structure: basePath/vectors.json + basePath/summaries/*.md

writeSummaries?: boolean

Whether to write human-readable markdown summaries. These can be exposed to users for transparency. Default: true

format?: "json" | "binary"

Storage format for vectors.

  • "json": Human-readable JSON (default, larger files)
  • "binary": Compact Float32 binary (smaller, faster)