I tried to evaluate the images, but got an error 500 during client.evals.runs.create().
It might be the image issue. I uploaded it as a file and use file id: "file:file-123456789" in JSONL:
{"image_1":"file:file-123456789","expected_output":"CAT|DOG"}
Can it be the JSONL with the file ID issue or something else? Thanks for the hint.
Here is data_source, in case:
data_source={
"type": "responses",
"model": "gpt-4.1",
"input_messages": {
"type": "template",
"template": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": (
"# Analysis Instructions\n"
"Return ONLY a single line in the exact format:\n"
"CAT|DOG\n"
),
},
{"type": "input_image", "image_url": "{{ item.image_1 }}"},
],
}
],
},
"source": {"type": "file_id", "id": DatasetJSONLId )},
},