ShadowDecision
class ShadowDecision(val threshold: Double, val wouldHit: Boolean, val reason: MissReason?, val bestSimilarity: Double?, val matchedPrompt: String?, val guardName: String?)
What one threshold would have decided, and why.
Properties
Link copied to clipboard
Similarity of the closest candidate considered, or null when the scope was empty.
Link copied to clipboard
The guard that vetoed, when reason is MissReason.REJECTED_BY_GUARD.
Link copied to clipboard
The prompt that would have been served, or that was refused. null when the scope was empty.
Link copied to clipboard
Why nothing would have been served, or null when wouldHit is true.