Ask a question to get started
Enter to send•Shift+Enter new line
JsonValidityEvaluator( self, **_: Any = {}, )
StringEvaluator
Evaluate Chain or LLM output, based on optional input and label.
Asynchronously evaluate Chain or LLM output, based on optional input and label.
Evaluate whether the prediction is valid JSON.
This evaluator checks if the prediction is a valid JSON string. It does not require any input or reference.