Skip to main content

Notifications

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:
  • Udayan008 Profile Picture
    Udayan008 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
    Vinoth Selvam 1,161 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,161

Leaderboard

Featured topics