Valid CSV
Objective Validates if the text is in a proper CSV format, ensuring data integrity.
Interpretation A higher score indicates the text is not valid CSV. A lower (or zero) score indicates the response is valid CSV.
Code Execution
Example
Prompt: “Provide a CSV of three fruit names and their colors.”
Context: “The CSV must have two columns: Fruit,Color.”
Response:
Metric Output:
{"score": 1, "reason": "Invalid CSV format (missing comma in second line)."}
Last updated
Was this helpful?