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 :
Copilot Studio - Building Copilot Studio Chatbo...
Suggested answer

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. 
 
 
Categories:
I have the same question (0)
  • 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.
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,565 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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 146 Super User 2025 Season 2

#3
Romain The Low-Code Bearded Bear Profile Picture

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

Last 30 days Overall leaderboard

Featured topics