QuestionQ88
VerifiedImplement generative AI and agentic solutionsYou have a web app named App1 that sends requests to a multimodal chat model deployment in a Microsoft Foundry project.
User messages can contain both text and images.
Currently, App1 embeds the image URL as plain text within the message content, so the model cannot recognize it as an image.
Traces show that the requests contain a single text message rather than a multimodal content array.
You need to send the message as a structured array that includes both the text portion and the image reference, so that the model can process the image correctly.
What should you do?
Community Discussion