langchain.js
    Preparing search index...

    Class BaseCheckpointSaver<V>Abstract

    Type Parameters

    • V extends string | number = number

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    serde: SerializerProtocol = ...

    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 | V

      Returns V

    • Parameters

      • config: RunnableConfig

      Returns Promise<undefined | CheckpointTuple>

    • Store intermediate writes linked to a checkpoint.

      Parameters

      Returns Promise<void>