web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Agent is not accepting...
Copilot Studio
Unanswered

Agent is not accepting File as a input and pass it to GTP 4 model.

(1) ShareShare
ReportReport
Posted on by 4
I have a topic which accepting files as input and passing it to GTP4 model. But looks like topic is not accepting file as input. I am using 'Test your agent facility' to upload files but file is not getting passed to GTP4 model.
 
Here is the error 
Error Message: The prompt 'JDvsCV' ('fbb14c8e-1a7b-49f0-9a78-7ea62e5c3cfc') failed to run with response code '400'. Error Code: AIModelActionBadRequest Conversation Id: 7c6af0e9-b8f1-4bd2-9b5c-03da127bb213 Time (UTC): 2024-12-18T16:35:56.179Z
 
Please see the attachment. 
 
 
I have the same question (0)
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,590 Super User 2025 Season 2 on at
    Agent is not accepting File as a input and pass it to GTP 4 model.
     
    Confirm whether the GPT-4 model being invoked supports file input directly. GPT models generally expect text input only.
     
    As per my understanding, file upload is not possible.

    Since direct file handling is not supported, we need to use Power Automate or Azure Functions to handle file uploads.

    Later Extract file content and send the extracted text to the GPT-4 model through the Copilot Studio topic.

     
    Thanks.
  • Udayan008 Profile Picture
    4 on at
    Agent is not accepting File as a input and pass it to GTP 4 model.
     
    GPT 4 is multi module , it accept file as input and. I have tested the model and its working fine. Main issue is passing file from Copilot to model.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 274 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 257 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 82 Super User 2025 Season 2

Last 30 days Overall leaderboard