langchain.js
    Preparing search index...

    Type Parameters

    • V = unknown

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    serde: SerializerProtocol = ...

    Methods

    • Delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.

      Parameters

      Returns Promise<void>

    • Set the cached values for the given keys and TTLs.

      Parameters

      • pairs: { key: CacheFullKey; ttl?: number; value: V }[]

        The pairs to set.

      Returns Promise<void>