Interface IngestResult

Summary of a completed ingestion run returned by Memory.ingest().

interface IngestResult {
    succeeded: string[];
    failed: {
        path: string;
        error: string;
    }[];
    chunksCreated: number;
    tracesCreated: number;
}

Properties

succeeded: string[]

Absolute paths of all files that were successfully ingested.

failed: {
    path: string;
    error: string;
}[]

Files that could not be ingested, with per-file error messages.

Type declaration

  • path: string
  • error: string
chunksCreated: number

Total number of document chunks created and stored.

tracesCreated: number

Total number of new memory traces created from the ingested content.