Hi,
I am trying to use an AI-builder prompt in a section of a Microsoft Copilot agent.
In this prompt, one of the inputs is a PDF document. I tested the prompt with the document in question, and it works.
However, when I test the section, I get an error message:
Error Message: The prompt 'analyze document' ('227b2625-3b3c-47ec-ad6b-a33d0211b211') failed to execute with response code '400'.
Error Code: AIModelActionBadRequest
Conversation ID: f8daea17-3460-4f8c-b5b1-7e795c42ec11
Time (UTC): 2024-12-11T16:00:15.157Z
I encounter this error regardless of how I try to submit the document (e.g., dropping it into the chat, using get_file_content
in SharePoint...).
Could you please help me?
Thank you in advance."