Forum Discussion

HarshitS1820's avatar
HarshitS1820
Copper Contributor
Jun 21, 2024

Azure Open AI

Hi Team, I have been trying to use gpt-4o capability on azure open-ai to pass base64 encoded image. But I m getting this response: 

 {"requestPayload":null,"meta":{"blocking":true},"status":"completed","planId":"38334edf2b3242102d79fa97ce91bf37","capabilities":{"35070ec3fbb68e5007e5f69605efdc04":{"provider":"Azure OpenAI","response":"The provided JSON contains a structure with two main elements: a text prompt and an image URL. The text prompt asks, \"What’s in this image?\" and the image URL is encoded in base64 format. However, the base64 string for the image is incomplete and appears to be corrupted or truncated.\n\nTo properly analyze the image, the complete base64 string is required. If you can provide the full base64 string, I can help you decode and analyze the image. Alternatively, you can upload the image to a file-sharing service and provide the link.","logId":"7b40eb2b3b32c210f27a3c8c24e45ae1","status":"success"}},"startedAt":"2024-06-21 03:38:59","completedAt":"2024-06-21 03:39:07","transactionId":"e5564919-b644-43fb-b0ba-a2bc60016513","message":null}

 I have ensured the image URL is correct and contains correct base64 value but still its not working. What could be the issue?

No RepliesBe the first to reply

Resources