Found some minor syntax errors in the python code snippets for the assistants API documentation
Parenthesis used instead of curly brackets here:
Low Fidelity and Image Understanding
{ "type": "image_file", "image_file": ("file_id": file.id) # here }
should be:
{
"type": "image_file",
"image_file": {"file_id": file.id} # changed braces
}
and then,
Missing comma:
Creating Image Input Content
"image_url": { "url": "https://example.com/image.png" # here "detail": "high" }
should be:
"image_url": {
"url": "https://example.com/image.png", # added comma
"detail": "high"
}
Yea, that’s why they pay me the big bucks. (they don’t)
