Class BaseCache<T>Abstract

Base class for all caches. All caches should extend this class.

Type Parameters

Hierarchy

Constructors

Methods

Constructors

Methods

  • Parameters

    • prompt: string
    • llmKey: string

    Returns Promise<null | T>

  • Parameters

    • prompt: string
    • llmKey: string
    • value: T

    Returns Promise<void>

Generated using TypeDoc