Gibberish Check
Objective This metric identifies and filters out nonsensical or incoherent responses, ensuring high-quality outputs.
Interpretation A higher score indicates that the response contains gibberish or incoherence. A lower (or zero) score indicates the response is coherent.
Code Execution
Example
Prompt: “Explain how photosynthesis works.”
Context: “Photosynthesis is the process by which plants convert sunlight into chemical energy.”
Response: “Blarg foo sunlight munch munch!”
Metric Output:
{"score": 1, "reason": "Response is incoherent or nonsensical."}
Last updated
Was this helpful?