@pouchy_ai/companion-sdk - v0.63.0
    Preparing search index...

    Interface RememberDedup

    What the server's write-time near-duplicate match did with a remember() (0.60.0; the wire has carried it since the M-05b release). Always present on a successful write. matched: true means the fact was MERGED into an existing row — cloudId then names that row, not a new one — so two different writes can legitimately answer the same id; revived says the merged-into row had been decay-archived and is live again. skipped says why no match was attempted, or (target-vanished) why a match that was found did not merge and a fresh row was minted instead. Typed optional so a server behind this SDK cannot fail a consumer that reads it.

    interface RememberDedup {
        matched: boolean;
        revived?: boolean;
        similarity?: number;
        skipped?:
            | "disabled"
            | "opted-out"
            | "no-embedding"
            | "index-unavailable"
            | "target-vanished";
        threshold: number;
    }
    Index
    matched: boolean
    revived?: boolean
    similarity?: number

    Cosine similarity of the row merged into (present only when matched).

    skipped?:
        | "disabled"
        | "opted-out"
        | "no-embedding"
        | "index-unavailable"
        | "target-vanished"
    threshold: number

    The threshold the match ran against.