I am not able to perform inference on images after adding data sources to Azure GPT Vision models (GPT-4). Previously, I was able to do it.

Sreeja B 0 Reputation points
2024-08-28T12:21:21.6533333+00:00

I set up RAG using files available in Azure Blob Storage and did the same with Azure Search. However, after adding data sources, I am not able to provide an image as input for inference. I am getting the following error: openai.BadRequestError: Error code: 400 - {'error': {'requestid': '****************', 'code': 400, 'message': 'Invalid chat message detected: message content must be string'}}

I am using Azure GPT-4o. It was working last month. Now, in the chat playground as well , if we attach a data source, the attachment icon is missing in the chat window.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,916 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.