MissReason

Why a CacheLookup.Miss happened.

Entries

Link copied to clipboard

Nothing has been cached in this scope yet.

Link copied to clipboard

The closest entry scored below the configured threshold. Lower it, or accept the miss.

Link copied to clipboard

A candidate cleared the threshold but a dev.kmemo.guard.MatchGuard vetoed it. This is the cache doing its job: the embedding said "close enough", the guard found a concrete reason the answers would differ.

Link copied to clipboard

A candidate cleared threshold and guards, but the configured Verifier rejected it.

Link copied to clipboard

A candidate cleared the threshold but was written by a different Embedder.identity, so its similarity was never a real number and the entry was refused unscored.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.