Evalkeeper
    Preparing search index...

    Type Alias JudgmentCache

    Where a judge's answers are kept, so the same question is never paid for twice. prismaJudgmentCache keeps them in the EvalJudgment table.

    type JudgmentCache = {
        get(key: string): Promise<unknown>;
        set(key: string, value: unknown, model: string): Promise<void>;
    }
    Index
    • Parameters

      • key: string
      • value: unknown
      • model: string

      Returns Promise<void>