evaluate

abstract fun evaluate(query: String, candidate: String, candidateResponse: String): GuardVerdict

Judges serving candidateResponse, cached for candidate, in answer to query.

Return

GuardVerdict.Reject only with a concrete reason; GuardVerdict.Accept otherwise.


open override fun evaluate(query: String, candidate: String): GuardVerdict

Abstains. A response-aware guard shown only the two prompts has nothing it can say that the prompt-side guards have not already said.