Raw schema
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"guide",
"clip_score",
"fid_score",
"vqa_accuracy",
"pipeline"
],
"description": "guide (default) = reference thresholds/interpretation. clip_score/fid_score/vqa_accuracy = compute that metric. pipeline = run all three."
},
"metric": {
"type": "string",
"enum": [
"clip_score",
"fid",
"vqa_accuracy",
"all"
],
"description": "[guide only] Metric to explain."
},
"score": {
"type": "number",
"description": "[guide only] Optional score value to interpret."
},
"image_url": {
"type": "string",
"description": "[clip_score/vqa_accuracy] Public URL of the image."
},
"text": {
"type": "string",
"description": "[clip_score only] Text description to compare against the image."
},
"image_base64": {
"type": "string",
"description": "[clip_score/vqa_accuracy] Base64-encoded image data."
},
"image_mime_type": {
"type": "string",
"description": "[clip_score/vqa_accuracy] MIME type for base64 image."
},
"system_prompt": {
"type": "string",
"description": "[vqa_accuracy] Optional system prompt."
},
"model": {
"type": "string",
"description": "[vqa_accuracy] VLM model ID (default: gpt-4o)."
},
"api_key": {
"type": "string",
"description": "[vqa_accuracy] Your API key for the provider (BYOK)."
},
"test_cases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"accepted_answers": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description": "[vqa_accuracy] Array of {question, accepted_answers} objects."
},
"real_images": {
"type": "array",
"items": {
"type": "string"
},
"description": "[fid_score] Array of real image URLs."
},
"generated_images": {
"type": "array",
"items": {
"type": "string"
},
"description": "[fid_score] Array of generated image URLs."
},
"clip": {
"type": "object",
"additionalProperties": true,
"description": "[pipeline] {image_url, text} for CLIP."
},
"vqa": {
"type": "object",
"additionalProperties": true,
"description": "[pipeline] VQA config object (same inputs as vqa_accuracy)."
},
"fid": {
"type": "object",
"additionalProperties": true,
"description": "[pipeline] {real_images, generated_images} for FID."
}
}
}