Hi Uralstech
Here is the analysis and suggestion based on the errors you encountered:
Analysis
It seems you have used File search mode. Upload an image to vector store and have used file search mode.
- Purpose "vision" is not valid: It seems that the purpose tag "vision" is not supported. Please check the supported purpose tags here.
- "gpt-4o-2024-11-20 does not support image message content types: The model "gpt-4o-2024-11-20" does not support image message content types such as .jpg and .png directly in assistants with file search mode. These formats are supported in code interpreter mode.
- File search mode does not support png or jpg: The file search mode does not support image formats like .png or .jpg. For more information, you can refer to Supported file types documentation for file search
Remedial
1.Please use Code interpreter documentation to interact with images, Debugging and asking advisory on code images.
Attached screenshot from code interpreter trials with gpt-4-vision (version:turbo-2024-04-09) for reference. Prompt given here was - "Could you analyze the attached image and tell whether Functions/Tools is supported for O1 preview models"
2.To interact with images and get the any other desired behavior, you might need to use a custom function that utilizes an image-enabled model.
Hope it helps.
Thank you