Miss

class Miss(val reason: MissReason, val bestSimilarity: Double?, val bestPrompt: String?, val detail: String?) : CacheLookup

No cached response was safe to serve.

Constructors

Link copied to clipboard
constructor(reason: MissReason, bestSimilarity: Double?, bestPrompt: String?, detail: String?)

Properties

Link copied to clipboard

Prompt of the closest candidate considered, or null when the scope was empty.

Link copied to clipboard

Similarity of the closest candidate considered, or null when the scope was empty.

Link copied to clipboard

Human-readable explanation — for a guard rejection, which guard fired and why.

Link copied to clipboard

Why nothing was served.

Functions

Link copied to clipboard
open override fun toString(): String