Does the model `gpt-4-vision-preview` have function calling?

I am trying to have the vision model evaluate an image and then based off of its conclusion it will call a function. But I am getting this error:

openai.BadRequestError: Error code: 400 - {'error': {'message': '2 validation errors for Request\nbody -> function_call\n  extra fields not permitted (type=value_error.extra)\nbody -> functions\n  extra fields not permitted (type=value_error.extra)', 'type': 'invalid_request_error', 'param': None, 'code': None}}

Which is causing me to think that it does not support function calling.

2 Likes

Upon further research the model gpt-4-vision-preview does not support function calling: