PromptPair

data class PromptPair(val a: String, val b: String, val shouldMatch: Boolean, val label: String? = null)

Two prompts and a verdict on whether one's cached answer may serve the other.

Parameters

shouldMatch

true when serving a's cached response to b is correct.

label

optional grouping tag, echoed back in reports — entity-swap, paraphrase, and so on — so you can see which kind of pair a threshold is getting wrong.

Constructors

Link copied to clipboard
constructor(a: String, b: String, shouldMatch: Boolean, label: String? = null)

Properties

Link copied to clipboard
val a: String
Link copied to clipboard
val b: String
Link copied to clipboard
Link copied to clipboard