PromtEngineer / localGPT-Vision

Chat with your documents using Vision Language Models. This repo implements an End to End RAG pipeline with both local and proprietary VLMs
334 stars 65 forks source link

openai gpt-4-vision-preview deprecated #3

Closed deadsunrise closed 1 week ago

deadsunrise commented 1 week ago

While trying the openai api I get the following message:

An error occurred while processing the images: Error code: 404 - {'error': {'message': 'The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

PromtEngineer commented 1 week ago

The code was using older gpt-4, pushed an update. This should work with gpt-4o now.

deadsunrise commented 1 week ago

Thanks, I should have made the change since I fixed it myself locally. It's working quite well with gpt-4o, local models don't give very good results but we can keep improving. Cheers