langchain.js
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    serde: SerializerProtocol = ...
    storage: Record<
        string,
        Record<
            string,
            Record<string, [Uint8Array, Uint8Array, string | undefined]>,
        >,
    > = {}
    writes: Record<string, Record<string, [string, string, Uint8Array]>> = {}

    Methods

    • Delete all checkpoints and writes associated with a specific thread ID.

      Parameters

      • threadId: string

        The thread ID whose checkpoints should be deleted.

      Returns Promise<void>

    • Parameters

      • config: RunnableConfig

      Returns Promise<undefined | Checkpoint<string, string>>

    • Generate the next version ID for a channel.

      Default is to use integer versions, incrementing by 1. If you override, you can use str/int/float versions, as long as they are monotonically increasing.

      Parameters

      • current: undefined | number

      Returns number

    • Store intermediate writes linked to a checkpoint.

      Parameters

      Returns Promise<void>